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 gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▼7.88ms] Passed 4 tests
This is a short check of server-side resources used by Formidable Pro Color Picker
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 42.22 ▲0.97 |
Dashboard /wp-admin | 3.32 ▲0.01 | 54.78 ▼9.06 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 51.40 ▼2.74 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 90.00 ▼10.80 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 34.83 ▼8.91 |
Server storage [IO: ▲0.19MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 13 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Formidable Pro Color Picker
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,814 ▲53 | 14.72 ▲0.32 | 1.92 ▲0.34 | 43.87 ▲1.92 |
Dashboard /wp-admin | 2,195 ▲21 | 5.55 ▼0.09 | 85.67 ▼3.13 | 40.55 ▼1.57 |
Posts /wp-admin/edit.php | 2,100 ▼3 | 1.97 ▼0.07 | 34.92 ▼4.28 | 36.43 ▼0.65 |
Add New Post /wp-admin/post-new.php | 1,526 ▼9 | 23.21 ▲5.16 | 662.63 ▲39.12 | 52.56 ▼13.23 |
Media Library /wp-admin/upload.php | 1,403 ▼0 | 4.20 ▲0.04 | 100.10 ▼7.33 | 44.18 ▼1.24 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means 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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Please fix the following attributes:
- Screenshots: Add images for these screenshots: #1 (The Advanced Fields section in the Form Builder.), #2 (Form builder screenshot.), #3 (See it in action.)
formidable-pro-add-color-picker-field/formidable-color-picker.php 92% from 13 tests
This is the main PHP file of "Formidable Pro Color Picker" version 1.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
The following require your attention:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("formidable-pro-add-color-picker-field.php" instead of "formidable-color-picker.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Good job! No executable or dangerous file extensions detected869 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 1 | 138 | 37 | 822 |
PHP | 1 | 9 | 37 | 38 |
HTML | 1 | 3 | 0 | 9 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
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 | 4 | |
▷ Named functions | 4 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
4 PNG files occupy 0.08MB with 0.02MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
jscolor/hv.png | 2.80KB | 7.32KB | 0.00% |
screenshot-3.png | 14.87KB | 12.72KB | ▼ 14.50% |
jscolor/hs.png | 2.62KB | 7.54KB | 0.00% |
profieldsplugincolorpicker.png | 61.86KB | 16.18KB | ▼ 73.84% |