Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.02MB] [CPU: ▼11.86ms] Passed 4 tests
A check of server-side resources used by Easy Color
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.39 ▼0.08 | 25.17 ▼22.35 |
Dashboard /wp-admin | 3.31 ▲0.01 | 44.49 ▼7.79 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 47.88 ▲5.03 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 82.40 ▼17.13 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 34.28 ▼0.18 |
Server storage [IO: ▲0.07MB] [DB: ▲0.01MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 12 new files
Database: 9 new tables, 6 new options
New tables |
---|
wp_easyColorSelectorsCSSToBG_secondary |
wp_easyColorSelectorsCSSToBorder_main |
wp_easyColorSelectorsCSSToBorder_link |
wp_easyColorSelectorsCSSToFont_main |
wp_easyColorSelectorsCSSToFont_link |
wp_easyColorSelectorsCSSToFont_secondary |
wp_easyColorSelectorsCSSToBG_link |
wp_easyColorSelectorsCSSToBorder_secondary |
wp_easyColorSelectorsCSSToBG_main |
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Easy Color
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,465 ▼296 | 14.24 ▼0.05 | 0.60 ▼1.18 | 18.21 ▼24.10 |
Dashboard /wp-admin | 2,194 ▲17 | 5.56 ▼0.10 | 97.68 ▲2.35 | 61.80 ▲20.68 |
Posts /wp-admin/edit.php | 2,111 ▲8 | 1.98 ▲0.00 | 37.93 ▼3.30 | 31.70 ▼6.11 |
Add New Post /wp-admin/post-new.php | 1,535 ▲9 | 23.71 ▲0.60 | 613.75 ▼27.90 | 152.67 ▲99.55 |
Media Library /wp-admin/upload.php | 1,408 ▲11 | 4.12 ▼0.02 | 104.60 ▼22.43 | 62.59 ▲12.88 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- The uninstall procedure failed, leaving 9 tables in the database
- wp_easyColorSelectorsCSSToFont_link
- wp_easyColorSelectorsCSSToFont_secondary
- wp_easyColorSelectorsCSSToBorder_secondary
- wp_easyColorSelectorsCSSToBG_main
- wp_easyColorSelectorsCSSToBorder_main
- wp_easyColorSelectorsCSSToBG_secondary
- wp_easyColorSelectorsCSSToFont_main
- wp_easyColorSelectorsCSSToBorder_link
- wp_easyColorSelectorsCSSToBG_link
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% 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
- 4× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/easy-color/index.php
- > /wp-content/plugins/easy-color/includes/functions.php
- > /wp-content/plugins/easy-color/includes/easy-color.php
- > /wp-content/plugins/easy-color/includes/settings.php
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 93% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need to be fixed:
- Screenshots: These screenshots require images: #1 (/assets/screenshot-1.png), #2 (/assets/screenshot-2.png)
easy-color/index.php 92% from 13 tests
The main PHP file in "Easy Color" ver. 2.1 adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("easy-color.php" instead of "index.php")
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
Everything looks great! No dangerous files found in this plugin1,199 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 5 | 48 | 169 | 850 |
PHP | 4 | 134 | 54 | 349 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
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 | 12 | |
▷ Named functions | 12 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/imgs/icon.png | 1.17KB | 0.87KB | ▼ 25.60% |