Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.02MB] [CPU: ▼318.25ms] Passed 4 tests
Server-side resources used by Admin Menu Filter
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.01 | 63.19 ▲11.31 |
Dashboard /wp-admin | 3.41 ▲0.01 | 36.15 ▼2.04 |
Posts /wp-admin/edit.php | 3.65 ▲0.01 | 39.41 ▼22.14 |
Add New Post /wp-admin/post-new.php | 6.88 ▼0.09 | 95.41 ▼1,251.67 |
Media Library /wp-admin/upload.php | 3.30 ▲0.00 | 26.89 ▲2.84 |
Server storage [IO: ▲0.00MB] [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: 2 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
A check of browser resources used by Admin Menu Filter
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,820 ▲98 | 15.80 ▼0.19 | 6.38 ▲0.86 | 3.06 ▲0.71 |
Dashboard /wp-admin | 2,896 ▲38 | 6.17 ▲0.01 | 118.12 ▼11.05 | 159.31 ▼3.46 |
Posts /wp-admin/edit.php | 2,695 ▲4 | 3.35 ▲0.11 | 101.90 ▲37.98 | 144.39 ▼4.59 |
Add New Post /wp-admin/post-new.php | 1,725 ▲64 | 21.24 ▲5.67 | 440.33 ▲13.11 | 200.36 ▼17.20 |
Media Library /wp-admin/upload.php | 1,699 ▲4 | 5.52 ▼0.00 | 143.27 ▲14.23 | 192.86 ▲11.04 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
This plugin's uninstaller ran successfully
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
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
Please fix the following
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/admin-menu-filter/admin-menu-filter.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
2 plugin tags: menu, admin
admin-menu-filter/admin-menu-filter.php Passed 13 tests
This is the main PHP file of "Admin Menu Filter" version 0.2.2, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
54 characters long description:
Add filter functionallity on the left menu in WP Admin
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Success! There were no dangerous files found in this plugin84 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 19 | 9 | 84 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
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 | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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 were not PNG files found in your plugin