Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.19MB] [CPU: ▼137.92ms] Passed 4 tests
Server-side resources used by ChiliForms
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.01 ▲0.18 | 36.69 ▲1.74 |
Dashboard /wp-admin | 3.30 ▲0.25 | 56.43 ▲7.90 |
Posts /wp-admin/edit.php | 3.35 ▲0.24 | 48.76 ▲5.19 |
Add New Post /wp-admin/post-new.php | 5.60 ▲0.16 | 96.37 ▼558.41 |
Media Library /wp-admin/upload.php | 3.18 ▲0.18 | 35.61 ▼0.18 |
Entries /wp-admin/admin.php?page=chiliforms-submenu-entries | 3.27 | 33.53 |
Forms /wp-admin/admin.php?page=chiliforms-menu | 3.29 | 33.66 |
Settings /wp-admin/admin.php?page=chiliforms-submenu-options | 3.22 | 31.59 |
Server storage [IO: ▲1.99MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 47 new files
Database: 4 new tables, 1 new option
New tables |
---|
wp_kcf_fields |
wp_kcf_entries_meta |
wp_kcf_forms |
wp_kcf_entries |
New WordPress options |
---|
kcf_chiliforms_options |
Browser metrics Passed 4 tests
A check of browser resources used by ChiliForms
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,737 ▲142 | 15.98 ▲0.35 | 11.79 ▲0.52 | 45.97 ▲1.36 |
Dashboard /wp-admin | 3,009 ▲78 | 5.94 ▲0.00 | 143.29 ▼22.49 | 116.58 ▼1.73 |
Posts /wp-admin/edit.php | 2,778 ▲39 | 2.72 ▲0.01 | 64.06 ▼1.09 | 86.12 ▼1.53 |
Add New Post /wp-admin/post-new.php | 1,708 ▼1,979 | 18.75 ▲3.67 | 393.80 ▼161.87 | 106.44 ▼4.90 |
Media Library /wp-admin/upload.php | 1,846 ▲39 | 5.02 ▼0.01 | 160.16 ▼4.77 | 115.38 ▼0.27 |
Entries /wp-admin/admin.php?page=chiliforms-submenu-entries | 1,169 | 5.70 | 123.62 | 83.25 |
Forms /wp-admin/admin.php?page=chiliforms-menu | 1,159 | 5.57 | 121.43 | 94.42 |
Settings /wp-admin/admin.php?page=chiliforms-submenu-options | 1,431 | 5.71 | 125.27 | 96.58 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- The plugin did not uninstall successfully, leaving 4 tables in the database
- wp_kcf_entries
- wp_kcf_forms
- wp_kcf_fields
- wp_kcf_entries_meta
- Zombie WordPress options were found after uninstall: 1 option
- kcf_chiliforms_options
Smoke tests 75% from 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 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following
- 9× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Class 'KCF_BaseOptionsPageController' not found in wp-content/plugins/chiliforms/modules/pages/options/KCF_OptionsPageController.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/chiliforms/chiliforms.php:21
- > PHP Fatal error
Uncaught Error: Class 'KCF_BaseEntriesPageController' not found in wp-content/plugins/chiliforms/modules/pages/entries/KCF_EntriesPageController.php:7
- > PHP Fatal error
Uncaught Error: Class 'KCF_BaseFieldFactory' not found in wp-content/plugins/chiliforms/modules/field/KCF_FieldFactory.php:7
- > PHP Fatal error
Uncaught Error: Class 'KCF_BaseTemplateModel' not found in wp-content/plugins/chiliforms/modules/form/KCF_TemplateModel.php:7
- > PHP Fatal error
Uncaught Error: Class 'KCF_BaseFieldValidator' not found in wp-content/plugins/chiliforms/modules/field/KCF_FieldValidator.php:7
- > PHP Fatal error
Uncaught Error: Class 'KCF_BaseFormModel' not found in wp-content/plugins/chiliforms/modules/form/KCF_FormModel.php:7
- > PHP Fatal error
Uncaught Error: Class 'KCF_BaseFormsPageController' not found in wp-content/plugins/chiliforms/modules/pages/forms/KCF_FormsPageController.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/chiliforms/modules/api/api.php:24
- > PHP Fatal error
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 Passed 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
8 plugin tags: multilingual, form builder, email, form, contact form...
chiliforms/chiliforms.php Passed 13 tests
Analyzing the main PHP file in "ChiliForms" version 0.5.1
34 characters long description:
A better WordPress forms solution.
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
Good job! No executable or dangerous file extensions detected6,227 lines of code in 38 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 24 | 624 | 349 | 2,523 |
Sass | 7 | 270 | 3 | 1,510 |
CSS | 3 | 145 | 80 | 1,162 |
SVG | 1 | 0 | 0 | 685 |
JavaScript | 3 | 87 | 184 | 347 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 11.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 66.00 |
Average method complexity | 2.05 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 21 | |
▷ Abstract classes | 6 | 28.57% |
▷ Concrete classes | 15 | 71.43% |
▷ Final classes | 0 | 0.00% |
Methods | 178 | |
▷ Static methods | 65 | 36.52% |
▷ Public methods | 88 | 49.44% |
▷ Protected methods | 70 | 39.33% |
▷ Private methods | 20 | 11.24% |
Functions | 12 | |
▷ Named functions | 4 | 33.33% |
▷ Anonymous functions | 8 | 66.67% |
Constants | 16 | |
▷ Global constants | 4 | 25.00% |
▷ Class constants | 12 | 75.00% |
▷ Public constants | 12 | 100.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
2 compressed PNG files occupy 0.00MB
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/logo-chili-header.png | 1.84KB | 1.73KB | ▼ 6.25% |
assets/img/logo-chili-loader.png | 2.51KB | 2.36KB | ▼ 6.07% |