Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.12MB] [CPU: ▼3.56ms] Passed 4 tests
This is a short check of server-side resources used by Hover Effects - easily create any hover effect
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.13 | 37.26 ▼0.58 |
Dashboard /wp-admin | 3.43 ▲0.12 | 46.93 ▲1.34 |
Posts /wp-admin/edit.php | 3.55 ▲0.19 | 46.47 ▼0.29 |
Add New Post /wp-admin/post-new.php | 6.01 ▲0.12 | 79.71 ▼12.89 |
Media Library /wp-admin/upload.php | 3.36 ▲0.12 | 33.75 ▼0.47 |
Hover Effects /wp-admin/admin.php?page=hover-effects | 3.33 | 30.91 |
Welcome /wp-admin/admin.php?page=wow-company | 3.32 | 31.42 |
Server storage [IO: ▲1.59MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 80 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for Hover Effects - easily create any hover effect
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,857 ▲96 | 14.18 ▼0.17 | 1.81 ▲0.15 | 43.68 ▲4.77 |
Dashboard /wp-admin | 2,264 ▲96 | 5.64 ▲0.06 | 91.64 ▲4.77 | 38.92 ▼2.82 |
Posts /wp-admin/edit.php | 2,169 ▲69 | 2.00 ▲0.05 | 45.55 ▲5.31 | 37.62 ▼2.52 |
Add New Post /wp-admin/post-new.php | 1,555 ▲16 | 23.05 ▲0.22 | 687.59 ▲17.71 | 53.08 ▼4.97 |
Media Library /wp-admin/upload.php | 1,460 ▲60 | 4.21 ▲0.02 | 98.20 ▼9.94 | 40.20 ▼6.49 |
Hover Effects /wp-admin/admin.php?page=hover-effects | 1,248 | 2.00 | 26.23 | 54.54 |
Welcome /wp-admin/admin.php?page=wow-company | 925 | 2.00 | 25.91 | 41.32 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
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 no errors were found, this is by no means an exhaustive test
SRP Passed 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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
4 plugin tags: image hover effects, hover effects, hover animations, button hover effects
hover-effects/hover-effects.php Passed 13 tests
The principal PHP file in "Hover Effects - easily create any hover effect" v. 2.1.2 is loaded by WordPress automatically on each request
91 characters long description:
Hover Effect is easily applied to your own elements, modified or just used for inspiration.
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
Good job! No executable or dangerous file extensions detected11,103 lines of code in 54 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 7 | 76 | 55 | 3,363 |
SVG | 1 | 0 | 0 | 2,671 |
Sass | 14 | 34 | 34 | 1,768 |
LESS | 14 | 34 | 44 | 1,758 |
PHP | 16 | 185 | 342 | 1,524 |
JavaScript | 2 | 0 | 0 | 19 |
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.35 |
Average class complexity | 16.17 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 37.00 |
Average method complexity | 2.60 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 15.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 1 | 16.67% |
Methods | 57 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 26 | 45.61% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 31 | 54.39% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 10 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 10 | 100.00% |
▷ Public constants | 10 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
6 PNG files occupy 0.14MB with 0.05MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
asset/about/image/icon.png | 121.88KB | 28.08KB | ▼ 76.96% |
admin/partials/img/wpcalc.png | 3.78KB | 1.44KB | ▼ 61.98% |
include/class/menu/icon.png | 0.56KB | 0.76KB | 0.00% |
admin/partials/img/banner.png | 5.52KB | 6.16KB | 0.00% |
admin/partials/img/icon.png | 8.25KB | 4.76KB | ▼ 42.29% |