Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼5.12ms] Passed 4 tests
This is a short check of server-side resources used by CHIP for Fluent Forms
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.01 | 37.61 ▼4.60 |
Dashboard /wp-admin | 3.32 ▲0.01 | 47.87 ▼2.36 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 50.63 ▲6.48 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 93.50 ▼14.75 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 37.41 ▲1.22 |
Server storage [IO: ▲1.64MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 159 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for CHIP for Fluent Forms
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.28 ▼0.07 | 1.87 ▼0.18 | 42.70 ▼4.90 |
Dashboard /wp-admin | 2,198 ▲18 | 5.61 ▼0.06 | 93.66 ▼3.18 | 43.88 ▲0.41 |
Posts /wp-admin/edit.php | 2,103 ▲3 | 2.02 ▼0.01 | 39.71 ▲0.20 | 38.73 ▲0.81 |
Add New Post /wp-admin/post-new.php | 1,537 ▲9 | 18.49 ▼4.45 | 638.17 ▲17.60 | 79.10 ▲22.66 |
Media Library /wp-admin/upload.php | 1,403 ▲3 | 4.10 ▼0.12 | 97.15 ▼11.28 | 43.78 ▼0.54 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP 50% from 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
Please fix the following items
- 9× PHP files trigger errors when accessed directly with GET requests:
- > PHP Warning
Use of undefined constant FF_CHIP_FSLUG - assumed 'FF_CHIP_FSLUG' (this will throw an Error in a future version of PHP) in wp-content/plugins/chip-for-fluent-forms/includes/admin/global-settings.php on line 3
- > PHP Warning
Use of undefined constant FF_CHIP_FSLUG - assumed 'FF_CHIP_FSLUG' (this will throw an Error in a future version of PHP) in wp-content/plugins/chip-for-fluent-forms/includes/admin/backup-settings.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/chip-for-fluent-forms/includes/class-register.php:17
- > PHP Warning
Use of undefined constant FF_CHIP_FSLUG - assumed 'FF_CHIP_FSLUG' (this will throw an Error in a future version of PHP) in wp-content/plugins/chip-for-fluent-forms/includes/admin/form-settings.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/chip-for-fluent-forms/includes/admin/global-settings.php:5
- > PHP Fatal error
Uncaught Error: Class 'FluentFormPro\\Payments\\PaymentMethods\\BaseProcessor' not found in wp-content/plugins/chip-for-fluent-forms/includes/class-purchase.php:10
- > PHP Fatal error
Uncaught Error: Class 'CSF_Setup' not found in wp-content/plugins/chip-for-fluent-forms/includes/admin/form-settings.php:125
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/chip-for-fluent-forms/includes/admin/class-webhook-setup.php:17
- > PHP Fatal error
Uncaught Error: Class 'CSF_Setup' not found in wp-content/plugins/chip-for-fluent-forms/includes/admin/backup-settings.php:5
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% 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
Attributes that require attention:
- Screenshots: These screenshots lack descriptions #1, #2, #3, #4, #5 in chip-for-fluent-forms/assets to your readme.txt
chip-for-fluent-forms/chip-for-fluent-forms.php Passed 13 tests
The principal PHP file in "CHIP for Fluent Forms" v. 1.0.8 is loaded by WordPress automatically on each request
42 characters long description:
CHIP - Better Payment & Business Solutions
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
No dangerous file extensions were detected32,453 lines of code in 134 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 85 | 2,745 | 969 | 8,817 |
JavaScript | 5 | 1,300 | 497 | 6,564 |
PO File | 20 | 3,198 | 3,591 | 6,500 |
Sass | 16 | 970 | 3 | 5,674 |
CSS | 4 | 376 | 509 | 4,872 |
Markdown | 1 | 8 | 0 | 14 |
SVG | 3 | 0 | 0 | 12 |
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.63 |
Average class complexity | 24.60 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 151.00 |
Average method complexity | 6.47 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 57.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 67 | |
▷ Abstract classes | 2 | 2.99% |
▷ Concrete classes | 65 | 97.01% |
▷ Final classes | 0 | 0.00% |
Methods | 289 | |
▷ Static methods | 47 | 16.26% |
▷ Public methods | 277 | 95.85% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 12 | 4.15% |
Functions | 24 | |
▷ Named functions | 23 | 95.83% |
▷ Anonymous functions | 1 | 4.17% |
Constants | 7 | |
▷ Global constants | 7 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/codestar-framework/assets/images/checkerboard.png | 2.29KB | 2.54KB | 0.00% |