Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.00MB] [CPU: ▼146.62ms] Passed 4 tests
A check of server-side resources used by MaxiCharts Colors Add-on
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.84 ▲0.12 | 35.58 ▲13.13 |
Dashboard /wp-admin | 3.06 ▲0.01 | 36.06 ▼5.85 |
Posts /wp-admin/edit.php | 3.11 ▲0.01 | 43.35 ▼12.66 |
Add New Post /wp-admin/post-new.php | 5.42 ▼0.01 | 84.24 ▼568.01 |
Media Library /wp-admin/upload.php | 3.00 ▲0.00 | 33.45 ▲0.03 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 2 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
MaxiCharts Colors Add-on: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,679 ▲83 | 15.83 ▼0.08 | 7.82 ▲0.43 | 44.20 ▼1.61 |
Dashboard /wp-admin | 2,973 ▲42 | 5.97 ▼0.01 | 128.19 ▼9.17 | 114.00 ▲9.36 |
Posts /wp-admin/edit.php | 2,739 ▼0 | 2.69 ▲0.00 | 68.27 ▼4.52 | 93.86 ▼4.62 |
Add New Post /wp-admin/post-new.php | 1,901 ▲297 | 19.20 ▲0.38 | 362.59 ▼17.27 | 107.42 ▲2.37 |
Media Library /wp-admin/upload.php | 1,810 ▲3 | 5.02 ▲0.00 | 143.95 ▼6.67 | 116.20 ▼5.19 |
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
This plugin's uninstaller ran successfully
Smoke tests Passed 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 Passed 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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need your attention:
- Screenshots: These screenshots need descriptions #1, #2, #3, #4, #5, #6 in maxicharts-colors-add-on/assets to your readme.txt
- Tags: You are using too many tags: 29 tag instead of maximum 10
maxicharts-colors-add-on/maxicharts_colors_add_on.php 77% from 13 tests
The main PHP script in "MaxiCharts Colors Add-on" version 1.1.0 is automatically included on every request by WordPress
Please take the time to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("maxicharts-colors-add-on.php" instead of "maxicharts_colors_add_on.php")
- Text Domain: The text domain should only use lowercase characters and dashes
- Domain Path: The domain path points to an invalid folder, "/languages" does not exist
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected313 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 13 | 24 | 313 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 3.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 1.40 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.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 | 5 | |
▷ Static methods | 2 | 40.00% |
▷ Public methods | 5 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
All PNG images should be compressed to minimize bandwidth usage for end users
There were not PNG files found in your plugin