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
Install script ran successfully
Server metrics [RAM: ▲0.09MB] [CPU: ▼4.43ms] Passed 4 tests
Server-side resources used by Admin Menu Manager
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 38.49 ▼4.37 |
Dashboard /wp-admin | 3.39 ▲0.09 | 52.84 ▼1.48 |
Posts /wp-admin/edit.php | 3.51 ▲0.15 | 49.31 ▲1.95 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.10 | 86.79 ▼13.81 |
Media Library /wp-admin/upload.php | 3.32 ▲0.08 | 40.73 ▲3.92 |
Server storage [IO: ▲0.07MB] [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: 18 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Admin Menu Manager
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,813 ▲52 | 14.17 ▲0.06 | 1.79 ▼0.02 | 44.63 ▼1.21 |
Dashboard /wp-admin | 2,222 ▲45 | 5.65 ▼0.03 | 89.79 ▼7.69 | 43.68 ▼1.19 |
Posts /wp-admin/edit.php | 2,127 ▲24 | 2.25 ▲0.25 | 34.68 ▼1.89 | 34.84 ▼1.61 |
Add New Post /wp-admin/post-new.php | 1,548 ▲22 | 23.26 ▼0.16 | 672.60 ▼5.95 | 60.88 ▲5.92 |
Media Library /wp-admin/upload.php | 1,424 ▲27 | 4.19 ▼0.23 | 109.22 ▼2.58 | 44.60 ▼3.62 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
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 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
5 plugin tags: admin, admin menus, dashboard, order, menu
admin-menu-manager/admin-menu-manager.php Passed 13 tests
The main file in "Admin Menu Manager" v. 1.0.3 serves as a complement to information provided in readme.txt and as the entry point to the plugin
69 characters long description:
Manage the WordPress admin menu using a simple drag & drop interface.
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
Success! There were no dangerous files found in this plugin662 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 111 | 224 | 407 |
JavaScript | 2 | 34 | 44 | 179 |
PO File | 1 | 9 | 12 | 37 |
CSS | 2 | 6 | 8 | 22 |
JSON | 1 | 0 | 0 | 17 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 21.67 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 50.00 |
Average method complexity | 3.14 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 33.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 29 | |
▷ Static methods | 4 | 13.79% |
▷ Public methods | 21 | 72.41% |
▷ Protected methods | 3 | 10.34% |
▷ Private methods | 5 | 17.24% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
There are no PNG files in this plugin