Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼3.54ms] Passed 4 tests
Server-side resources used by Advanced Hover Effects On Image Wpbeckary(Visual Composer)
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 35.49 ▼3.76 |
Dashboard /wp-admin | 3.31 ▲0.00 | 44.22 ▲0.73 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 47.67 ▲0.50 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 79.84 ▼11.61 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 35.82 ▲4.42 |
Server storage [IO: ▲0.93MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 15 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
Advanced Hover Effects On Image Wpbeckary(Visual Composer): an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.33 ▼0.97 | 1.68 ▼0.11 | 42.96 ▼0.04 |
Dashboard /wp-admin | 2,206 ▲20 | 4.83 ▼0.09 | 107.43 ▼5.05 | 37.33 ▼5.32 |
Posts /wp-admin/edit.php | 2,092 ▼0 | 2.02 ▼0.03 | 40.65 ▼0.25 | 39.04 ▲4.57 |
Add New Post /wp-admin/post-new.php | 1,533 ▲14 | 23.48 ▲0.39 | 664.51 ▲40.32 | 61.01 ▼2.68 |
Media Library /wp-admin/upload.php | 1,382 ▼6 | 4.21 ▲0.04 | 95.20 ▼0.83 | 43.07 ▲0.54 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please take a closer look at the following
- 7× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function is_plugin_active() in wp-content/plugins/advanced-hover-effects-image-wpbakery/aheiw-hover-effects-image-addon.php:15
- > PHP Warning
include_once(ABSPATHwp-admin/includes/plugin.php): failed to open stream: No such file or directory in wp-content/plugins/advanced-hover-effects-image-wpbakery/aheiw-hover-effects-image-addon.php on line 14
- > PHP Warning
include_once(): Failed opening 'ABSPATHwp-admin/includes/plugin.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/advanced-hover-effects-image-wpbakery/aheiw-hover-effects-image-addon.php on line 14
- > PHP Fatal error
Uncaught Error: Call to undefined function vc_map() in wp-content/plugins/advanced-hover-effects-image-wpbakery/aheiw-hover-effects-image/aheiw-hover-effects-image.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function vc_add_shortcode_param() in wp-content/plugins/advanced-hover-effects-image-wpbakery/admin/params/slider/slider-params.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function vc_add_shortcode_param() in wp-content/plugins/advanced-hover-effects-image-wpbakery/admin/params/slider/slider-params.php:6
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/advanced-hover-effects-image-wpbakery/aheiw-hover-effects-image-addon.php on line 14
- > PHP Fatal error
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)
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need your attention:
- Screenshots: Please add an image for screenshot #1 (screenshot 1)
advanced-hover-effects-image-wpbakery/aheiw-hover-effects-image-addon.php 85% from 13 tests
The principal PHP file in "Advanced Hover Effects On Image Wpbeckary(Visual Composer)" v. 1.0.1 is loaded by WordPress automatically on each request
You should first fix the following items:
- Main file name: The principal plugin file should be the same as the plugin slug ("advanced-hover-effects-image-wpbakery.php" instead of "aheiw-hover-effects-image-addon.php")
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Success! There were no dangerous files found in this plugin5,474 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 1 | 0 | 0 | 2,671 |
CSS | 3 | 45 | 70 | 2,098 |
PHP | 5 | 140 | 58 | 672 |
JavaScript | 1 | 11 | 3 | 33 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.49 |
Average class complexity | 16.00 |
▷ Minimum class complexity | 16.00 |
▷ Maximum class complexity | 16.00 |
Average method complexity | 8.50 |
▷ Minimum method complexity | 5.00 |
▷ Maximum method complexity | 12.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 | 2 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 2 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 11 | |
▷ Named functions | 11 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/img/hover_effects_icon.png | 2.06KB | 1.21KB | ▼ 41.43% |