Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The following installer errors require your attention
- The plugin cannot be installed
- > Compile warning in wp-content/plugins/essential-hover-effects/essential-hover-effects.php+2
Unterminated comment starting line 2
Server metrics [RAM: ▼0.01MB] [CPU: ▼12.64ms] Passed 4 tests
Analyzing server-side resources used by Essential Hover Effects
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 36.77 ▼2.48 |
Dashboard /wp-admin | 3.31 ▼0.04 | 45.88 ▼22.40 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 48.57 ▼3.86 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 85.76 ▼21.83 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 35.88 ▲2.94 |
Server storage [IO: ▲3.14MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 110 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Essential Hover Effects: 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,839 ▲93 | 13.70 ▼0.57 | 1.81 ▲0.01 | 36.30 ▼7.33 |
Dashboard /wp-admin | 2,219 ▲31 | 5.84 ▲0.97 | 112.59 ▲8.02 | 42.04 ▼4.60 |
Posts /wp-admin/edit.php | 2,108 ▲19 | 2.03 ▲0.01 | 40.26 ▼0.63 | 39.57 ▲3.29 |
Add New Post /wp-admin/post-new.php | 1,380 ▼153 | 20.67 ▼2.46 | 528.64 ▼127.16 | 52.68 ▲2.13 |
Media Library /wp-admin/upload.php | 1,404 ▲22 | 4.23 ▲0.03 | 102.49 ▲5.25 | 43.67 ▲0.43 |
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
You still need to fix the following
- This plugin cannot be uninstalled
- > Compile warning in wp-content/plugins/essential-hover-effects/essential-hover-effects.php+2
Unterminated comment starting line 2
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
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 fix the following
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Warning
Unterminated comment starting line 2 in wp-content/plugins/essential-hover-effects/essential-hover-effects.php on line 2
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (Adding post item.), #2 (Settings panel 1.), #3 (Settings panel 2.), #4 (Settings panel 3.), #5 (Custom ordering.)
- Tags: You are using too many tags: 15 tag instead of maximum 10
essential-hover-effects/essential-hover-effects.php 85% from 13 tests
The entry point to "Essential Hover Effects" version 1.0.5 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 169 characters long)
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
There were no executable files found in this plugin41,310 lines of code in 85 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 2 | 0 | 0 | 17,050 |
CSS | 12 | 342 | 255 | 10,328 |
JavaScript | 9 | 1,083 | 800 | 4,584 |
SVG | 2 | 0 | 0 | 3,236 |
PHP | 45 | 1,202 | 937 | 3,141 |
Sass | 6 | 341 | 0 | 2,089 |
PO File | 7 | 306 | 334 | 705 |
Markdown | 2 | 24 | 0 | 177 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.56 |
Average class complexity | 13.91 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 94.00 |
Average method complexity | 5.17 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 34.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 32 | |
▷ Abstract classes | 2 | 6.25% |
▷ Concrete classes | 30 | 93.75% |
▷ Final classes | 0 | 0.00% |
Methods | 99 | |
▷ Static methods | 5 | 5.05% |
▷ Public methods | 99 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 45 | |
▷ Named functions | 45 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 12 | |
▷ Global constants | 12 | 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
3 compressed PNG files occupy 0.00MB
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/framework/assets/images/chosen-sprite@2x.png | 0.72KB | 0.83KB | 0.00% |
admin/framework/assets/images/checkerboard.png | 2.29KB | 2.54KB | 0.00% |
admin/framework/assets/images/chosen-sprite.png | 0.53KB | 0.88KB | 0.00% |