Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.08MB] [CPU: ▼2.71ms] Passed 4 tests
Server-side resources used by Admin Menu Groups
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 38.75 ▼2.17 |
Dashboard /wp-admin | 3.38 ▲0.08 | 46.16 ▼0.00 |
Posts /wp-admin/edit.php | 3.49 ▲0.14 | 49.56 ▲5.02 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.10 | 86.48 ▼12.63 |
Media Library /wp-admin/upload.php | 3.30 ▲0.08 | 37.47 ▲3.98 |
Admin Menu Groups /wp-admin/options-general.php?page=admin-menu-groups | 3.25 | 37.71 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
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 |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Admin Menu Groups
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,908 ▲151 | 13.27 ▼1.13 | 4.83 ▲2.70 | 41.08 ▼3.05 |
Dashboard /wp-admin | 2,292 ▲104 | 4.89 ▼1.13 | 97.00 ▼7.82 | 39.37 ▼1.09 |
Posts /wp-admin/edit.php | 2,166 ▲74 | 2.02 ▲0.04 | 39.94 ▲3.02 | 36.13 ▲1.92 |
Add New Post /wp-admin/post-new.php | 1,529 ▼13 | 23.09 ▲4.75 | 640.54 ▲39.24 | 51.74 ▼5.01 |
Media Library /wp-admin/upload.php | 1,465 ▲74 | 4.19 ▲0.02 | 95.74 ▼1.04 | 41.40 ▼1.00 |
Admin Menu Groups /wp-admin/options-general.php?page=admin-menu-groups | 1,341 | 2.24 | 41.48 | 38.47 |
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
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Smoke test failed, please fix the following
- > GET request to /wp-admin/options-general.php?page=admin-menu-groups
- > Notice in wp-content/plugins/admin-menu-groups/settings.php+75
Trying to access array offset on value of type bool
SRP 50% from 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
Please take a closer look at the following
- 3× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/admin-menu-groups/admin-menu.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/admin-menu-groups/admin-menu.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/admin-menu-groups/settings.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 issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
2 plugin tags: admin, menu
admin-menu-groups/admin-menu-groups.php Passed 13 tests
"Admin Menu Groups" version 0.1.2's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
31 characters long description:
Create groups in the admin menu
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin1,493 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 3 | 115 | 16 | 600 |
PHP | 3 | 210 | 64 | 494 |
CSS | 3 | 21 | 8 | 399 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 23 | |
▷ Named functions | 23 | 100.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
There are no PNG files in this plugin