Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼3.93ms] Passed 4 tests
An overview of server-side resources used by Clean WP Admin Menu
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 46.07 ▲5.66 |
Dashboard /wp-admin | 3.36 ▲0.06 | 51.77 ▲0.66 |
Posts /wp-admin/edit.php | 3.48 ▲0.12 | 48.03 ▼2.96 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.08 | 85.44 ▼19.09 |
Media Library /wp-admin/upload.php | 3.28 ▲0.06 | 39.67 ▲6.12 |
Clean Admin Menu /wp-admin/options-general.php?page=clean-wp-admin-menu_options | 3.28 | 34.56 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 19 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Clean WP Admin Menu
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,809 ▲48 | 14.48 ▲0.13 | 2.43 ▲0.67 | 46.85 ▲2.85 |
Dashboard /wp-admin | 2,218 ▲41 | 5.67 ▲0.07 | 94.87 ▼5.13 | 42.25 ▼0.75 |
Posts /wp-admin/edit.php | 2,120 ▲20 | 2.01 ▲0.01 | 37.39 ▲1.87 | 33.36 ▼3.10 |
Add New Post /wp-admin/post-new.php | 1,544 ▲17 | 23.21 ▲0.12 | 700.34 ▲5.27 | 70.94 ▼0.81 |
Media Library /wp-admin/upload.php | 1,420 ▲23 | 4.22 ▲0.09 | 110.73 ▲5.68 | 46.76 ▲0.62 |
Clean Admin Menu /wp-admin/options-general.php?page=clean-wp-admin-menu_options | 967 | 2.01 | 24.28 | 30.53 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means 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
Almost there! Just fix the following items
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/clean-wp-admin-menu/admin/partials/clean-wp-admin-menu-admin-display.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
6 plugin tags: menu, design, interface, admin, dashboard...
clean-wp-admin-menu/clean-wp-admin-menu.php Passed 13 tests
Analyzing the main PHP file in "Clean WP Admin Menu" version 1.0.1
56 characters long description:
You can make rarely used items in the admin menu hidden.
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 detected354 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 148 | 453 | 295 |
Sass | 1 | 5 | 0 | 27 |
CSS | 1 | 2 | 1 | 20 |
JavaScript | 1 | 8 | 8 | 12 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
Average class complexity | 3.33 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 13.00 |
Average method complexity | 1.58 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 25 | |
▷ Static methods | 2 | 8.00% |
▷ Public methods | 20 | 80.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 20.00% |
Functions | 4 | |
▷ Named functions | 3 | 75.00% |
▷ Anonymous functions | 1 | 25.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
PNG images were not found in this plugin