Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Please fix the following installer errors
- Install procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/exclusive-hover-effects/framework/includes/wpalchemy/MetaBox.php+61
Methods with the same name as their class will not be constructors in a future version of PHP; WPAlchemy_MetaBox has a deprecated constructor
Server metrics [RAM: ▲0.14MB] [CPU: ▲0.38ms] Passed 4 tests
Analyzing server-side resources used by Exclusive Hover effects
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.14 | 45.47 ▲5.31 |
Dashboard /wp-admin | 3.47 ▲0.16 | 45.88 ▼0.54 |
Posts /wp-admin/edit.php | 3.52 ▲0.16 | 43.05 ▼3.31 |
Add New Post /wp-admin/post-new.php | 6.16 ▲0.27 | 90.14 ▲0.05 |
Media Library /wp-admin/upload.php | 3.33 ▲0.10 | 41.24 ▲7.76 |
Add New /wp-admin/post-new.php?post_type=exclusiveffects | 3.55 | 49.49 |
exeffects Category /wp-admin/edit-tags.php?taxonomy=exclusiveffects_cat&post_type=exclusiveffects | 3.46 | 36.15 |
exeffects /wp-admin/edit.php?post_type=exclusiveffects | 3.37 | 35.27 |
Server storage [IO: ▲3.36MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 223 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for Exclusive Hover effects
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,961 ▲226 | 13.78 ▼0.39 | 10.12 ▲8.44 | 42.08 ▼9.58 |
Dashboard /wp-admin | 2,237 ▲46 | 5.84 ▲0.95 | 95.92 ▼5.27 | 41.75 ▼1.94 |
Posts /wp-admin/edit.php | 2,120 ▲31 | 2.06 ▲0.04 | 34.03 ▼8.68 | 31.25 ▼4.48 |
Add New Post /wp-admin/post-new.php | 2,099 ▲577 | 23.40 ▲0.22 | 604.11 ▼59.46 | 44.78 ▼15.79 |
Media Library /wp-admin/upload.php | 1,422 ▲31 | 4.23 ▲0.01 | 91.01 ▼7.33 | 41.62 ▼4.08 |
Add New /wp-admin/post-new.php?post_type=exclusiveffects | 2,392 | 3.80 | 71.17 | 91.54 |
exeffects Category /wp-admin/edit-tags.php?taxonomy=exclusiveffects_cat&post_type=exclusiveffects | 1,293 | 2.14 | 25.86 | 27.83 |
exeffects /wp-admin/edit.php?post_type=exclusiveffects | 1,101 | 1.93 | 29.90 | 27.93 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Please fix the following server-side errors
- 5 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=exclusiveffects
- > Warning in wp-content/plugins/exclusive-hover-effects/framework/includes/wpalchemy/MetaBox.php+2657
count(): Parameter must be an array or an object that implements Countable
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The following issues need your attention
- 118× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'VP_View' not found in wp-content/plugins/exclusive-hover-effects/framework/views/control/select.php:1
- > PHP Warning
Use of undefined constant VP_NAMESPACE - assumed 'VP_NAMESPACE' (this will throw an Error in a future version of PHP) in wp-content/plugins/exclusive-hover-effects/framework/autoload.php on line 13
- > PHP Fatal error
Uncaught Error: Call to a member function get_menus() on null in wp-content/plugins/exclusive-hover-effects/framework/views/option/menu.php:1
- > PHP Notice
Undefined variable: is_compact in wp-content/plugins/exclusive-hover-effects/framework/views/control/radiobutton.php on line 1
- > PHP Fatal error
Uncaught Error: Class 'VP_Control_FieldMulti' not found in wp-content/plugins/exclusive-hover-effects/framework/classes/control/field/select.php:3
- > PHP Fatal error
Uncaught Error: Class 'VP_View' not found in wp-content/plugins/exclusive-hover-effects/framework/views/control/toggle.php:1
- > PHP Warning
Use of undefined constant VP_PUBLIC_URL - assumed 'VP_PUBLIC_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/exclusive-hover-effects/framework/config/dependencies.php on line 188
- > PHP Notice
Undefined variable: is_compact in wp-content/plugins/exclusive-hover-effects/framework/views/control/checkbox.php on line 1
- > PHP Fatal error
Uncaught Error: Class 'VP_Util_Res' not found in wp-content/plugins/exclusive-hover-effects/framework/views/control/template_control_foot.php:2
- > PHP Warning
Use of undefined constant VP_PUBLIC_URL - assumed 'VP_PUBLIC_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/exclusive-hover-effects/framework/config/dependencies.php on line 72
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Please fix the following user-side errors
- > GET request to /wp-admin/post-new.php?post_type=exclusiveffects
- > Javascript (severe) in unknown
/wp-content/plugins/exclusive-hover-effects/framework/public/js/vendor/jquery.tipsy.js?ver=1.0.0a 179:24 Uncaught TypeError: this[binder] is not a function
- > GET request to /wp-admin/post-new.php?post_type=exclusiveffects
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=6.3.1 1:28609 "jQuery.Deferred exception: vp.init_ace_editor is not a function" "TypeError: vp.init_ace_editor is not a function\n at vp.init_controls (/wp-content/plugins/exclusive-hover-effects/framework/public/js/shared.min.js?ver=1.1:1:18433)\n at HTMLDivElement.\u003Canonymous> (/wp-content/plugins/exclusive-hover-effects/framework/public/js/metabox.min.js?ver=6.3.1:1:975)\n at Function.each (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=6.3.1:2:3129)\n at e.\u003Ccomputed>.each (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=6.3.1:2:1594)\n at e (/wp-content/plugins/exclusive-hover-effects/framework/public/js/metabox.min.js?ver=6.3.1:1:915)\n at HTMLDocument.\u003Canonymous> (/wp-content/plugins/exclusive-hover-effects/framework/public/js/metabox.min.js?ver=6.3.1:1:2532)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=6.3.1:2:26990)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=6.3.1:2:27292)" undefined
- > GET request to /wp-admin/post-new.php?post_type=exclusiveffects
- > Javascript (severe) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=6.3.1 1:28721 Uncaught TypeError: vp.init_ace_editor is not a function
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need to be fixed:
- Screenshots: These screenshots require images: #1 (Adding item.), #2 (Option panel for this plugin.), #3 (Shortcode button in editor)
- Tags: Too many tags (11 tag instead of maximum 10); only the first 5 tags are used in your directory listing
exclusive-hover-effects/exclusive-hover-effects.php 92% from 13 tests
"Exclusive Hover effects" version 2.2.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
You should first fix the following items:
- Description: Keep the plugin description shorter than 140 characters (currently 246 characters long)
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
No dangerous file extensions were detected23,961 lines of code in 170 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 18 | 950 | 427 | 10,316 |
PHP | 93 | 2,361 | 2,848 | 9,155 |
JavaScript | 53 | 637 | 419 | 3,482 |
SVG | 4 | 0 | 0 | 945 |
Markdown | 1 | 19 | 0 | 62 |
JSON | 1 | 0 | 0 | 1 |
PHP code 50% from 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
The following items need your attention
- Method cyclomatic complexity has to be reduced to less than 100 (currently 102)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 21.38 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 271.00 |
Average method complexity | 3.36 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 102.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 2 | |
Traits | 0 | |
Classes | 56 | |
▷ Abstract classes | 4 | 7.14% |
▷ Concrete classes | 52 | 92.86% |
▷ Final classes | 0 | 0.00% |
Methods | 505 | |
▷ Static methods | 89 | 17.62% |
▷ Public methods | 472 | 93.47% |
▷ Protected methods | 19 | 3.76% |
▷ Private methods | 14 | 2.77% |
Functions | 32 | |
▷ Named functions | 32 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 40 | |
▷ Global constants | 37 | 92.50% |
▷ Class constants | 3 | 7.50% |
▷ Public constants | 3 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
27 PNG files occupy 0.08MB with 0.03MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
effects-pro-admin/img/Pinterest.png | 5.79KB | 2.94KB | ▼ 49.33% |
effects-pro-admin/img/Twitter.png | 5.69KB | 2.86KB | ▼ 49.79% |
framework/public/css/vendor/jqueryui/themes/smoothness/images/ui-bg_flat_75_ffffff_40x100.png | 0.17KB | 0.08KB | ▼ 51.12% |
framework/public/css/vendor/jqueryui/themes/smoothness/images/ui-icons_cd0a0a_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
effects-pro-admin/img/Facebook.png | 5.75KB | 2.86KB | ▼ 50.21% |