Benchmarks
Plugin footprint 64% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼5.03ms] 75% from 4 tests
This is a short check of server-side resources used by Image Hover Effects Ultimate (Image Gallery, Effects, Lightbox, Comparison or Magnifier)
Please take the time to fix the following items
- CPU: Total CPU usage must kept under 500.00ms (currently 675.29ms on /wp-admin/admin.php?page=oxi-image-hover-ultimate-addons)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 33.30 ▼6.92 |
Dashboard /wp-admin | 3.35 ▲0.05 | 45.54 ▼4.13 |
Posts /wp-admin/edit.php | 3.47 ▲0.11 | 49.25 ▼0.10 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 81.76 ▼8.97 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 38.81 ▲4.11 |
Shortcode /wp-admin/admin.php?page=oxi-image-hover-shortcode | 3.35 | 36.44 |
Image Hover /wp-admin/admin.php?page=oxi-image-hover-ultimate | 3.31 | 33.38 |
Support /wp-admin/admin.php?page=image-hover-ultimate-support | 3.28 | 38.05 |
Settings /wp-admin/admin.php?page=oxi-image-hover-ultimate-settings | 3.35 | 74.37 |
Oxilab Addons /wp-admin/admin.php?page=oxi-image-hover-ultimate-addons | 3.31 | 675.29 |
Server storage [IO: ▲28.14MB] [DB: ▲0.01MB] 67% from 3 tests
Filesystem and database footprint
Just a few items left to fix
- Filesystem usage must be lower than 25MB (currently using 28.14MB)
Filesystem: 975 new files
Database: 3 new tables, 10 new options
New tables |
---|
wp_image_hover_ultimate_style |
wp_oxi_div_import |
wp_image_hover_ultimate_list |
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
widget_iheu_widget |
image_hover_ultimate_update_complete |
oxi_image_hover_version |
db_upgraded |
oxi_image_hover_activation_date |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Image Hover Effects Ultimate (Image Gallery, Effects, Lightbox, Comparison or Magnifier): an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,832 ▲70 | 14.41 ▼0.29 | 1.63 ▼0.05 | 36.21 ▼10.00 |
Dashboard /wp-admin | 2,237 ▲57 | 5.62 ▼0.05 | 86.52 ▼12.66 | 41.54 ▼5.02 |
Posts /wp-admin/edit.php | 2,142 ▲42 | 1.97 ▼0.00 | 39.82 ▼1.05 | 36.81 ▲3.68 |
Add New Post /wp-admin/post-new.php | 1,560 ▲25 | 23.04 ▼2.28 | 684.23 ▲24.07 | 61.54 ▼2.73 |
Media Library /wp-admin/upload.php | 1,442 ▲42 | 4.16 ▲0.01 | 96.86 ▼8.01 | 44.26 ▲0.13 |
Shortcode /wp-admin/admin.php?page=oxi-image-hover-shortcode | 1,414 | 2.69 | 66.98 | 148.24 |
Image Hover /wp-admin/admin.php?page=oxi-image-hover-ultimate | 1,225 | 2.28 | 35.47 | 226.83 |
Support /wp-admin/admin.php?page=image-hover-ultimate-support | 1,615 | 8.96 | 302.44 | 161.55 |
Settings /wp-admin/admin.php?page=oxi-image-hover-ultimate-settings | 1,274 | 1.83 | 29.87 | 40.86 |
Oxilab Addons /wp-admin/admin.php?page=oxi-image-hover-ultimate-addons | 1,175 | 1.97 | 28.25 | 65.54 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- The plugin did not uninstall successfully, leaving 3 tables in the database
- wp_oxi_div_import
- wp_image_hover_ultimate_style
- wp_image_hover_ultimate_list
- Zombie WordPress options were found after uninstall: 10 options
- theysaidso_admin_options
- image_hover_ultimate_update_complete
- widget_theysaidso_widget
- can_compress_scripts
- oxi_image_hover_version
- widget_recent-comments
- oxi_image_hover_activation_date
- widget_recent-posts
- widget_iheu_widget
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that need to be fixed:
- Screenshots: A description for screenshot #10 is required in image-hover-effects-ultimate/assets to your readme.txt
image-hover-effects-ultimate/index.php 77% from 13 tests
The principal PHP file in "Image Hover Effects Ultimate (Image Gallery, Effects, Lightbox, Comparison or Magnifier)" v. 9.9.2 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Plugin Name: Keep the plugin name shorter than 70 characters (currently 88 characters long)
- Main file name: Name the main plugin file the same as the plugin slug ("image-hover-effects-ultimate.php" instead of "index.php")
- Description: Please don't use more than 140 characters for the plugin description (currently 219 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Success! There were no dangerous files found in this plugin112,524 lines of code in 939 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 331 | 4,397 | 3,077 | 62,323 |
CSS | 160 | 1,966 | 109 | 26,557 |
JavaScript | 39 | 1,683 | 345 | 14,303 |
SVG | 4 | 0 | 12 | 8,936 |
JSON | 405 | 0 | 0 | 405 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 9.17 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 353.00 |
Average method complexity | 3.30 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 34.00 |
Code structure | ||
---|---|---|
Namespaces | 39 | |
Interfaces | 0 | |
Traits | 7 | |
Classes | 322 | |
▷ Abstract classes | 1 | 0.31% |
▷ Concrete classes | 321 | 99.69% |
▷ Final classes | 0 | 0.00% |
Methods | 1,171 | |
▷ Static methods | 4 | 0.34% |
▷ Public methods | 1,168 | 99.74% |
▷ Protected methods | 1 | 0.09% |
▷ Private methods | 2 | 0.17% |
Functions | 5 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 5 | 100.00% |
Constants | 54 | |
▷ Global constants | 6 | 11.11% |
▷ Class constants | 48 | 88.89% |
▷ Public constants | 48 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
11 PNG files occupy 0.09MB with 0.05MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
Modules/Lightbox/img/youtube-play.png | 5.06KB | 2.37KB | ▼ 53.04% |
assets/backend/js/img/trans_bg.png | 0.08KB | 0.09KB | 0.00% |
assets/backend/js/img/jquery.minicolors.png | 67.02KB | 34.31KB | ▼ 48.80% |
assets/backend/css/icon-close-white.png | 1.07KB | 0.26KB | ▼ 75.82% |
assets/backend/css/icon-close-black.png | 1.08KB | 0.26KB | ▼ 75.88% |