Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.06MB] [CPU: ▼286.73ms] Passed 4 tests
This is a short check of server-side resources used by Fabulous Background Colors
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.63 ▲0.12 | 58.67 ▼1.24 |
Dashboard /wp-admin | 3.49 ▲0.08 | 37.79 ▲4.91 |
Posts /wp-admin/edit.php | 3.72 ▲0.08 | 36.00 ▼1.09 |
Add New Post /wp-admin/post-new.php | 6.96 ▼0.01 | 95.64 ▼1,144.54 |
Media Library /wp-admin/upload.php | 3.37 ▲0.08 | 27.38 ▼0.06 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 6 new files
Database: 1 new table, no new options
New tables |
---|
wp_fcb_einstellungen |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Fabulous Background Colors
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,806 ▲84 | 15.68 ▼0.10 | 6.93 ▲0.80 | 2.08 ▲0.02 |
Dashboard /wp-admin | 2,900 ▲46 | 6.12 ▼0.07 | 125.57 ▼19.43 | 164.64 ▼12.11 |
Posts /wp-admin/edit.php | 2,707 ▲19 | 3.24 ▲0.00 | 62.10 ▼2.25 | 197.33 ▲58.57 |
Add New Post /wp-admin/post-new.php | 1,732 ▲22 | 21.04 ▲0.29 | 433.09 ▼18.60 | 160.26 ▼12.30 |
Media Library /wp-admin/upload.php | 1,720 ▲26 | 5.51 ▼0.03 | 150.76 ▼24.62 | 191.74 ▲3.41 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The plugin uninstalled successfully, without leaving any zombie files or tables
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
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
The following issues need your attention
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/fabulous-background-colors/fabulous-background-colors.php
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
7 plugin tags: stripe, color, colors, random, background...
fabulous-background-colors/fabulous-background-colors.php Passed 13 tests
The primary PHP file in "Fabulous Background Colors" version 1.0.0 is used by WordPress to initiate all plugin functionality
115 characters long description:
This Plugin adds colored stripes width random colors and smooth color transitions to the background of your website
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin440 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 87 | 34 | 415 |
CSS | 2 | 5 | 14 | 24 |
JavaScript | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.08 |
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 | 10 | |
▷ Named functions | 10 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 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
There were not PNG files found in your plugin