Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
You still need to fix the following installer errors
- This plugin did not install gracefully
- > Warning in wp-includes/functions.php+6691
file_get_contents(wp-content/plugins/breakdance/plugin.php): failed to open stream: No such file or directory
Server metrics [RAM: ▼1.96MB] [CPU: ▼54.99ms] Passed 4 tests
Server-side resources used by Elements Hive for Breakdance
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.03 ▼1.44 | 4.86 ▼31.29 |
Dashboard /wp-admin | 2.05 ▼1.26 | 6.17 ▼44.27 |
Posts /wp-admin/edit.php | 2.05 ▼1.31 | 4.80 ▼44.05 |
Add New Post /wp-admin/post-new.php | 2.05 ▼3.84 | 5.57 ▼100.36 |
Media Library /wp-admin/upload.php | 2.05 ▼1.18 | 5.18 ▼26.03 |
Server storage [IO: ▲5.91MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 137 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Elements Hive for Breakdance
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.72 ▲0.35 | 1.52 ▼0.07 | 40.24 ▲0.54 |
Dashboard /wp-admin | 2,192 ▲12 | 5.50 ▼0.17 | 83.60 ▼4.04 | 39.20 ▼1.85 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.97 ▼0.01 | 36.09 ▼1.64 | 32.62 ▼1.43 |
Add New Post /wp-admin/post-new.php | 1,532 ▲6 | 23.16 ▼0.54 | 677.71 ▲89.13 | 61.53 ▲10.10 |
Media Library /wp-admin/upload.php | 1,400 ▲3 | 4.21 ▼0.07 | 104.71 ▲8.40 | 44.79 ▲3.41 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- Uninstall procedure had uncaught errors
- > Warning in wp-includes/functions.php+6691
file_get_contents(wp-content/plugins/breakdance/plugin.php): failed to open stream: No such file or directory
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/elements-hive-for-breakdance/elements_hive_for_breakdance.php
- 36× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function ElementsHiveForBreakdance\\Extensions\\Backgrounds\\WebglKineticTypography\\add_filter() in wp-content/plugins/elements-hive-for-breakdance/extensions/backgrounds/webgl_kinetic_typography/dependencies.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function ElementsHiveForBreakdance\\Extensions\\MouseCursors\\MagneticMouseCursor\\add_filter() in wp-content/plugins/elements-hive-for-breakdance/extensions/mouse_cursors/magnetic_mouse_cursor/styles.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function ElementsHiveForBreakdance\\Extensions\\Backgrounds\\WebglKineticTypography\\add_filter() in wp-content/plugins/elements-hive-for-breakdance/extensions/backgrounds/webgl_kinetic_typography/dependencies.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function ElementsHiveForBreakdance\\Extensions\\Backgrounds\\WebglFluid\\add_filter() in wp-content/plugins/elements-hive-for-breakdance/extensions/backgrounds/webgl_fluid/styles.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function ElementsHiveForBreakdance\\Extensions\\Backgrounds\\WebglFluid\\add_filter() in wp-content/plugins/elements-hive-for-breakdance/extensions/backgrounds/webgl_fluid/dependencies.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function Breakdance\\ElementStudio\\registerElementForEditing() in wp-content/plugins/elements-hive-for-breakdance/elements/WebGL_Media_Hover_Distortion/element.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function ElementsHiveForBreakdance\\Extensions\\MouseCursors\\InkMouseCursor\\add_filter() in wp-content/plugins/elements-hive-for-breakdance/extensions/mouse_cursors/ink_mouse_cursor/styles.php:5
- > PHP Fatal error
Uncaught Error: Class 'ElementsHiveForBreakdance\\GooeyLink' not found in wp-content/plugins/elements-hive-for-breakdance/elements/Gooey_Menu_Link/element.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function ElementsHiveForBreakdance\\Extensions\\add_filter() in wp-content/plugins/elements-hive-for-breakdance/extensions/control.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function ElementsHiveForBreakdance\\Extensions\\MouseCursors\\InkMouseCursor\\add_filter() in wp-content/plugins/elements-hive-for-breakdance/extensions/mouse_cursors/ink_mouse_cursor/dependencies.php:5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
10 plugin tags: extensions, creative, webgl, transition, animation...
elements-hive-for-breakdance/elements_hive_for_breakdance.php 77% from 13 tests
"Elements Hive for Breakdance" version 1.3.5's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
It is important to fix the following:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
- Main file name: Name the main plugin file the same as the plugin slug ("elements-hive-for-breakdance.php" instead of "elements_hive_for_breakdance.php")
- Domain Path: The domain path folder was not found ("/languages/")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin66,231 lines of code in 93 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 26 | 27,702 | 3,298 | 59,266 |
PHP | 48 | 1,154 | 796 | 6,478 |
Markdown | 1 | 70 | 0 | 196 |
Twig | 11 | 21 | 0 | 184 |
CSS | 6 | 12 | 0 | 86 |
JSON | 1 | 0 | 0 | 21 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 14.21 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 82.00 |
Average method complexity | 1.64 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 13 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 14 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 14 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 292 | |
▷ Static methods | 196 | 67.12% |
▷ Public methods | 253 | 86.64% |
▷ Protected methods | 6 | 2.05% |
▷ Private methods | 33 | 11.30% |
Functions | 27 | |
▷ Named functions | 26 | 96.30% |
▷ Anonymous functions | 1 | 3.70% |
Constants | 11 | |
▷ Global constants | 5 | 45.45% |
▷ Class constants | 6 | 54.55% |
▷ Public constants | 6 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
5 PNG files occupy 0.40MB with 0.20MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/plugin/banner-772x250.png | 76.59KB | 26.04KB | ▼ 66.00% |
extensions/backgrounds/webgl_kinetic_typography/assets/images/dithering_texture.png | 6.95KB | 4.90KB | ▼ 29.47% |
extensions/backgrounds/webgl_fluid/assets/images/dithering_texture.png | 6.95KB | 4.90KB | ▼ 29.47% |
assets/images/plugin/banner-icon.png | 93.18KB | 34.65KB | ▼ 62.82% |
assets/images/plugin/banner-1544x500.png | 221.23KB | 73.86KB | ▼ 66.61% |