Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.00MB] [CPU: ▼9.21ms] Passed 4 tests
Server-side resources used by Remove Super Admin from User List Table
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 53.13 ▲9.94 |
Dashboard /wp-admin | 3.31 ▼0.03 | 51.50 ▼22.97 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 48.82 ▲4.85 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 88.12 ▼15.35 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 37.48 ▼3.38 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Remove Super Admin from User List Table
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲3 | 14.16 ▼0.19 | 1.85 ▼0.15 | 45.77 ▲2.71 |
Dashboard /wp-admin | 2,192 ▲15 | 5.55 ▼0.02 | 97.14 ▲1.65 | 46.05 ▲5.61 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.99 ▲0.01 | 37.11 ▼3.40 | 33.02 ▼5.52 |
Add New Post /wp-admin/post-new.php | 1,528 ▲2 | 23.29 ▲0.08 | 701.10 ▲26.69 | 52.85 ▼3.99 |
Media Library /wp-admin/upload.php | 1,397 ▼6 | 4.25 ▲0.05 | 103.37 ▲2.75 | 50.81 ▲5.90 |
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
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
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
Please take a closer look at the following
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/remove-super-admin-from-user-list-table/remove_super_admin_from_usertable.php:11
- > 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 88% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Please fix the following attributes:
- Screenshots: Screenshot #1 (How it looks like when this plugin is network activated.) image missing
- Plugin Name: "Plugin Name" should be replaced with the name of your plugin on the first line (
=== remove-super-admin-from-user-list-table ===
)
remove-super-admin-from-user-list-table/remove_super_admin_from_usertable.php 92% from 13 tests
The entry point to "Remove Super Admin from User List Table" version 3.0 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("remove-super-admin-from-user-list-table.php" instead of "remove_super_admin_from_usertable.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected34 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 3 | 16 | 34 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 1.44 |
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
All PNG images should be compressed to minimize bandwidth usage for end users
1 PNG file occupies 0.08MB with 0.05MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 83.44KB | 29.61KB | ▼ 64.52% |