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
Install script ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼8.73ms] Passed 4 tests
An overview of server-side resources used by HA Background Color Customizer
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 36.78 ▼2.67 |
Dashboard /wp-admin | 3.36 ▲0.02 | 42.91 ▼18.41 |
Posts /wp-admin/edit.php | 3.42 ▲0.06 | 40.69 ▼6.59 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 84.93 ▼7.24 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 34.22 ▼1.07 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for HA Background Color Customizer
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,811 ▲50 | 14.25 ▼0.03 | 1.78 ▲0.27 | 43.58 ▲0.09 |
Dashboard /wp-admin | 2,217 ▲40 | 5.58 ▼0.08 | 85.92 ▼2.94 | 40.36 ▲2.19 |
Posts /wp-admin/edit.php | 2,119 ▲19 | 2.04 ▲0.09 | 38.43 ▼0.99 | 36.60 ▼2.75 |
Add New Post /wp-admin/post-new.php | 1,540 ▲14 | 23.04 ▼0.04 | 602.22 ▼16.08 | 46.44 ▼26.98 |
Media Library /wp-admin/upload.php | 1,419 ▲16 | 4.26 ▲0.02 | 99.34 ▼6.26 | 43.05 ▼2.45 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for 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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
8 plugin tags: custom background colors, change nav background color, change body background color, change background colors, change dropdown background color...
ha-background-color-customizer/ha-background-color-customizer.php Passed 13 tests
The main file in "HA Background Color Customizer" v. 1.1.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
127 characters long description:
Customize Background color of page body, header, footer, nav/nav:hover, button/button:hover, dropdown menu, dropdown tab hover.
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 plugin387 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 123 | 53 | 320 |
CSS | 1 | 14 | 0 | 67 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
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 | 2 | |
▷ Global constants | 2 | 100.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
No PNG files were detected