Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.08MB] [CPU: ▼0.02ms] Passed 4 tests
An overview of server-side resources used by Admin Color Schemer
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 40.18 ▼4.72 |
Dashboard /wp-admin | 3.39 ▲0.08 | 49.50 ▲1.08 |
Posts /wp-admin/edit.php | 3.50 ▲0.14 | 51.94 ▲6.64 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 93.18 ▲2.92 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 36.82 ▲0.63 |
Admin Colors /wp-admin/tools.php?page=admin-color-schemer | 3.29 | 34.00 |
Server storage [IO: ▲0.29MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 62 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Admin Color Schemer
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.34 ▲0.13 | 1.50 ▼0.34 | 40.21 ▼3.74 |
Dashboard /wp-admin | 2,199 ▲19 | 5.62 ▲0.10 | 82.63 ▼17.54 | 43.38 ▲0.98 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 1.97 ▼0.02 | 38.80 ▲2.72 | 35.04 ▼0.40 |
Add New Post /wp-admin/post-new.php | 1,529 ▲1 | 23.78 ▲0.55 | 608.80 ▼48.45 | 55.85 ▼4.34 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.28 ▲0.15 | 102.41 ▼8.86 | 44.16 ▼2.37 |
Admin Colors /wp-admin/tools.php?page=admin-color-schemer | 4,726 | 3.50 | 167.69 | 27.26 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
SRP 0% 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
The following issues need your attention
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/admin-color-schemer/lib/phpsass/compile-apache.php
- 27× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'SassNode' not found in wp-content/plugins/admin-color-schemer/lib/phpsass/tree/SassRuleNode.php:18
- > PHP Fatal error
Uncaught Error: Class 'SassNode' not found in wp-content/plugins/admin-color-schemer/lib/phpsass/tree/SassFunctionDefinitionNode.php:18
- > PHP Fatal error
Uncaught Error: Class 'SassRenderer' not found in wp-content/plugins/admin-color-schemer/lib/phpsass/renderers/SassCompressedRenderer.php:19
- > PHP Fatal error
Uncaught Error: Class 'SassNode' not found in wp-content/plugins/admin-color-schemer/lib/phpsass/tree/SassCommentNode.php:18
- > PHP Fatal error
Uncaught Error: Class 'SassRenderer' not found in wp-content/plugins/admin-color-schemer/lib/phpsass/renderers/SassCompressedRenderer.php:19
- > PHP Fatal error
Uncaught Error: Class 'SassNode' not found in wp-content/plugins/admin-color-schemer/lib/phpsass/tree/SassMixinNode.php:18
- > PHP Fatal error
Uncaught Error: Class 'SassNode' not found in wp-content/plugins/admin-color-schemer/lib/phpsass/tree/SassReturnNode.php:18
- > PHP Fatal error
Uncaught Error: Class 'SassNode' not found in wp-content/plugins/admin-color-schemer/lib/phpsass/tree/SassForNode.php:28
- > PHP Fatal error
Uncaught Error: Class 'SassNode' not found in wp-content/plugins/admin-color-schemer/lib/phpsass/tree/SassImportNode.php:18
- > PHP Fatal error
Uncaught Error: Class 'SassNode' not found in wp-content/plugins/admin-color-schemer/lib/phpsass/tree/SassDebugNode.php:18
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
There were not plugin tags detected
admin-color-schemer/admin-color-schemer.php 92% from 13 tests
The principal PHP file in "Admin Color Schemer" v. 1.1 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Domain Path: The domain path folder was not found ("/languages")
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
There were no executable files found in this plugin5,477 lines of code in 60 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 56 | 1,049 | 3,845 | 5,380 |
JSON | 1 | 0 | 0 | 38 |
JavaScript | 1 | 6 | 2 | 30 |
YAML | 1 | 0 | 1 | 18 |
CSS | 1 | 2 | 0 | 11 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 12.58 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 131.00 |
Average method complexity | 2.98 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 29.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 76 | |
▷ Abstract classes | 1 | 1.32% |
▷ Concrete classes | 75 | 98.68% |
▷ Final classes | 0 | 0.00% |
Methods | 446 | |
▷ Static methods | 100 | 22.42% |
▷ Public methods | 410 | 91.93% |
▷ Protected methods | 19 | 4.26% |
▷ Private methods | 17 | 3.81% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 150 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 150 | 100.00% |
▷ Public constants | 150 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
There were not PNG files found in your plugin