Benchmarks
Plugin footprint 82% 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: ▲2.96MB] [CPU: ▲15.52ms] 75% from 4 tests
Server-side resources used by Easy Form by AYS - Form Builder Plugin for WordPress
The following require your attention
- CPU: The total CPU usage must kept under 500.00ms (currently 3,453.96ms on /wp-admin/admin.php?page=ays-form-maker-our-products)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 6.39 ▲2.93 | 52.34 ▲14.33 |
Dashboard /wp-admin | 6.30 ▲2.99 | 67.22 ▲20.18 |
Posts /wp-admin/edit.php | 6.33 ▲2.97 | 72.33 ▲23.26 |
Add New Post /wp-admin/post-new.php | 8.94 ▲3.05 | 98.75 ▲4.29 |
Media Library /wp-admin/upload.php | 6.17 ▲2.94 | 63.27 ▲30.03 |
/wp-admin/admin.php?page=ays-form-maker-each-entry | 6.47 | 62.19 |
Form Categories /wp-admin/admin.php?page=ays-form-maker-form-categories | 6.31 | 55.51 |
Add new /wp-admin/admin.php?page=ays-form-maker-add-new | 6.24 | 54.68 |
Submissions /wp-admin/admin.php?page=ays-form-maker-entries | 6.33 | 66.82 |
PRO Features /wp-admin/admin.php?page=ays-form-maker-form-features | 6.32 | 55.70 |
Export / Import /wp-admin/admin.php?page=ays-form-maker-export-import | 6.24 | 59.00 |
General Settings /wp-admin/admin.php?page=ays-form-maker-settings | 6.56 | 55.92 |
Forms /wp-admin/admin.php?page=ays-form-maker | 6.33 | 59.36 |
Our products /wp-admin/admin.php?page=ays-form-maker-our-products | 6.78 | 3,453.96 |
How to use /wp-admin/admin.php?page=ays-form-maker-dashboard | 6.24 | 53.55 |
Server storage [IO: ▲4.93MB] [DB: ▲0.01MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 267 new files
Database: 9 new tables, 10 new options
New tables |
---|
wp_aysform_settings |
wp_aysform_answers |
wp_aysform_fields |
wp_aysform_field_categories |
wp_aysform_entries |
wp_aysform_entries_fields |
wp_aysform_form_categories |
wp_aysform_forms |
wp_aysform_sections |
New WordPress options |
---|
ays_form_sale_btn_for_two_months |
ays_form_db_version |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
ays_form_sale_date |
widget_theysaidso_widget |
can_compress_scripts |
ays_form_sale_btn |
Browser metrics Passed 4 tests
Checking browser requirements for Easy Form by AYS - Form Builder Plugin for WordPress
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,877 ▲115 | 14.57 ▲0.18 | 1.64 ▼0.09 | 27.25 ▼18.05 |
Dashboard /wp-admin | 2,283 ▲109 | 5.56 ▼0.12 | 97.46 ▼3.13 | 72.45 ▲11.26 |
Posts /wp-admin/edit.php | 2,191 ▲91 | 1.98 ▼0.04 | 36.55 ▼1.26 | 37.39 ▲0.33 |
Add New Post /wp-admin/post-new.php | 6,255 ▲4,729 | 25.57 ▲2.32 | 1,040.09 ▲394.93 | 40.58 ▼18.71 |
Media Library /wp-admin/upload.php | 1,485 ▲91 | 4.14 ▼0.06 | 107.14 ▲7.54 | 82.04 ▲39.53 |
/wp-admin/admin.php?page=ays-form-maker-each-entry | 2,046 | 5.84 | 140.35 | 166.28 |
Form Categories /wp-admin/admin.php?page=ays-form-maker-form-categories | 1,917 | 5.85 | 133.68 | 114.89 |
Add new /wp-admin/admin.php?page=ays-form-maker-add-new | 16,474 | 17.60 | 681.63 | 212.02 |
Submissions /wp-admin/admin.php?page=ays-form-maker-entries | 2,046 | 5.72 | 88.32 | 105.73 |
PRO Features /wp-admin/admin.php?page=ays-form-maker-form-features | 2,548 | 5.67 | 83.06 | 83.97 |
Export / Import /wp-admin/admin.php?page=ays-form-maker-export-import | 1,799 | 6.18 | 92.58 | 84.88 |
General Settings /wp-admin/admin.php?page=ays-form-maker-settings | 4,644 | 6.73 | 114.58 | 147.96 |
Forms /wp-admin/admin.php?page=ays-form-maker | 2,642 | 15.52 | 333.51 | 157.31 |
Our products /wp-admin/admin.php?page=ays-form-maker-our-products | 1,756 | 5.75 | 77.78 | 108.62 |
How to use /wp-admin/admin.php?page=ays-form-maker-dashboard | 1,690 | 5.63 | 82.52 | 117.97 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- The uninstall procedure has failed, leaving 9 options in the database
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- ays_form_sale_btn_for_two_months
- ays_form_sale_date
- widget_theysaidso_widget
- ays_form_sale_btn
- db_upgraded
- widget_recent-comments
Smoke tests 25% 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)
Almost there, just fix the following server-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=ays-form-maker-each-entry
- > Notice in wp-content/plugins/easy-form/admin/partials/entries/ays-form-maker-each-entry-display.php+139
Trying to access array offset on value of type null
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=ays-form-maker-each-entry
- > Notice in wp-content/plugins/easy-form/admin/partials/entries/ays-form-maker-each-entry-display.php+314
Trying to access array offset on value of type bool
- 8 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=ays-form-maker-each-entry
- > Notice in wp-content/plugins/easy-form/includes/lists/class-ays-form-maker-each-entry-list-table.php+56
Undefined index: form
SRP 0% 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
The following issues need your attention
- 3× PHP files output text when accessed directly:
- > /wp-content/plugins/easy-form/public/partials/ays-form-maker-public-display.php
- > /wp-content/plugins/easy-form/admin/partials/forms/actions/partials/general-tab-parts/types/for-js/type-text.php
- > /wp-content/plugins/easy-form/admin/partials/forms/actions/partials/general-tab-parts/field-parts/field-other-answer.php
- 126× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function get_current_user_id() in wp-content/plugins/easy-form/admin/partials/forms/actions/ays-form-maker-forms-actions-options.php:14
- > PHP Notice
Undefined variable: question_types_placeholders in wp-content/plugins/easy-form/admin/partials/forms/actions/partials/general-tab-parts/types/edit/type-text.php on line 30
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/easy-form/admin/partials/orders/ays-form-maker-orders-display.php:3
- > PHP Fatal error
Uncaught Error: Class 'Ays_Form_Maker_Data' not found in wp-content/plugins/easy-form/admin/partials/forms/actions/partials/ays-form-maker-forms-actions-tab1.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/easy-form/admin/partials/forms/actions/partials/general-tab-parts/field-for-js.php:18
- > PHP Notice
Undefined variable: selected_question_type in wp-content/plugins/easy-form/admin/partials/forms/actions/partials/general-tab-parts/types/edit/type-text.php on line 20
- > PHP Notice
Undefined variable: ays_tab in wp-content/plugins/easy-form/admin/partials/forms/actions/partials/ays-form-maker-forms-actions-tab3.php on line 1
- > PHP Notice
Undefined variable: field_action in wp-content/plugins/easy-form/admin/partials/forms/actions/partials/general-tab-parts/field-parts/field-more-options.php on line 3
- > PHP Warning
require_once(ABSPATHwp-admin/includes/class-wp-upgrader.php): failed to open stream: No such file or directory in wp-content/plugins/easy-form/includes/admin/class-ays-form-maker-upgrader.php on line 10
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/easy-form/admin/partials/forms/actions/partials/general-tab-parts/field-parts/field-more-options.php:20
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
10 plugin tags: wp form plugin, forms, payment form, questionnaire, contact form plugin...
easy-form/easy-form.php Passed 13 tests
This is the main PHP file of "Easy Form by AYS - Form Builder Plugin for WordPress" version 1.5.5, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
128 characters long description:
The best WordPress form builder plugin. Create contact forms, subscription forms, payment forms, or any custom forms in minutes.
Code Analysis 97% from 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
There were no executable files found in this plugin45,460 lines of code in 191 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 75 | 3,655 | 3,168 | 23,739 |
CSS | 30 | 1,448 | 726 | 10,824 |
JavaScript | 28 | 1,443 | 1,207 | 10,397 |
SVG | 57 | 4 | 2 | 288 |
JSON | 1 | 0 | 0 | 212 |
PHP code 50% from 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Please fix the following
- Cyclomatic complexity of methods has to be reduced to less than 100 (currently 673)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.52 |
Average class complexity | 164.47 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 891.00 |
Average method complexity | 8.92 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 673.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 19 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 19 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 392 | |
▷ Static methods | 116 | 29.59% |
▷ Public methods | 373 | 95.15% |
▷ Protected methods | 12 | 3.06% |
▷ Private methods | 7 | 1.79% |
Functions | 9 | |
▷ Named functions | 9 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 13 | |
▷ Global constants | 13 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
58 PNG files occupy 0.49MB with 0.11MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/images/icons/ask-question.png | 2.89KB | 2.89KB | 0.03% |
admin/images/icons/easyform_logo.png | 1.67KB | 1.51KB | ▼ 9.68% |
admin/images/icons/quiz-128x128.png | 3.16KB | 3.00KB | ▼ 4.92% |
admin/images/easyform_logo_128x128.png | 6.73KB | 3.56KB | ▼ 47.06% |
admin/images/down_red_arrow.png | 0.95KB | 0.47KB | ▼ 50.26% |