Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.08MB] [CPU: ▼8.29ms] Passed 4 tests
A check of server-side resources used by Color Picker for Contact Form 7
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.10 | 37.36 ▼3.94 |
Dashboard /wp-admin | 3.40 ▲0.05 | 46.28 ▼13.50 |
Posts /wp-admin/edit.php | 3.51 ▲0.15 | 50.88 ▲1.06 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.09 | 83.49 ▼16.77 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 38.70 ▲4.11 |
Server storage [IO: ▲0.12MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 19 new files
Database: no new tables, 7 new options
New WordPress options |
---|
cf7-color-picker |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Color Picker for Contact Form 7
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,835 ▲89 | 14.45 ▲0.07 | 3.06 ▲1.45 | 39.05 ▼1.27 |
Dashboard /wp-admin | 2,209 ▲24 | 5.85 ▼0.05 | 103.40 ▲0.31 | 37.86 ▼5.47 |
Posts /wp-admin/edit.php | 2,089 ▼3 | 2.06 ▲0.08 | 38.59 ▼2.80 | 34.10 ▼3.10 |
Add New Post /wp-admin/post-new.php | 1,533 ▲13 | 23.27 ▲0.13 | 641.27 ▲1.27 | 60.64 ▲4.91 |
Media Library /wp-admin/upload.php | 1,385 ▼6 | 4.23 ▲0.00 | 103.62 ▲4.28 | 44.41 ▲0.19 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- The uninstall procedure has failed, leaving 7 options in the database
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- cf7-color-picker
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP Passed 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 SRP test was a success
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)
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that require attention:
- Screenshots: A description for screenshot #3 is missing in cf7-color-picker/assets to your readme.txt
cf7-color-picker/contact-form-7-color-picker.php 92% from 13 tests
"Color Picker for Contact Form 7" version 0.1.2's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("cf7-color-picker.php" instead of "contact-form-7-color-picker.php")
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
There were no executable files found in this plugin1,747 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 3 | 327 | 170 | 1,358 |
PHP | 8 | 147 | 424 | 342 |
PO File | 1 | 70 | 153 | 42 |
CSS | 1 | 0 | 0 | 5 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
Average class complexity | 6.40 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 19.00 |
Average method complexity | 1.90 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 30 | |
▷ Static methods | 2 | 6.67% |
▷ Public methods | 24 | 80.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 6 | 20.00% |
Functions | 2 | |
▷ Named functions | 2 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There were not PNG files found in your plugin