Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.09MB] [CPU: ▼141.17ms] Passed 4 tests
This is a short check of server-side resources used by W2O Football Fans Admin Color Schemes
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.91 ▲0.19 | 41.02 ▲20.00 |
Dashboard /wp-admin | 3.16 ▲0.10 | 50.92 ▲7.48 |
Posts /wp-admin/edit.php | 3.21 ▲0.10 | 49.69 ▲2.22 |
Add New Post /wp-admin/post-new.php | 5.51 ▲0.07 | 96.19 ▼575.83 |
Media Library /wp-admin/upload.php | 3.09 ▲0.09 | 34.63 ▲1.46 |
Server storage [IO: ▲1.84MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 119 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
An overview of browser requirements for W2O Football Fans Admin Color Schemes
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,727 ▲131 | 16.11 ▲0.53 | 11.75 ▲2.96 | 49.69 ▼3.85 |
Dashboard /wp-admin | 2,984 ▲50 | 5.89 ▼0.05 | 135.89 ▼11.02 | 138.32 ▲13.89 |
Posts /wp-admin/edit.php | 2,778 ▲39 | 2.82 ▲0.00 | 65.27 ▼4.38 | 94.50 ▲1.98 |
Add New Post /wp-admin/post-new.php | 1,712 ▲29 | 18.89 ▲0.08 | 387.38 ▲0.37 | 114.30 ▼2.67 |
Media Library /wp-admin/upload.php | 1,775 ▼32 | 5.01 ▼0.01 | 137.68 ▼16.45 | 147.64 ▲17.62 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Uninstall script ran successfully
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested
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
Please take a closer look at the following
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/w2o-football-fans-admin-color-schemes/core/w2o_fbfn_acs.css.php
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/w2o-football-fans-admin-color-schemes/core/class-acs.php:10
- > PHP Fatal error
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 93% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that require attention:
- Screenshots: Please add images for these screenshots: #1 (Club wise example: FC Barcelona color scheme in action), #2 (Country wise example: Argentina color scheme in action)
w2o-football-fans-admin-color-schemes/w2o-football-fans-admin-color-schemes.php 92% from 13 tests
The primary PHP file in "W2O Football Fans Admin Color Schemes" version 1.2 is used by WordPress to initiate all plugin functionality
You should first fix the following items:
- Description: Please keep the plugin description shorter than 140 characters (currently 285 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Success! There were no dangerous files found in this plugin12,826 lines of code in 62 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 28 | 2,088 | 3,157 | 11,740 |
Sass | 30 | 198 | 5 | 721 |
PHP | 4 | 35 | 51 | 365 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
Average class complexity | 9.00 |
▷ Minimum class complexity | 9.00 |
▷ Maximum class complexity | 9.00 |
Average method complexity | 2.14 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 7 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 7 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
30 PNG files occupy 1.00MB with 0.68MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 77.80KB | 31.51KB | ▼ 59.50% |
core/colors/club/liverpool/logo.png | 74.14KB | 21.76KB | ▼ 70.65% |
core/colors/club/bayernmunich/logo.png | 46.53KB | 17.11KB | ▼ 63.23% |
core/colors/country/belgium/logo.png | 56.38KB | 16.11KB | ▼ 71.44% |
core/colors/country/france/logo.png | 36.26KB | 10.10KB | ▼ 72.14% |