Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.23MB] [CPU: ▲4.32ms] Passed 4 tests
Server-side resources used by Simple Custom Admin
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.69 ▲0.24 | 45.66 ▲5.74 |
Dashboard /wp-admin | 3.53 ▲0.22 | 50.87 ▲2.71 |
Posts /wp-admin/edit.php | 3.64 ▲0.28 | 50.96 ▼0.45 |
Add New Post /wp-admin/post-new.php | 6.13 ▲0.24 | 109.51 ▲11.98 |
Media Library /wp-admin/upload.php | 3.45 ▲0.22 | 43.68 ▲9.27 |
Custom Admin Settings /wp-admin/options-general.php?page=simple_custom_admin_settings | 3.45 | 46.72 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 21 new files
Database: no new tables, 8 new options
New WordPress options |
---|
can_compress_scripts |
csa1_user_role_name |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
simple_custom_admin_version |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Simple Custom Admin
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,808 ▲73 | 14.45 ▼0.30 | 1.71 ▼0.12 | 43.92 ▲1.40 |
Dashboard /wp-admin | 2,214 ▲29 | 5.85 ▲0.95 | 96.33 ▼5.23 | 39.87 ▼3.02 |
Posts /wp-admin/edit.php | 2,097 ▲11 | 2.02 ▼0.01 | 34.19 ▼2.67 | 38.45 ▲6.40 |
Add New Post /wp-admin/post-new.php | 1,521 ▼12 | 23.25 ▼0.02 | 600.35 ▼73.69 | 66.08 ▲14.82 |
Media Library /wp-admin/upload.php | 1,396 ▲5 | 4.24 ▲0.04 | 97.38 ▼3.97 | 41.01 ▼4.37 |
Custom Admin Settings /wp-admin/options-general.php?page=simple_custom_admin_settings | 1,074 | 3.20 | 50.58 | 26.96 |
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 were found after uninstall: 8 options
- simple_custom_admin_version
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- csa1_user_role_name
- db_upgraded
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
SRP Passed 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 SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
6 plugin tags: dashboard, template, wordpress, admin, plugin...
simple-custom-admin/simple-custom-admin.php 92% from 13 tests
The principal PHP file in "Simple Custom Admin" v. 1.2 is loaded by WordPress automatically on each request
You should first fix the following items:
- Requires at least: Required version does not match the one declared in readme.txt ("3.9" instead of "4.0")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin1,075 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 194 | 680 | 986 |
JavaScript | 4 | 16 | 6 | 54 |
Markdown | 1 | 11 | 0 | 35 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 30.75 |
▷ Minimum class complexity | 10.00 |
▷ Maximum class complexity | 61.00 |
Average method complexity | 2.86 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 43.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 64 | |
▷ Static methods | 2 | 3.12% |
▷ Public methods | 62 | 96.88% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 3.12% |
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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG files were detected