Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▼0.04MB] [CPU: ▼8.92ms] Passed 4 tests
Analyzing server-side resources used by Image Hover Effects Mbengue
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 36.93 ▼6.86 |
Dashboard /wp-admin | 3.36 ▲0.06 | 46.47 ▼3.38 |
Posts /wp-admin/edit.php | 3.41 ▲0.06 | 46.60 ▼2.73 |
Add New Post /wp-admin/post-new.php | 5.57 ▼0.32 | 65.65 ▼22.71 |
Media Library /wp-admin/upload.php | 3.28 ▲0.06 | 39.56 ▲7.10 |
Ajouter Nouvelle /wp-admin/post-new.php?post_type=hovers | 3.27 | 35.54 |
Tous les Hovers Images /wp-admin/edit.php?post_type=hovers | 3.33 | 34.78 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Image Hover Effects Mbengue
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲83 | 13.61 ▼0.76 | 1.62 ▼0.30 | 40.77 ▼2.66 |
Dashboard /wp-admin | 2,232 ▲44 | 5.84 ▼0.03 | 96.25 ▼13.69 | 77.78 ▲30.60 |
Posts /wp-admin/edit.php | 2,112 ▲23 | 2.01 ▼0.03 | 34.90 ▼4.09 | 33.94 ▼0.82 |
Add New Post /wp-admin/post-new.php | 1,692 ▲150 | 21.67 ▲3.28 | 748.39 ▲77.11 | 65.12 ▲1.07 |
Media Library /wp-admin/upload.php | 1,408 ▲20 | 4.19 ▼0.08 | 119.12 ▲14.74 | 47.70 ▲4.80 |
Ajouter Nouvelle /wp-admin/post-new.php?post_type=hovers | 1,706 | 3.51 | 59.45 | 78.42 |
Tous les Hovers Images /wp-admin/edit.php?post_type=hovers | 1,104 | 1.93 | 33.06 | 28.42 |
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
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/post-new.php?post_type=hovers
- > Warning in wp-content/plugins/image-hover-effects-mbengue/inc/zake_meta_box.php+119
Use of undefined constant _S_VERSION - assumed '_S_VERSION' (this will throw an Error in a future version of PHP)
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/image-hover-effects-mbengue/inc/zake_meta_box.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/image-hover-effects-mbengue/ImageHoverMbengue.php:9
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
2 plugin tags: images, rollover effects
image-hover-effects-mbengue/ImageHoverMbengue.php 92% from 13 tests
This is the main PHP file of "Image Hover Effects Mbengue" version 1.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please take the time to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("image-hover-effects-mbengue.php" instead of "ImageHoverMbengue.php")
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
No dangerous file extensions were detected237 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 23 | 45 | 206 |
JavaScript | 1 | 2 | 2 | 31 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 9 | |
▷ Named functions | 9 | 100.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
All PNG images should be compressed to minimize bandwidth usage for end users
2 compressed PNG files occupy 0.00MB
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/icone@2x.png | 0.37KB | 0.31KB | ▼ 17.28% |
img/icone.png | 0.23KB | 0.31KB | 0.00% |