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
Installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼5.12ms] Passed 4 tests
Server-side resources used by Manage WordPress Admin Menus Access
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 39.30 ▼15.52 |
Dashboard /wp-admin | 3.34 ▲0.04 | 46.65 ▼0.78 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 50.43 ▲3.73 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 82.99 ▼7.89 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 38.90 ▲4.21 |
Manage Access /wp-admin/admin.php?page=manage_access_sub | 3.23 | 32.53 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Manage WordPress Admin Menus Access
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,822 ▲76 | 13.16 ▼1.21 | 1.59 ▼0.29 | 38.26 ▼6.84 |
Dashboard /wp-admin | 2,228 ▲40 | 5.84 ▼0.01 | 109.04 ▼7.42 | 82.59 ▲40.44 |
Posts /wp-admin/edit.php | 2,117 ▲28 | 2.03 ▼0.03 | 38.62 ▲2.20 | 32.81 ▲0.22 |
Add New Post /wp-admin/post-new.php | 1,538 ▲19 | 23.09 ▼0.06 | 756.10 ▲52.44 | 50.19 ▼15.21 |
Media Library /wp-admin/upload.php | 1,413 ▲28 | 4.21 ▼0.10 | 110.88 ▲6.76 | 51.78 ▲5.55 |
Manage Access /wp-admin/admin.php?page=manage_access_sub | 1,425 | 1.69 | 25.22 | 35.03 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
Smoke tests 75% from 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 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
The following issues need your attention
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wpadminmenuaccess/wpadminmenuaccess.php:15
- > 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)
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 81% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need your attention:
- License: Empty value
- Donate link: Invalid URI found ("")
- License uri: Invalid URI found ("")
wpadminmenuaccess/wpadminmenuaccess.php Passed 13 tests
The main PHP file in "Manage WordPress Admin Menus Access" ver. 1.1 adds more information about the plugin and also serves as the entry point for this plugin
35 characters long description:
Manage WordPress Admin Menus Access
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
There were no executable files found in this plugin216 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 15 | 15 | 193 |
CSS | 1 | 1 | 0 | 23 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.61 |
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 | 6 | |
▷ Named functions | 6 | 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
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
icon/dbcoss_icon_g.png | 1.69KB | 0.87KB | ▼ 48.44% |