Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▼1.10MB] [CPU: ▼37.11ms] Passed 4 tests
Server-side resources used by Ultimate Hover Effects
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.13 | 38.01 ▼3.32 |
Dashboard /wp-admin | 2.85 ▼0.46 | 16.88 ▼29.88 |
Posts /wp-admin/edit.php | 2.85 ▼0.51 | 17.49 ▼29.78 |
Add New Post /wp-admin/post-new.php | 2.85 ▼3.04 | 17.84 ▼73.92 |
Media Library /wp-admin/upload.php | 2.85 ▼0.38 | 16.92 ▼14.86 |
Hover Effects /wp-admin/edit.php?post_type=u_hover_effect | 2.85 | 18.53 |
Add New /wp-admin/post-new.php?post_type=u_hover_effect | 2.85 | 17.74 |
Server storage [IO: ▲3.15MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 347 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Ultimate Hover Effects: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,959 ▲213 | 13.73 ▼0.65 | 12.97 ▲11.00 | 42.50 ▼1.45 |
Dashboard /wp-admin | 2,244 ▲56 | 5.90 ▲0.09 | 99.61 ▼18.31 | 37.63 ▼9.54 |
Posts /wp-admin/edit.php | 2,127 ▲38 | 2.19 ▲0.15 | 36.11 ▲0.63 | 33.33 ▼1.71 |
Add New Post /wp-admin/post-new.php | 1,544 ▲8 | 17.53 ▼5.59 | 673.34 ▲32.41 | 58.93 ▼4.24 |
Media Library /wp-admin/upload.php | 1,429 ▲41 | 4.47 ▲0.33 | 95.17 ▼5.18 | 43.48 ▲1.73 |
Hover Effects /wp-admin/edit.php?post_type=u_hover_effect | 1,108 | 2.04 | 38.77 | 31.39 |
Add New /wp-admin/post-new.php?post_type=u_hover_effect | 11,133 | 4.59 | 97.45 | 43.84 |
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-content/plugins/ultimate-hover-effects/admin/cmb2/example-functions.php+410
Use of undefined constant s - assumed 's' (this will throw an Error in a future version of PHP)
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
These errors were triggered by the plugin
- 3 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=u_hover_effect
- > Warning in wp-content/plugins/ultimate-hover-effects/admin/cmb2/example-functions.php+410
Use of undefined constant s - assumed 's' (this will throw an Error in a future version of PHP)
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
- 38× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Textarea' not found in wp-content/plugins/ultimate-hover-effects/admin/cmb2/includes/types/CMB2_Type_Wysiwyg.php:16
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Multi_Base' not found in wp-content/plugins/ultimate-hover-effects/admin/cmb2/includes/types/CMB2_Type_Taxonomy_Base.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_File_Base' not found in wp-content/plugins/ultimate-hover-effects/admin/cmb2/includes/types/CMB2_Type_File.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Base' not found in wp-content/plugins/ultimate-hover-effects/admin/cmb2/includes/types/CMB2_Type_Text_Datetime_Timestamp_Timezone.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function cmb2_dir() in wp-content/plugins/ultimate-hover-effects/admin/cmb2/includes/rest-api/CMB2_REST_Controller.php:4
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Base' not found in wp-content/plugins/ultimate-hover-effects/admin/cmb2/includes/types/CMB2_Type_Title.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_REST_Controller_Boxes' not found in wp-content/plugins/ultimate-hover-effects/admin/cmb2/includes/rest-api/CMB2_REST_Controller_Fields.php:17
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Base' not found in wp-content/plugins/ultimate-hover-effects/admin/cmb2/includes/CMB2_Field.php:17
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Text' not found in wp-content/plugins/ultimate-hover-effects/admin/cmb2/includes/types/CMB2_Type_Colorpicker.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_hookup' not found in wp-content/plugins/ultimate-hover-effects/admin/cmb2/includes/CMB2_Options_Hookup.php:14
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need to be fixed:
- Tags: You are using too many tags: 16 tag instead of maximum 10
ultimate-hover-effects/ultimate-hover-effects.php 85% from 13 tests
Analyzing the main PHP file in "Ultimate Hover Effects" version 2.9.4
Please take the time to fix the following:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
- Description: Keep the plugin description shorter than 140 characters (currently 177 characters long)
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
There were no executable files found in this plugin58,249 lines of code in 204 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 120 | 14,315 | 18,502 | 32,323 |
CSS | 17 | 1,339 | 1,148 | 16,207 |
PHP | 57 | 2,111 | 5,998 | 7,707 |
JavaScript | 8 | 327 | 504 | 1,380 |
Markdown | 2 | 214 | 0 | 632 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.48 |
Average class complexity | 18.56 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 183.00 |
Average method complexity | 3.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 28.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 66 | |
▷ Abstract classes | 8 | 12.12% |
▷ Concrete classes | 58 | 87.88% |
▷ Final classes | 0 | 0.00% |
Methods | 519 | |
▷ Static methods | 86 | 16.57% |
▷ Public methods | 428 | 82.47% |
▷ Protected methods | 88 | 16.96% |
▷ Private methods | 3 | 0.58% |
Functions | 36 | |
▷ Named functions | 36 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 9 | |
▷ Global constants | 3 | 33.33% |
▷ Class constants | 6 | 66.67% |
▷ Public constants | 6 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
14 compressed PNG files occupy 0.02MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/cmb2/images/ui-bg_glass_95_fef1ec_1x400.png | 0.12KB | 0.14KB | 0.00% |
admin/cmb2/images/ui-icons_222222_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
admin/cmb2/images/ui-icons_2e83ff_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
admin/cmb2/images/ui-bg_glass_55_fbf9ee_1x400.png | 0.12KB | 0.14KB | 0.00% |
admin/cmb2/images/ui-bg_flat_75_ffffff_40x100.png | 0.17KB | 0.08KB | ▼ 51.12% |