Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼291.90ms] Passed 4 tests
Analyzing server-side resources used by Admin menu remover
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.05 | 53.70 ▲3.16 |
Dashboard /wp-admin | 3.46 ▲0.05 | 34.15 ▲1.88 |
Posts /wp-admin/edit.php | 3.69 ▲0.05 | 40.11 ▲3.74 |
Add New Post /wp-admin/post-new.php | 6.93 ▼0.04 | 95.20 ▼1,173.14 |
Media Library /wp-admin/upload.php | 3.34 ▲0.05 | 25.87 ▲0.52 |
Admin menu remover /wp-admin/options-general.php?page=admin_menu_remover_settings_page | 3.33 | 23.12 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 3 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
This is an overview of browser requirements for Admin menu remover
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,768 ▲26 | 16.19 ▲0.61 | 5.83 ▼0.62 | 2.40 ▲0.38 |
Dashboard /wp-admin | 2,897 ▲36 | 6.12 ▼0.14 | 125.27 ▼13.33 | 165.11 ▲4.48 |
Posts /wp-admin/edit.php | 2,693 ▲2 | 3.23 ▼0.01 | 65.40 ▲1.79 | 142.99 ▲1.01 |
Add New Post /wp-admin/post-new.php | 1,755 ▲3 | 21.08 ▼0.72 | 430.81 ▼17.75 | 164.13 ▲13.22 |
Media Library /wp-admin/upload.php | 1,703 ▲5 | 5.44 ▼0.03 | 140.13 ▼2.85 | 189.77 ▲1.62 |
Admin menu remover /wp-admin/options-general.php?page=admin_menu_remover_settings_page | 1,372 | 2.36 | 53.66 | 112.76 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Uninstaller ran successfully
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 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
The following issues need your attention
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/admin-menu-remover/admin-menu-remover.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need your attention:
- Plugin Name: "Plugin Name" should be replaced with the name of your plugin on the first line (
=== admin-menu-remover ===
)
admin-menu-remover/admin-menu-remover.php 92% from 13 tests
The primary PHP file in "Admin menu remover" version 1.0 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 201 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
No dangerous file extensions were detected384 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 17 | 77 | 384 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
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 | 8 | |
▷ Named functions | 8 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin