Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▼0.01MB] [CPU: ▼12.45ms] Passed 4 tests
An overview of server-side resources used by Simple Admin Menus
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 43.37 ▼1.79 |
Dashboard /wp-admin | 3.31 ▼0.04 | 50.38 ▼20.12 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 45.95 ▼8.55 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 87.81 ▼19.33 |
Media Library /wp-admin/upload.php | 3.24 ▲0.00 | 39.51 ▲1.84 |
Link Categories /wp-admin/edit-tags.php?taxonomy=link_category | 3.05 | 29.62 |
Server storage [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
Simple Admin Menus: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,627 ▼134 | 14.33 ▼0.24 | 1.84 ▲0.13 | 45.64 ▼1.61 |
Dashboard /wp-admin | 2,030 ▼150 | 5.61 ▼0.11 | 93.12 ▼8.83 | 41.75 ▼3.97 |
Posts /wp-admin/edit.php | 1,938 ▼162 | 1.96 ▲0.01 | 35.58 ▼1.59 | 33.22 ▼3.42 |
Add New Post /wp-admin/post-new.php | 1,395 ▼131 | 23.57 ▲0.51 | 670.88 ▼26.32 | 65.82 ▼1.11 |
Media Library /wp-admin/upload.php | 1,238 ▼162 | 4.20 ▲0.12 | 104.70 ▼10.43 | 47.11 ▼0.06 |
Link Categories /wp-admin/edit-tags.php?taxonomy=link_category | 31 | 0.42 | 0.07 | 6.98 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The following issues need your attention
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/simple-admin-menus/simple-admin-menus.php:40
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
These are user-side errors you should fix
- > GET request to /wp-admin/edit-tags.php?taxonomy=link_category
- > Network (severe)
wp-admin/edit-tags.php?taxonomy=link_category - Failed to load resource: the server responded with a status of 403 (Forbidden)
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
4 plugin tags: wordpress admin, menu, menus, clutter
simple-admin-menus/simple-admin-menus.php Passed 13 tests
This is the main PHP file of "Simple Admin Menus" version 0.2.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
40 characters long description:
Hides unwanted menus in WordPress admin.
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
Everything looks great! No dangerous files found in this plugin12 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 5 | 24 | 12 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.50 |
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 | 1 | |
▷ Named functions | 1 | 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 were not PNG files found in your plugin