Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.15MB] [CPU: ▼4.02ms] Passed 4 tests
This is a short check of server-side resources used by Admin Menu Organizer
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.13 | 37.18 ▼11.74 |
Dashboard /wp-admin | 3.46 ▲0.16 | 47.98 ▼1.88 |
Posts /wp-admin/edit.php | 3.58 ▲0.22 | 50.75 ▲1.17 |
Add New Post /wp-admin/post-new.php | 6.06 ▲0.18 | 88.19 ▼3.63 |
Media Library /wp-admin/upload.php | 3.38 ▲0.16 | 37.89 ▲4.22 |
Admin Menu Organizer /wp-admin/admin.php?page=ams_settings | 3.37 | 34.76 |
Import / Export /wp-admin/admin.php?page=ams_import_export | 3.35 | 35.08 |
User Settings /wp-admin/admin.php?page=ams_preferences_page | 3.37 | 33.15 |
Global Settings /wp-admin/admin.php?page=ams_global_settings_page | 3.35 | 34.42 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Admin Menu Organizer
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,860 ▲89 | 13.51 ▼0.91 | 1.80 ▼1.17 | 40.26 ▼21.03 |
Dashboard /wp-admin | 2,269 ▲81 | 5.15 ▲0.23 | 108.94 ▼0.84 | 38.28 ▼9.93 |
Posts /wp-admin/edit.php | 2,132 ▲43 | 2.55 ▲0.59 | 38.71 ▼2.50 | 30.23 ▼5.80 |
Add New Post /wp-admin/post-new.php | 1,568 ▲40 | 23.22 ▲5.08 | 639.93 ▲37.06 | 34.75 ▼14.95 |
Media Library /wp-admin/upload.php | 1,456 ▲71 | 4.53 ▲0.33 | 88.81 ▼17.82 | 40.08 ▼3.20 |
Admin Menu Organizer /wp-admin/admin.php?page=ams_settings | 1,531 | 2.64 | 52.73 | 42.97 |
Import / Export /wp-admin/admin.php?page=ams_import_export | 867 | 2.14 | 30.72 | 30.70 |
User Settings /wp-admin/admin.php?page=ams_preferences_page | 1,464 | 2.97 | 59.11 | 26.27 |
Global Settings /wp-admin/admin.php?page=ams_global_settings_page | 1,178 | 2.16 | 30.43 | 26.27 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Please fix the following server-side errors
- > GET request to /wp-admin/admin.php?page=ams_preferences_page
- > Notice in wp-content/plugins/admin-menu-organizer/admin_pages/preferences.php+127
Undefined index: expander_hover_background
- > GET request to /wp-admin/admin.php?page=ams_preferences_page
- > Notice in wp-content/plugins/admin-menu-organizer/admin_pages/preferences.php+136
Undefined index: expander_hover_foreground
SRP 50% from 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
The following issues need your attention
- 6× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_current_user_id() in wp-content/plugins/admin-menu-organizer/admin_pages/preferences.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/admin-menu-organizer/ajax.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function admin_url() in wp-content/plugins/admin-menu-organizer/admin_pages/import_export.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_create_nonce() in wp-content/plugins/admin-menu-organizer/admin_pages/global.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function get_current_user_id() in wp-content/plugins/admin-menu-organizer/admin_pages/sorter.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/admin-menu-organizer/ajax.php:3
- > PHP Fatal error
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)
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that need to be fixed:
- Requires php: Invalid version format
admin-menu-organizer/admin-menu-organizer.php Passed 13 tests
The main PHP script in "Admin Menu Organizer" version 1.0.1 is automatically included on every request by WordPress
48 characters long description:
Arrange your admin menu into expandable sections
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Good job! No executable or dangerous file extensions detected1,996 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 622 | 73 | 1,356 |
CSS | 1 | 56 | 15 | 343 |
JavaScript | 1 | 120 | 19 | 297 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 70.50 |
▷ Minimum class complexity | 11.00 |
▷ Maximum class complexity | 130.00 |
Average method complexity | 4.56 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 25.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 39 | |
▷ Static methods | 4 | 10.26% |
▷ Public methods | 39 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 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