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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.11MB] [CPU: ▼6.73ms] Passed 4 tests
A check of server-side resources used by WP Clean Admin Menu
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 36.65 ▼2.20 |
Dashboard /wp-admin | 3.43 ▲0.13 | 41.95 ▼8.06 |
Posts /wp-admin/edit.php | 3.46 ▲0.11 | 45.85 ▲1.47 |
Add New Post /wp-admin/post-new.php | 6.12 ▲0.23 | 79.56 ▼16.04 |
Media Library /wp-admin/upload.php | 3.36 ▲0.14 | 32.40 ▼0.63 |
WP Clean Admin Menu /wp-admin/options-general.php?page=wp-clean-admin-menu_options | 3.32 | 37.39 |
Server storage [IO: ▲0.45MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by WP Clean Admin Menu
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,823 ▲77 | 13.30 ▼1.08 | 1.69 ▼0.00 | 40.36 ▲0.77 |
Dashboard /wp-admin | 2,226 ▲34 | 5.87 ▲0.95 | 99.39 ▼11.45 | 38.65 ▼4.31 |
Posts /wp-admin/edit.php | 2,112 ▲20 | 2.07 ▲0.05 | 40.95 ▲1.56 | 36.02 ▲3.08 |
Add New Post /wp-admin/post-new.php | 1,552 ▲24 | 23.29 ▲4.79 | 642.00 ▲30.24 | 49.37 ▼8.05 |
Media Library /wp-admin/upload.php | 1,414 ▲23 | 4.26 ▲0.03 | 97.54 ▼4.32 | 42.38 ▼0.06 |
WP Clean Admin Menu /wp-admin/options-general.php?page=wp-clean-admin-menu_options | 2,012 | 2.11 | 26.49 | 45.15 |
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
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however 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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
4 plugin tags: wp clean admin menu, wordpress clean admin menu, clean admin menu, wp hide admin menu
wp-clean-admin-menu/wp-clean-admin-menu.php Passed 13 tests
The main PHP script in "WP Clean Admin Menu" version 3.2.1 is automatically included on every request by WordPress
79 characters long description:
Simplify WordPress admin-menu by hiding the rarely used admin-menu items/links.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Everything looks great! No dangerous files found in this plugin484 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 132 | 87 | 484 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 58.00 |
▷ Minimum class complexity | 58.00 |
▷ Maximum class complexity | 58.00 |
Average method complexity | 6.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 23.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 11 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 10 | 90.91% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 9.09% |
Functions | 1 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 1 | 100.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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
1 PNG file occupies 0.43MB with 0.30MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
wp-clean-admin-menu-pro.png | 442.30KB | 133.62KB | ▼ 69.79% |