Benchmarks
Plugin footprint 64% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲5.47MB] [CPU: ▲37.15ms] 25% from 4 tests
An overview of server-side resources used by JetFormBuilder — Dynamic Blocks Form Builder
Please fix the following
- RAM: Total memory usage should be kept under 10MB (currently 13.13MB on /wp-admin/post-new.php?post_type=jet-form-builder)
- CPU: The total CPU usage must kept under 500.00ms (currently 757.52ms on /wp-admin/edit.php?post_type=jet-form-builder&page=jfb-addons)
- Extra RAM: The extra memory usage must be under 5MB (currently 5.47MB on /wp-admin/edit.php?post_type=jet-form-builder&page=jfb-addons)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 8.60 ▲5.13 | 74.12 ▲30.06 |
Dashboard /wp-admin | 8.90 ▲5.55 | 86.89 ▲26.30 |
Posts /wp-admin/edit.php | 8.95 ▲5.59 | 91.99 ▲45.08 |
Add New Post /wp-admin/post-new.php | 12.13 ▲6.24 | 149.03 ▲57.77 |
Media Library /wp-admin/upload.php | 8.82 ▲5.59 | 80.15 ▲47.16 |
Add New /wp-admin/post-new.php?post_type=jet-form-builder | 13.13 | 149.81 |
Form Records /wp-admin/edit.php?post_type=jet-form-builder&page=jfb-records | 9.54 | 233.94 |
Settings /wp-admin/edit.php?post_type=jet-form-builder&page=jfb-settings | 8.95 | 75.01 |
Forms /wp-admin/edit.php?post_type=jet-form-builder | 8.90 | 93.99 |
Addons /wp-admin/edit.php?post_type=jet-form-builder&page=jfb-addons | 8.98 | 757.52 |
Server storage [IO: ▲6.67MB] [DB: ▲0.02MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 1,140 new files
Database: 5 new tables, 6 new options
New tables |
---|
wp_jet_fb_records_actions |
wp_jet_fb_records_errors |
wp_jet_fb_migrations |
wp_jet_fb_records_fields |
wp_jet_fb_records |
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by JetFormBuilder — Dynamic Blocks Form Builder
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,862 ▲100 | 14.21 ▼0.36 | 1.48 ▼0.28 | 36.59 ▼7.41 |
Dashboard /wp-admin | 2,259 ▲85 | 5.64 ▲0.05 | 97.72 ▲9.04 | 43.19 ▼0.26 |
Posts /wp-admin/edit.php | 2,164 ▲64 | 1.97 ▲0.02 | 40.94 ▲2.92 | 35.69 ▲2.80 |
Add New Post /wp-admin/post-new.php | 6,235 ▲4,700 | 26.61 ▲1.65 | 879.90 ▲264.95 | 52.02 ▼5.82 |
Media Library /wp-admin/upload.php | 1,464 ▲67 | 4.24 ▼0.06 | 101.45 ▼0.51 | 41.88 ▼1.16 |
Add New /wp-admin/post-new.php?post_type=jet-form-builder | 7,117 | 28.70 | 1,157.18 | 46.31 |
Form Records /wp-admin/edit.php?post_type=jet-form-builder&page=jfb-records | 1,365 | 7.40 | 180.65 | 34.36 |
Settings /wp-admin/edit.php?post_type=jet-form-builder&page=jfb-settings | 1,952 | 7.93 | 208.44 | 55.10 |
Forms /wp-admin/edit.php?post_type=jet-form-builder | 1,178 | 1.94 | 45.52 | 37.28 |
Addons /wp-admin/edit.php?post_type=jet-form-builder&page=jfb-addons | 1,791 | 5.89 | 98.17 | 45.37 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.02MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- Zombie tables detected upon uninstall: 5 tables
- wp_jet_fb_records
- wp_jet_fb_records_actions
- wp_jet_fb_migrations
- wp_jet_fb_records_fields
- wp_jet_fb_records_errors
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_recent-posts
Smoke tests 0% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
These errors were triggered by the plugin
- 2 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=jet-form-builder&page=jfb-settings
- > request to
- > Notice in wp-config.php+20
Undefined index: REQUEST_METHOD
SRP 0% 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 take a closer look at the following
- 26× GET requests to PHP files return non-empty strings (only 10 are shown):
- > /wp-content/plugins/jetformbuilder/modules/framework/vue-ui/components/repeater-item.php
- > /wp-content/plugins/jetformbuilder/modules/framework/vue-ui/components/repeater.php
- > /wp-content/plugins/jetformbuilder/modules/framework/vue-ui/components/title.php
- > /wp-content/plugins/jetformbuilder/modules/framework/vue-ui/components/colorpicker.php
- > /wp-content/plugins/jetformbuilder/modules/framework/vue-ui/components/select.php
- > /wp-content/plugins/jetformbuilder/modules/framework/vue-ui/components/tabs-panel.php
- > /wp-content/plugins/jetformbuilder/modules/framework/vue-ui/components/input.php
- > /wp-content/plugins/jetformbuilder/modules/framework/vue-ui/components/pagination.php
- > /wp-content/plugins/jetformbuilder/modules/framework/vue-ui/components/wp-media.php
- > /wp-content/plugins/jetformbuilder/modules/framework/vue-ui/components/collapse.php
- 8× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/jetformbuilder/modules/bulk-options/sources/days.php:7
- > PHP Fatal error
Uncaught Error: Class 'JFB_Modules\\Gateways\\Base_Gateway_Action' not found in wp-content/plugins/jetformbuilder/modules/captcha/friendly-captcha/verify-token-action.php:10
- > PHP Fatal error
Uncaught Error: Class 'JFB_Modules\\Captcha\\Re_Captcha_V3\\Verify_Token_Action' not found in wp-content/plugins/jetformbuilder/modules/captcha/hcaptcha/verify-token-action.php:9
- > PHP Fatal error
Uncaught Error: Class 'Jet_Form_Builder\\Actions\\Events\\Base_Executor' not found in wp-content/plugins/jetformbuilder/includes/actions/events/on-dynamic-state/on-dynamic-state-executor.php:8
- > PHP Fatal error
Uncaught Error: Class 'JFB_Modules\\Captcha\\Abstract_Captcha\\Base_Captcha_From_Options' not found in wp-content/plugins/jetformbuilder/modules/captcha/friendly-captcha/friendly-captcha.php:16
- > PHP Fatal error
Uncaught Error: Class 'Jet_Form_Builder\\Actions\\Events\\Base_Event' not found in wp-content/plugins/jetformbuilder/includes/actions/events/on-dynamic-state/on-dynamic-state-event.php:12
- > PHP Fatal error
Uncaught Error: Class 'Jet_Form_Builder\\Blocks\\Conditional_Block\\Render_States\\Base_Render_State' not found in wp-content/plugins/jetformbuilder/includes/blocks/conditional-block/render-states/custom-render-state.php:6
- > PHP Fatal error
Uncaught Error: Class 'JFB_Modules\\Captcha\\Abstract_Captcha\\Base_Captcha_From_Options' not found in wp-content/plugins/jetformbuilder/modules/captcha/hcaptcha/hcaptcha.php:18
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Please take a look at the following user-side issues
- > GET request to /wp-admin/post-new.php?post_type=jet-form-builder
- > Javascript (severe) in unknown
/wp-includes/js/dist/core-data.min.js?ver=eba24853937736de71cd 1:15027 Uncaught Error: The entity being edited (postType, undefined) does not have a loaded config.
- > GET request to /wp-admin/edit.php?post_type=jet-form-builder&page=jfb-records
- > Intervention (severe) in unknown
/wp-admin/post-new.php?post_type=jet-form-builder - Blocked attempt to show a 'beforeunload' confirmation panel for a frame that never had a user gesture since its load. https://www.chromestatus.com/feature/5082396709879808
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
7 plugin tags: multi step form, gutenberg forms, form builder, forms, contact form...
jetformbuilder/jet-form-builder.php 77% from 13 tests
The primary PHP file in "JetFormBuilder — Dynamic Blocks Form Builder" version 3.2.0 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 159 characters long)
- Main file name: Name the main plugin file the same as the plugin slug ("jetformbuilder.php" instead of "jet-form-builder.php")
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Good job! No executable or dangerous file extensions detected79,018 lines of code in 1,128 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 951 | 15,209 | 9,490 | 53,484 |
JavaScript | 100 | 1,894 | 1,742 | 16,890 |
JSON | 33 | 0 | 0 | 5,075 |
Sass | 30 | 118 | 19 | 1,872 |
PO File | 1 | 725 | 1,213 | 1,597 |
CSS | 11 | 4 | 2 | 47 |
SVG | 1 | 0 | 0 | 27 |
Markdown | 1 | 10 | 0 | 26 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 4.20 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 110.00 |
Average method complexity | 1.64 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 46.00 |
Code structure | ||
---|---|---|
Namespaces | 225 | |
Interfaces | 53 | |
Traits | 53 | |
Classes | 773 | |
▷ Abstract classes | 91 | 11.77% |
▷ Concrete classes | 682 | 88.23% |
▷ Final classes | 13 | 1.91% |
Methods | 4,574 | |
▷ Static methods | 341 | 7.46% |
▷ Public methods | 4,183 | 91.45% |
▷ Protected methods | 255 | 5.57% |
▷ Private methods | 136 | 2.97% |
Functions | 63 | |
▷ Named functions | 17 | 26.98% |
▷ Anonymous functions | 46 | 73.02% |
Constants | 225 | |
▷ Global constants | 7 | 3.11% |
▷ Class constants | 218 | 96.89% |
▷ Public constants | 218 | 100.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
1 PNG file occupies 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
compatibility/jet-engine/assets/img/map-placeholder.png | 17.97KB | 10.46KB | ▼ 41.80% |