Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.15MB] [CPU: ▼0.54ms] Passed 4 tests
This is a short check of server-side resources used by Menu Hover Effects - CSS Menu Effects
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.12 | 36.64 ▼14.33 |
Dashboard /wp-admin | 3.47 ▲0.17 | 47.30 ▲0.07 |
Posts /wp-admin/edit.php | 3.58 ▲0.23 | 50.73 ▲3.58 |
Add New Post /wp-admin/post-new.php | 6.05 ▲0.16 | 98.99 ▲8.54 |
Media Library /wp-admin/upload.php | 3.39 ▲0.17 | 40.91 ▲8.94 |
Menu effects /wp-admin/options-general.php?page=wpme_settings | 3.53 | 36.64 |
Server storage [IO: ▲0.67MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 57 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
Menu Hover Effects - CSS Menu Effects: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,901 ▲166 | 13.67 ▼0.73 | 7.64 ▲5.48 | 39.70 ▼3.12 |
Dashboard /wp-admin | 2,210 ▲22 | 4.89 ▲0.01 | 110.88 ▲6.07 | 43.03 ▼1.06 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.03 ▲0.03 | 39.10 ▼1.95 | 35.12 ▼1.65 |
Add New Post /wp-admin/post-new.php | 1,537 ▲4 | 23.11 ▼0.23 | 585.49 ▼77.14 | 49.07 ▼10.31 |
Media Library /wp-admin/upload.php | 1,395 ▲7 | 4.17 ▼0.02 | 101.57 ▼0.57 | 42.38 ▼0.88 |
Menu effects /wp-admin/options-general.php?page=wpme_settings | 1,587 | 3.26 | 76.67 | 28.34 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
- 25× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/wp-menu-effects/core/frontend/effects/3d-rolling-links.php:64
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/wp-menu-effects/core/frontend/effects/same-word-slide-in.php:43
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/wp-menu-effects/core/frontend/effects/reveal-push-out.php:61
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/wp-menu-effects/core/wpme.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/wp-menu-effects/core/frontend/effects/border-switch.php:78
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/wp-menu-effects/core/wpme.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/wp-menu-effects/core/frontend/effects/border-slight-translate.php:53
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/wp-menu-effects/core/frontend/effects/move-up-fade-out-push-border.php:61
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/wp-menu-effects/core/frontend/effects/second-text-and-borders.php:92
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/wp-menu-effects/core/frontend/effects/text-fill.php:38
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
6 plugin tags: css menu effects, css menu hover effects, menu animations, css menu animations, menu hover effects...
wp-menu-effects/index.php 85% from 13 tests
The main file in "Menu Hover Effects - CSS Menu Effects" v. 1.0.2 serves as a complement to information provided in readme.txt and as the entry point to the plugin
It is important to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("wp-menu-effects.php" instead of "index.php")
- Domain Path: The domain path points to an invalid folder, "/lang" does not exist
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
No dangerous file extensions were detected2,711 lines of code in 34 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 29 | 356 | 104 | 1,760 |
CSS | 2 | 105 | 21 | 830 |
JavaScript | 3 | 51 | 8 | 121 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 16.20 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 40.00 |
Average method complexity | 3.24 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 17.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 1 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 35 | |
▷ Static methods | 1 | 2.86% |
▷ Public methods | 34 | 97.14% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 2.86% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 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
There are no PNG files in this plugin