Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▼7.10ms] Passed 4 tests
A check of server-side resources used by Image Hover Effects Block
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 36.68 ▼8.65 |
Dashboard /wp-admin | 3.31 ▲0.01 | 50.57 ▼3.91 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 47.16 ▼9.99 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 91.35 ▼5.85 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 36.07 ▼0.97 |
Server storage [IO: ▲2.75MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 40 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
Image Hover Effects Block: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,797 ▲36 | 14.28 ▼0.07 | 1.70 ▼0.37 | 41.00 ▼2.54 |
Dashboard /wp-admin | 2,197 ▲20 | 5.65 ▲0.09 | 84.75 ▼10.83 | 40.52 ▼2.01 |
Posts /wp-admin/edit.php | 2,099 ▼1 | 2.03 ▲0.01 | 35.28 ▼2.57 | 37.29 ▼0.19 |
Add New Post /wp-admin/post-new.php | 6,374 ▲4,846 | 28.00 ▲4.97 | 888.37 ▲196.82 | 40.65 ▼21.40 |
Media Library /wp-admin/upload.php | 1,402 ▲2 | 4.22 ▲0.09 | 100.89 ▲0.39 | 42.15 ▼3.12 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests Passed 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 Passed 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
5 plugin tags: css hover effects block, block, gutenberg block, image block, image hover effects block
image-hover-effects-block/image-hover-effects-block.php 85% from 13 tests
The primary PHP file in "Image Hover Effects Block" version 1.4.5 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
- Domain Path: The domain path points to an invalid folder, "/languages" does not exist
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
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
Good job! No executable or dangerous file extensions detected7,295 lines of code in 23 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 11 | 0 | 1 | 4,133 |
CSS | 6 | 170 | 172 | 1,811 |
JavaScript | 3 | 15 | 9 | 939 |
PHP | 2 | 38 | 19 | 404 |
JSON | 1 | 0 | 0 | 8 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
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 | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
2 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
src/blocks/img/valign.png | 11.25KB | 3.91KB | ▼ 65.28% |
src/blocks/img/link.png | 5.72KB | 1.98KB | ▼ 65.33% |