Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
It is recommended to fix the following installer errors
- Install procedure had errors
- > Notice in wp-content/plugins/hover-image-and-text/hover.php+56
Undefined variable: wpdb
Server metrics [RAM: ▲0.02MB] [CPU: ▼7.02ms] Passed 4 tests
A check of server-side resources used by Hover image and text
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 41.09 ▲5.08 |
Dashboard /wp-admin | 3.33 ▼0.01 | 45.48 ▼15.28 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 45.36 ▼6.16 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 84.76 ▼11.72 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 40.63 ▲5.97 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 9 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_hover_image |
New WordPress options |
---|
jal_db_version |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Hover image and text
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 14.27 ▼0.08 | 1.55 ▼0.34 | 42.92 ▲1.38 |
Dashboard /wp-admin | 2,210 ▲30 | 5.52 ▼0.18 | 83.11 ▼7.15 | 78.19 ▲40.40 |
Posts /wp-admin/edit.php | 2,118 ▲15 | 1.95 ▲0.01 | 36.53 ▼2.96 | 30.72 ▼5.72 |
Add New Post /wp-admin/post-new.php | 1,553 ▲25 | 23.11 ▲0.10 | 647.19 ▲45.73 | 54.77 ▼6.84 |
Media Library /wp-admin/upload.php | 1,406 ▲12 | 4.10 ▼0.10 | 101.49 ▼0.31 | 79.12 ▲36.11 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- Zombie tables detected upon uninstall: 1 table
- wp_hover_image
- This plugin did not uninstall successfully, leaving 7 options in the database
- db_upgraded
- jal_db_version
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
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 everything seems fine, this is not an exhaustive test
SRP 50% 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
Please take a closer look at the following
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/hover-image-and-text/hover.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 81% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
These attributes need your attention:
- Stable tag: Empty string
- Donate link: Please fix this invalid URI: ""
- Tags: No tags were detected
hover-image-and-text/hover.php 85% from 13 tests
This is the main PHP file of "Hover image and text" version 2..., providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
You should first fix the following items:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("hover-image-and-text.php" instead of "hover.php")
- Version: Use only periods and digits for the version number (ex. "1.0.3" instead of "2...")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Success! There were no dangerous files found in this plugin449 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 4 | 64 | 1 | 242 |
PHP | 1 | 85 | 48 | 207 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.14 |
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 | 5 | |
▷ Named functions | 5 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 9 | |
▷ Global constants | 9 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
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 |
images/b_status.png | 2.98KB | 0.24KB | ▼ 91.87% |