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
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.05MB] [CPU: ▼7.54ms] Passed 4 tests
Server-side resources used by Hover Image Button
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.05 | 37.56 ▼6.26 |
Dashboard /wp-admin | 3.37 ▲0.02 | 46.71 ▼9.33 |
Posts /wp-admin/edit.php | 3.48 ▲0.12 | 52.57 ▲4.18 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 93.04 ▼14.13 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 35.38 ▼0.45 |
Hover Image Button /wp-admin/options-general.php?page=hover_image_button | 3.26 | 30.84 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 15 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
hover_image_button_settings |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for Hover Image Button
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,813 ▲67 | 14.74 ▲0.08 | 1.77 ▼0.15 | 40.79 ▼0.69 |
Dashboard /wp-admin | 2,209 ▲18 | 5.81 ▲0.92 | 98.62 ▼3.95 | 40.08 ▲1.48 |
Posts /wp-admin/edit.php | 2,095 ▲6 | 2.03 ▲0.02 | 38.06 ▼3.72 | 34.91 ▲0.91 |
Add New Post /wp-admin/post-new.php | 1,519 ▼23 | 23.23 ▲4.99 | 653.31 ▲43.11 | 49.69 ▲0.63 |
Media Library /wp-admin/upload.php | 1,394 ▲9 | 4.18 ▼0.15 | 95.95 ▼4.23 | 41.24 ▲0.23 |
Hover Image Button /wp-admin/options-general.php?page=hover_image_button | 850 | 2.05 | 22.62 | 28.03 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though no errors were found, this is by no means an exhaustive test
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 items
- 6× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/hover-image-button/includes/plugin-defaults.php
- > /wp-content/plugins/hover-image-button/includes/settings.php
- > /wp-content/plugins/hover-image-button/includes/plugin-variables.php
- > /wp-content/plugins/hover-image-button/hover-image-button.php
- > /wp-content/plugins/hover-image-button/uninstall.php
- > /wp-content/plugins/hover-image-button/includes/shortcodes-handler.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 97% 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:
- Tags: Too many tags (14 tag instead of maximum 10); only the first 5 tags are used in your directory listing
hover-image-button/hover-image-button.php Passed 13 tests
"Hover Image Button" version 1.1.2's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
77 characters long description:
Create mobile responsive image buttons with pure CSS3 animated hover effects.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Everything looks great! No dangerous files found in this plugin464 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 86 | 262 | 329 |
CSS | 1 | 37 | 31 | 135 |
JavaScript | 1 | 1 | 10 | 0 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.16 |
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 | 31 | |
▷ Named functions | 31 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 7 | |
▷ Global constants | 7 | 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
No PNG images were found in this plugin