Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼2.43ms] Passed 4 tests
This is a short check of server-side resources used by Hide Admin Menu Items
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 41.46 ▼5.08 |
Dashboard /wp-admin | 3.34 ▲0.03 | 51.30 ▼5.54 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 52.32 ▼1.15 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 98.70 ▲2.41 |
Media Library /wp-admin/upload.php | 3.27 ▲0.03 | 39.44 ▲2.04 |
Hide items /wp-admin/options-general.php?page=hide-admin-menu-items | 3.24 | 40.06 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 11 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
hami_menu_items |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Hide Admin Menu Items
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.35 ▼0.20 | 1.92 ▼0.35 | 44.46 ▼2.82 |
Dashboard /wp-admin | 2,196 ▲19 | 5.53 ▼0.04 | 85.47 ▼21.93 | 40.89 ▼14.61 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.07 ▲0.11 | 40.80 ▲2.20 | 35.54 ▲0.84 |
Add New Post /wp-admin/post-new.php | 1,529 ▲3 | 23.11 ▼0.03 | 630.55 ▼27.08 | 56.97 ▲5.58 |
Media Library /wp-admin/upload.php | 1,407 ▲10 | 4.20 ▼0.00 | 100.72 ▼4.74 | 42.68 ▼6.54 |
Hide items /wp-admin/options-general.php?page=hide-admin-menu-items | 919 | 2.06 | 25.31 | 40.42 |
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
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
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)
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
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
6 plugin tags: dashboard, items, admin-area, admin menu, menu...
hide-admin-menu-items/hide-admin-menu-items.php Passed 13 tests
The entry point to "Hide Admin Menu Items" version 1.0.0 is a PHP file that has certain tags in its header comment area
34 characters long description:
Hide unnecessary admin menu items.
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
Everything looks great! No dangerous files found in this plugin228 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 37 | 57 | 128 |
CSS | 2 | 6 | 0 | 44 |
PO File | 1 | 5 | 8 | 29 |
JavaScript | 2 | 5 | 0 | 27 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 13.00 |
▷ Minimum class complexity | 13.00 |
▷ Maximum class complexity | 13.00 |
Average method complexity | 2.20 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.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 | 10 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 10 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.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
PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin