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 successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.00MB] [CPU: ▼7.45ms] Passed 4 tests
This is a short check of server-side resources used by Custom Toolbar Color
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 38.39 ▼8.09 |
Dashboard /wp-admin | 3.31 ▼0.03 | 54.26 ▼15.64 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 51.17 ▲3.91 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 95.43 ▼7.91 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 39.48 ▲1.84 |
Custom Toolbar Color /wp-admin/options-general.php?page=custom-toolbar-color | 3.20 | 33.67 |
Server storage [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
Custom Toolbar Color: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,818 ▲57 | 14.35 ▲0.06 | 1.75 ▼0.11 | 45.41 ▲1.38 |
Dashboard /wp-admin | 2,199 ▲19 | 5.52 ▼0.15 | 87.74 ▼5.32 | 38.55 ▼2.30 |
Posts /wp-admin/edit.php | 2,104 ▲7 | 2.00 ▼0.03 | 39.21 ▲2.77 | 36.91 ▼1.65 |
Add New Post /wp-admin/post-new.php | 1,541 ▲13 | 22.87 ▼0.41 | 663.06 ▲37.33 | 54.93 ▼6.25 |
Media Library /wp-admin/upload.php | 1,404 ▲1 | 4.23 ▲0.02 | 95.80 ▼10.06 | 40.87 ▼8.16 |
Custom Toolbar Color /wp-admin/options-general.php?page=custom-toolbar-color | 795 | 2.00 | 24.55 | 26.45 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 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 detected upon uninstall: 6 options
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
2 plugin tags: admin, color
custom-toolbar-color/custom-toolbar-color.php Passed 13 tests
The main file in "Custom Toolbar Color" v. 1.0.4 serves as a complement to information provided in readme.txt and as the entry point to the plugin
53 characters long description:
Change the background color of the WordPress toolbar.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
No dangerous file extensions were detected42 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 7 | 10 | 42 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.17 |
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 | 4 | |
▷ Named functions | 4 | 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