Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲1.41MB] [CPU: ▲3.04ms] Passed 4 tests
This is a short check of server-side resources used by Easy Admin Color Schemes
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.69 ▲0.23 | 39.82 ▲1.08 |
Dashboard /wp-admin | 5.39 ▲2.09 | 57.84 ▲4.28 |
Posts /wp-admin/edit.php | 5.39 ▲2.04 | 53.75 ▲6.78 |
Add New Post /wp-admin/post-new.php | 7.19 ▲1.30 | 89.80 ▲0.03 |
Media Library /wp-admin/upload.php | 5.39 ▲2.17 | 45.63 ▲8.88 |
Add New /wp-admin/post-new.php?post_type=admincolorscheme | 5.40 | 49.95 |
Import /wp-admin/edit.php?post_type=admincolorscheme&page=eacs-import | 5.40 | 37.75 |
All Admin Color Schemes /wp-admin/edit.php?post_type=admincolorscheme | 5.41 | 45.98 |
Export /wp-admin/edit.php?post_type=admincolorscheme&page=eacs-export | 5.40 | 33.07 |
Settings /wp-admin/edit.php?post_type=admincolorscheme&page=eacs-settings | 5.40 | 36.39 |
Server storage [IO: ▲1.22MB] [DB: ▲1.02MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 23 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Easy Admin Color Schemes
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲68 | 14.35 ▲0.07 | 1.84 ▼0.00 | 47.92 ▼0.88 |
Dashboard /wp-admin | 2,223 ▲46 | 5.56 ▲0.04 | 87.27 ▼4.82 | 74.38 ▲36.14 |
Posts /wp-admin/edit.php | 2,140 ▲40 | 1.97 ▲0.03 | 37.67 ▼1.27 | 36.21 ▼1.27 |
Add New Post /wp-admin/post-new.php | 1,713 ▲187 | 22.30 ▼0.67 | 713.00 ▲12.01 | 61.95 ▲3.78 |
Media Library /wp-admin/upload.php | 1,440 ▲43 | 4.23 ▲0.02 | 101.76 ▼8.40 | 79.57 ▲35.24 |
Add New /wp-admin/post-new.php?post_type=admincolorscheme | 3,588 | 6.78 | 143.85 | 92.20 |
Import /wp-admin/edit.php?post_type=admincolorscheme&page=eacs-import | 850 | 2.05 | 27.07 | 33.88 |
All Admin Color Schemes /wp-admin/edit.php?post_type=admincolorscheme | 1,954 | 2.21 | 47.33 | 37.40 |
Export /wp-admin/edit.php?post_type=admincolorscheme&page=eacs-export | 28 | 0.42 | 0.08 | 4.88 |
Settings /wp-admin/edit.php?post_type=admincolorscheme&page=eacs-settings | 1,048 | 2.17 | 24.96 | 33.73 |
Uninstaller [IO: ▲0.00MB] [DB: ▲1.02MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Smoke test failed, please fix the following
- 2 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=admincolorscheme&page=eacs-settings
- > User deprecated in wp-includes/functions.php+5463
Function screen_icon is deprecated since version 3.8.0 with no alternative available.
- 2 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=admincolorscheme&page=eacs-settings
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/edit.php?post_type=admincolorscheme&page=eacs-import
- > User deprecated in wp-includes/functions.php+5453
Function wp_convert_bytes_to_hr is deprecated since version 3.6.0! Use size_format() instead.
- 5 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=admincolorscheme
- > Notice in wp-content/plugins/easy-admin-color-schemes/easy-admin-color-schemes.php+613
Only variables should be passed by reference
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following
- 2× PHP files output text when accessed directly:
- > /wp-content/plugins/easy-admin-color-schemes/easy-admin-color-schemes.php
- > /wp-content/plugins/easy-admin-color-schemes/includes/php/default-schemes.php
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please fix the following browser errors
- > GET request to /wp-admin/edit.php?post_type=admincolorscheme&page=eacs-export
- > Network (severe)
wp-admin/edit.php?post_type=admincolorscheme&page=eacs-export - Failed to load resource: the server responded with a status of 500 (Internal Server Error)
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% 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
Attributes that require attention:
- Screenshots: Please add images for these screenshots: #1 (The All Admin Color Schemes page), #2 (The Add/Edit Admin Color Scheme page), #3 (The Import Admin Color Scheme page), #4 (The Export Admin Color Scheme dialog), #5 (The Admin Color Schemes Settings page)
- Tags: There are too many tags (20 tag instead of maximum 10)
easy-admin-color-schemes/easy-admin-color-schemes.php Passed 13 tests
The main file in "Easy Admin Color Schemes" v. 4.2 serves as a complement to information provided in readme.txt and as the entry point to the plugin
122 characters long description:
Easy Admin Color Schemes allows users to easily customize the look and feel of the administration interface for WordPress.
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
Everything looks great! No dangerous files found in this plugin1,104 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 197 | 94 | 851 |
JavaScript | 4 | 55 | 60 | 131 |
CSS | 8 | 64 | 120 | 122 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.69 |
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 | 51 | |
▷ Named functions | 51 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 21 | |
▷ Global constants | 21 | 100.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
7 PNG files occupy 0.11MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/img/icon16.png | 0.80KB | 0.92KB | 0.00% |
screenshot-2.png | 40.33KB | 26.42KB | ▼ 34.48% |
screenshot-4.png | 10.90KB | 9.09KB | ▼ 16.62% |
screenshot-5.png | 13.85KB | 9.68KB | ▼ 30.14% |
includes/img/icon32.png | 2.37KB | 1.65KB | ▼ 30.26% |