Benchmarks
Plugin footprint 83% 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.04MB] [CPU: ▼1.34ms] Passed 4 tests
An overview of server-side resources used by Ultimate Image Hover Effects CSS3 - Photo Gallery Pro
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.03 | 35.47 ▼7.65 |
Dashboard /wp-admin | 3.36 ▲0.06 | 54.13 ▲8.16 |
Posts /wp-admin/edit.php | 3.47 ▲0.12 | 53.73 ▲4.74 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 82.67 ▼6.37 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 36.38 ▲3.93 |
Hover Effects /wp-admin/edit.php?post_type=image_hover_effect | 3.33 | 38.16 |
Add New Hover Effect /wp-admin/post-new.php?post_type=image_hover_effect | 3.40 | 43.15 |
More Plugins /wp-admin/edit.php?post_type=image_hover_effect&page=na_more_plugins | 3.27 | 34.61 |
Server storage [IO: ▲0.48MB] [DB: ▲0.07MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 16 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Ultimate Image Hover Effects CSS3 - Photo Gallery Pro
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,000 ▲265 | 15.37 ▲1.07 | 1.64 ▼0.20 | 37.88 ▼9.48 |
Dashboard /wp-admin | 2,394 ▲203 | 6.76 ▲1.70 | 140.46 ▲38.54 | 46.95 ▲2.73 |
Posts /wp-admin/edit.php | 2,309 ▲217 | 3.80 ▲1.82 | 57.18 ▲18.15 | 34.96 ▼1.26 |
Add New Post /wp-admin/post-new.php | 1,564 ▲31 | 23.44 ▲0.42 | 570.85 ▼25.36 | 33.65 ▼15.79 |
Media Library /wp-admin/upload.php | 1,442 ▲60 | 4.58 ▲0.41 | 81.01 ▼21.40 | 39.16 ▼4.71 |
Hover Effects /wp-admin/edit.php?post_type=image_hover_effect | 1,284 | 3.61 | 51.53 | 30.07 |
Add New Hover Effect /wp-admin/post-new.php?post_type=image_hover_effect | 3,049 | 7.69 | 187.31 | 80.57 |
More Plugins /wp-admin/edit.php?post_type=image_hover_effect&page=na_more_plugins | 990 | 3.30 | 40.51 | 19.24 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 0% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
These errors were triggered by the plugin
- > GET request to /wp-admin/post-new.php?post_type=image_hover_effect
- > Warning in wp-content/plugins/ultimate-image-hover-effects-css3-photo-gallery-pro/render_metabox.php+14
count(): Parameter must be an array or an object that implements Countable
SRP 0% 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
- 2× PHP files output text when accessed directly:
- > /wp-content/plugins/ultimate-image-hover-effects-css3-photo-gallery-pro/temp/first.php
- > /wp-content/plugins/ultimate-image-hover-effects-css3-photo-gallery-pro/more_plugins.php
- 24× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/ultimate-image-hover-effects-css3-photo-gallery-pro/temp/load_first.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function get_post_meta() in wp-content/plugins/ultimate-image-hover-effects-css3-photo-gallery-pro/render_shortcode.php:3
- > PHP Notice
Undefined variable: data in wp-content/plugins/ultimate-image-hover-effects-css3-photo-gallery-pro/temp/first.php on line 8
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/ultimate-image-hover-effects-css3-photo-gallery-pro/temp/first.php on line 7
- > PHP Notice
Undefined variable: data in wp-content/plugins/ultimate-image-hover-effects-css3-photo-gallery-pro/temp/first.php on line 7
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/ultimate-image-hover-effects-css3-photo-gallery-pro/temp/first.php on line 8
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/ultimate-image-hover-effects-css3-photo-gallery-pro/temp/first.php on line 4
- > PHP Notice
Undefined variable: data in wp-content/plugins/ultimate-image-hover-effects-css3-photo-gallery-pro/temp/first.php on line 3
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/ultimate-image-hover-effects-css3-photo-gallery-pro/temp/first.php on line 3
- > PHP Notice
Undefined variable: data in wp-content/plugins/ultimate-image-hover-effects-css3-photo-gallery-pro/temp/first.php on line 8
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
These are user-side errors you should fix
- 3 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=image_hover_effect&page=na_more_plugins
- > Javascript (severe) in unknown
/wp-content/plugins/ultimate-image-hover-effects-css3-photo-gallery-pro//js/wp-color-picker-alpha.js?ver=6.3.1 10:459 Uncaught ReferenceError: wpColorPickerL10n is not defined
- 3 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=image_hover_effect&page=na_more_plugins
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-polyfill-inert,regenerator-runtime,wp-polyfill,wp-hooks&ver=6.3.1 1:28609 "jQuery.Deferred exception: jQuery(...).live is not a function" "TypeError: jQuery(...).live is not a function\n at HTMLDocument.\u003Canonymous> (/wp-content/plugins/ultimate-image-hover-effects-css3-photo-gallery-pro//lib/admin.js?ver=6.3.1:81:36)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-polyfill-inert,regenerator-runtime,wp-polyfill,wp-hooks&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,wp-polyfill-inert,regenerator-runtime,wp-polyfill,wp-hooks&ver=6.3.1:2:27292)" undefined
- 3 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=image_hover_effect&page=na_more_plugins
- > Javascript (severe) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-polyfill-inert,regenerator-runtime,wp-polyfill,wp-hooks&ver=6.3.1 1:28721 Uncaught TypeError: jQuery(...).live is not a function
- > GET request to /wp-admin/post-new.php?post_type=image_hover_effect
- > Network (severe)
themeroller/images/ui-icons_ffffff_256x240.png - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% 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 require attention:
- Screenshots: Add images for these screenshots: #1 (Admin Setting), #2 (Easy to use interface.)
- Tags: Too many tags (13 tag instead of maximum 10); only the first 5 tags are used in your directory listing
ultimate-image-hover-effects-css3-photo-gallery-pro/index.php 92% from 13 tests
The main file in "Ultimate Image Hover Effects CSS3 - Photo Gallery Pro" v. 1.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
It is important to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("ultimate-image-hover-effects-css3-photo-gallery-pro.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Success! There were no dangerous files found in this plugin13,559 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 4 | 1,996 | 72 | 12,934 |
PHP | 8 | 44 | 25 | 517 |
JavaScript | 3 | 21 | 46 | 108 |
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.20 |
Average class complexity | 10.00 |
▷ Minimum class complexity | 10.00 |
▷ Maximum class complexity | 10.00 |
Average method complexity | 1.64 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 14 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 14 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
No PNG files were detected