Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.60MB] [CPU: ▲5.03ms] Passed 4 tests
A check of server-side resources used by Amazing Hover Effects
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.06 ▲0.59 | 43.87 ▲1.22 |
Dashboard /wp-admin | 3.93 ▲0.62 | 52.51 ▲4.47 |
Posts /wp-admin/edit.php | 3.97 ▲0.61 | 56.15 ▲8.27 |
Add New Post /wp-admin/post-new.php | 6.50 ▲0.61 | 101.23 ▲8.57 |
Media Library /wp-admin/upload.php | 3.82 ▲0.59 | 40.56 ▲6.14 |
Hover Effects /wp-admin/edit.php?post_type=hover_effect | 3.89 | 43.82 |
Add New /wp-admin/post-new.php?post_type=hover_effect | 3.86 | 47.78 |
Server storage [IO: ▲2.00MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 112 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Amazing Hover Effects
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,022 ▲287 | 15.71 ▲1.34 | 1.59 ▼0.19 | 39.37 ▼6.64 |
Dashboard /wp-admin | 2,418 ▲233 | 7.02 ▲1.17 | 135.96 ▲19.77 | 39.88 ▼9.28 |
Posts /wp-admin/edit.php | 2,327 ▲241 | 3.92 ▲1.93 | 52.60 ▲13.76 | 32.53 ▼3.62 |
Add New Post /wp-admin/post-new.php | 1,592 ▲55 | 18.57 ▼4.72 | 609.22 ▼82.33 | 34.52 ▼22.72 |
Media Library /wp-admin/upload.php | 1,466 ▲81 | 4.85 ▲0.59 | 87.64 ▼13.20 | 41.05 ▼5.21 |
Hover Effects /wp-admin/edit.php?post_type=hover_effect | 1,311 | 3.54 | 48.65 | 29.60 |
Add New /wp-admin/post-new.php?post_type=hover_effect | 5,617 | 4.52 | 126.59 | 111.96 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
These errors were triggered by the plugin
- > GET request to /wp-admin/post-new.php?post_type=hover_effect
- > Notice in wp-content/plugins/amazing-hover-effects/framework/classes/metabox.class.php+70
Trying to access array offset on value of type bool
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
- 15× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Notice
Undefined variable: options in wp-content/plugins/amazing-hover-effects/shortcodes/circle.php on line 8
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/amazing-hover-effects/shortcodes/circle.php on line 8
- > PHP Notice
Undefined variable: options in wp-content/plugins/amazing-hover-effects/shortcodes/circle.php on line 7
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/amazing-hover-effects/shortcodes/circle.php on line 9
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/amazing-hover-effects/shortcodes/circle.php on line 6
- > PHP Notice
Undefined variable: options in wp-content/plugins/amazing-hover-effects/shortcodes/circle.php on line 5
- > PHP Notice
Undefined variable: underline in wp-content/plugins/amazing-hover-effects/shortcodes/circle.php on line 16
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/amazing-hover-effects/shortcodes/circle.php on line 5
- > PHP Notice
Undefined variable: options in wp-content/plugins/amazing-hover-effects/shortcodes/circle.php on line 4
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/amazing-hover-effects/shortcodes/circle.php on line 4
- > PHP Notice
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
The readme.txt file uses markdown syntax to describe your plugin to the world
Please fix the following attributes:
- Tags: There are too many tags (13 tag instead of maximum 10)
amazing-hover-effects/amazing-hover-effects.php Passed 13 tests
"Amazing Hover Effects" version 2.4.9's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
112 characters long description:
Amazing Hover Effects is an impressive hover effects collection, powered by pure CSS3 and iHover, no dependency.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Good job! No executable or dangerous file extensions detected32,584 lines of code in 82 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 2 | 0 | 0 | 12,928 |
CSS | 9 | 312 | 40 | 8,328 |
JavaScript | 8 | 1,068 | 793 | 4,533 |
PHP | 49 | 1,294 | 1,052 | 3,450 |
Sass | 5 | 318 | 0 | 1,952 |
SVG | 1 | 0 | 0 | 655 |
PO File | 6 | 261 | 285 | 601 |
Markdown | 2 | 21 | 0 | 137 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
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.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 87.00 |
Average method complexity | 4.96 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 31.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 | 101 | |
▷ Static methods | 5 | 4.95% |
▷ Public methods | 101 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 52 | |
▷ Named functions | 52 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 11 | |
▷ Global constants | 11 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
15 PNG files occupy 0.11MB with 0.04MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/square2.png | 0.59KB | 0.40KB | ▼ 31.17% |
framework/config/img/square2.png | 0.59KB | 0.40KB | ▼ 31.17% |
framework/config/img/circle.png | 0.51KB | 0.37KB | ▼ 27.62% |
img/square.png | 0.59KB | 0.41KB | ▼ 31.14% |
framework/config/img/up_burst.png | 8.72KB | 3.13KB | ▼ 64.14% |