Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲1.66MB] [CPU: ▲6.85ms] Passed 4 tests
An overview of server-side resources used by Zigaform - Form Builder lite
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.43 ▲0.97 | 53.69 ▲12.31 |
Dashboard /wp-admin | 5.20 ▲1.90 | 64.20 ▲10.68 |
Posts /wp-admin/edit.php | 5.25 ▲1.89 | 64.90 ▲9.20 |
Add New Post /wp-admin/post-new.php | 7.79 ▲1.91 | 105.17 ▼4.79 |
Media Library /wp-admin/upload.php | 5.12 ▲1.89 | 68.23 ▲28.32 |
About /wp-admin/admin.php?page=zigaform-builder-about | 5.15 | 51.18 |
Forms /wp-admin/admin.php?page=zgfm_form_builder | 5.90 | 50.43 |
Help /wp-admin/admin.php?page=zigaform-builder-help | 5.14 | 51.68 |
Go Pro! /wp-admin/admin.php?page=zigaform-builder-gopro | 5.16 | 47.78 |
Server storage [IO: ▲34.79MB] [DB: ▲0.02MB] 33% from 3 tests
Filesystem and database footprint
It is recommended to fix the following issues
- There were 1 file (4.00KB) illegally modified outside of "wp-content/plugins/zigaform-form-builder-lite/" and "wp-content/uploads/"
- (new file) wp-content/mgd_mirror/mgd_maximinodotpy-gitdown-test-repository
- Try to limit filesystem usage to 25MB (currently using 34.79MB)
Filesystem: 1,599 new files
Database: 9 new tables, 10 new options
New tables |
---|
wp_uiform_fields |
wp_uiform_form_log |
wp_uiform_addon |
wp_uiform_addon_details_log |
wp_uiform_fields_type |
wp_uiform_addon_details |
wp_uiform_form_records |
wp_uiform_form |
wp_uiform_settings |
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
zgfm_b_modalmode |
zigaform_f_notice_1 |
zgfm_b_activated |
widget_theysaidso_widget |
uifmfbuild_version |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Zigaform - Form Builder lite
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,030 ▲269 | 14.53 ▼0.08 | 6.72 ▲4.94 | 37.67 ▼2.61 |
Dashboard /wp-admin | 2,313 ▲107 | 5.62 ▲0.76 | 117.17 ▲7.91 | 99.36 ▲54.77 |
Posts /wp-admin/edit.php | 2,227 ▲124 | 2.86 ▲0.88 | 44.78 ▲1.56 | 70.10 ▲31.13 |
Add New Post /wp-admin/post-new.php | 1,780 ▲234 | 23.54 ▲0.42 | 804.60 ▲166.64 | 30.75 ▼22.52 |
Media Library /wp-admin/upload.php | 1,505 ▲108 | 5.18 ▲0.95 | 123.43 ▲13.73 | 99.29 ▲53.56 |
About /wp-admin/admin.php?page=zigaform-builder-about | 1,869 | 5.64 | 98.31 | 139.42 |
Forms /wp-admin/admin.php?page=zgfm_form_builder | 1,747 | 5.03 | 78.64 | 62.98 |
Help /wp-admin/admin.php?page=zigaform-builder-help | 1,158 | 4.52 | 51.89 | 49.70 |
Go Pro! /wp-admin/admin.php?page=zigaform-builder-gopro | 1,382 | 4.46 | 50.62 | 60.06 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- Zombie WordPress options detected upon uninstall: 9 options
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- zigaform_f_notice_1
- zgfm_b_modalmode
- zgfm_b_activated
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 50% 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 0% from 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
Please fix the following
- 288× PHP files perform the action of outputting non-empty strings when accessed directly (only 10 are shown):
- > /wp-content/plugins/zigaform-form-builder-lite/modules/formbuilder/views/forms/form_show_shortcodes.php
- > /wp-content/plugins/zigaform-form-builder-lite/modules/formbuilder/views/fields/render_css_front/type_dyncheckbox.php
- > /wp-content/plugins/zigaform-form-builder-lite/modules/formbuilder/views/fields/render_css_front/type_heading.php
- > /wp-content/plugins/zigaform-form-builder-lite/modules/formbuilder/views/fields/render_css_front/block_main.php
- > /wp-content/plugins/zigaform-form-builder-lite/modules/formbuilder/views/fields/render_front/type_range.php
- > /wp-content/plugins/zigaform-form-builder-lite/modules/default/controllers/backend.php
- > /wp-content/plugins/zigaform-form-builder-lite/modules/formbuilder/views/fields/templates/prevpanel_quickopts3.php
- > /wp-content/plugins/zigaform-form-builder-lite/modules/formbuilder/views/forms/formhtml_css_wizard.php
- > /wp-content/plugins/zigaform-form-builder-lite/modules/formbuilder/views/forms/list_forms.php
- > /wp-content/plugins/zigaform-form-builder-lite/modules/formbuilder/views/fields/templates/prevpanel_switch.php
- 30× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Gettext\\Languages\\Exporter\\Exporter' not found in wp-content/plugins/zigaform-form-builder-lite/modules/addon_mgtranslate/vendor/gettext/languages/src/Exporter/Po.php:7
- > PHP Fatal error
Uncaught Error: Class 'Gettext\\Languages\\Exporter\\Html' not found in wp-content/plugins/zigaform-form-builder-lite/modules/addon_mgtranslate/vendor/gettext/languages/src/Exporter/Docs.php:5
- > PHP Fatal error
Uncaught Error: Interface 'ReCaptcha\\RequestMethod' not found in wp-content/plugins/zigaform-form-builder-lite/libraries/recaptcha/1.3.0/src/ReCaptcha/RequestMethod/SocketPost.php:46
- > PHP Fatal error
Uncaught Error: Class 'Gettext\\Languages\\Exporter\\Exporter' not found in wp-content/plugins/zigaform-form-builder-lite/modules/addon_mgtranslate/vendor/gettext/languages/src/Exporter/Html.php:5
- > PHP Fatal error
Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 8.0.0". You are running 7.4.16. in wp-content/plugins/zigaform-form-builder-lite/libraries/recaptcha/1.3.0/vendor/composer/platform_check.php on line 24
- > PHP Fatal error
Uncaught Error: Class 'Gettext\\Languages\\Exporter\\Json' not found in wp-content/plugins/zigaform-form-builder-lite/modules/addon_mgtranslate/vendor/gettext/languages/src/Exporter/Prettyjson.php:7
- > PHP Notice
Undefined variable: idform in wp-content/plugins/zigaform-form-builder-lite/modules/formbuilder/views/forms/formhtml_css_form.php on line 17
- > PHP Fatal error
Uncaught Error: Interface 'ReCaptcha\\RequestMethod' not found in wp-content/plugins/zigaform-form-builder-lite/libraries/recaptcha2/ReCaptcha/RequestMethod/CurlPost.php:38
- > PHP Fatal error
Uncaught Error: Interface 'ReCaptcha\\RequestMethod' not found in wp-content/plugins/zigaform-form-builder-lite/libraries/recaptcha2/ReCaptcha/RequestMethod/Post.php:36
- > PHP Fatal error
Uncaught Error: Class 'Gettext\\Generator\\Generator' not found in wp-content/plugins/zigaform-form-builder-lite/modules/addon_mgtranslate/vendor/gettext/gettext/src/Generator/MoGenerator.php:9
- > 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 97% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Please fix the following attributes:
- Tags: Too many tags (15 tag instead of maximum 10); only the first 5 tags are used in your directory listing
zigaform-form-builder-lite/zigaform-form-builder-lite.php Passed 13 tests
The entry point to "Zigaform - Form Builder lite" version 5.7.6 is a PHP file that has certain tags in its header comment area
89 characters long description:
The ZigaForm WordPress form builder is the ultimate form creation solution for WordPress.
Code Analysis 97% from 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 detected267,596 lines of code in 715 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 169 | 12,159 | 11,968 | 105,446 |
CSS | 83 | 8,971 | 1,156 | 90,375 |
PHP | 370 | 6,768 | 10,233 | 44,718 |
PO File | 16 | 7,272 | 7,304 | 16,203 |
SVG | 9 | 0 | 0 | 3,828 |
JSON | 26 | 0 | 0 | 2,380 |
Sass | 14 | 34 | 34 | 1,768 |
LESS | 14 | 34 | 44 | 1,758 |
HTML | 8 | 120 | 0 | 675 |
Markdown | 5 | 192 | 0 | 439 |
YAML | 1 | 2 | 0 | 6 |
PHP code 50% from 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Please fix the following
- Method cyclomatic complexity should be reduced to less than 100 (currently 117)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 30.27 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 391.00 |
Average method complexity | 3.55 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 117.00 |
Code structure | ||
---|---|---|
Namespaces | 13 | |
Interfaces | 8 | |
Traits | 1 | |
Classes | 106 | |
▷ Abstract classes | 7 | 6.60% |
▷ Concrete classes | 99 | 93.40% |
▷ Final classes | 7 | 7.07% |
Methods | 1,343 | |
▷ Static methods | 141 | 10.50% |
▷ Public methods | 984 | 73.27% |
▷ Protected methods | 323 | 24.05% |
▷ Private methods | 36 | 2.68% |
Functions | 24 | |
▷ Named functions | 12 | 50.00% |
▷ Anonymous functions | 12 | 50.00% |
Constants | 178 | |
▷ Global constants | 24 | 13.48% |
▷ Class constants | 154 | 86.52% |
▷ Public constants | 151 | 98.05% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
746 PNG files occupy 1.81MB with 0.90MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
libraries/styles-font-menu/styles-fonts/png/arbutusslab-regular.png | 2.36KB | 1.25KB | ▼ 47.27% |
libraries/styles-font-menu/styles-fonts/png/alice-regular.png | 1.26KB | 0.60KB | ▼ 52.59% |
libraries/styles-font-menu/styles-fonts/png/spicyrice-regular.png | 2.43KB | 1.18KB | ▼ 51.40% |
libraries/styles-font-menu/styles-fonts/png/ruluko-regular.png | 1.29KB | 0.64KB | ▼ 50.45% |
libraries/styles-font-menu/styles-fonts/png/rochester-regular.png | 2.16KB | 1.14KB | ▼ 47.01% |