Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.62MB] [CPU: ▲172.94ms] Passed 4 tests
Server-side resources used by Formaloo Form Maker & Customer Analytics for WordPress & WooCommerce
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.05 ▲0.59 | 45.89 ▲2.10 |
Dashboard /wp-admin | 3.94 ▲0.63 | 349.39 ▲294.01 |
Posts /wp-admin/edit.php | 3.99 ▲0.63 | 365.78 ▲314.50 |
Add New Post /wp-admin/post-new.php | 6.54 ▲0.65 | 295.41 ▲196.31 |
Media Library /wp-admin/upload.php | 3.86 ▲0.63 | 235.83 ▲199.34 |
My Forms /wp-admin/admin.php?page=formaloo | 3.81 | 337.83 |
Feedback Widget /wp-admin/admin.php?page=formaloo-feedback-widget-page | 3.82 | 240.99 |
/wp-admin/admin.php?page=formaloo-results-page | 3.81 | 235.89 |
Settings /wp-admin/admin.php?page=formaloo-settings-page | 3.83 | 251.63 |
Templates /wp-admin/admin.php?page=formaloo-templates-page | 3.82 | 247.13 |
Server storage [IO: ▲1.55MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 83 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Formaloo Form Maker & Customer Analytics for WordPress & WooCommerce
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,890 ▲129 | 14.40 ▲0.04 | 1.58 ▼0.41 | 41.62 ▼1.61 |
Dashboard /wp-admin | 2,270 ▲93 | 5.83 ▲0.16 | 90.50 ▼10.91 | 39.59 ▼2.87 |
Posts /wp-admin/edit.php | 2,172 ▲72 | 2.38 ▲0.38 | 36.71 ▲1.04 | 34.77 ▼1.65 |
Add New Post /wp-admin/post-new.php | 6,432 ▲4,906 | 22.97 ▼0.09 | 932.04 ▲259.50 | 38.93 ▼17.27 |
Media Library /wp-admin/upload.php | 1,497 ▲94 | 4.40 ▲0.15 | 90.38 ▼25.77 | 39.01 ▼10.69 |
My Forms /wp-admin/admin.php?page=formaloo | 1,133 | 2.10 | 31.56 | 33.74 |
Feedback Widget /wp-admin/admin.php?page=formaloo-feedback-widget-page | 1,257 | 2.14 | 31.74 | 29.06 |
/wp-admin/admin.php?page=formaloo-results-page | 1,004 | 1.99 | 29.48 | 24.31 |
Settings /wp-admin/admin.php?page=formaloo-settings-page | 978 | 1.96 | 29.86 | 32.64 |
Templates /wp-admin/admin.php?page=formaloo-templates-page | 1,348 | 2.33 | 38.36 | 33.05 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Please fix the following server-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=formaloo-results-page
- > Notice in wp-content/plugins/formaloo-form-builder/inc/pages/resultsPage.php+8
Undefined index: api_key
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=formaloo-results-page
- > Notice in wp-content/plugins/formaloo-form-builder/inc/pages/resultsPage.php+7
Undefined index: api_token
- > GET request to /wp-admin/admin.php?page=formaloo-results-page
- > Notice in wp-content/plugins/formaloo-form-builder/inc/pages/formResultsPage.php+82
Undefined index: results_slug
- > GET request to /wp-admin/admin.php?page=formaloo-results-page
- > Notice in wp-content/plugins/formaloo-form-builder/inc/pages/resultsPage.php+9
Undefined index: api_secret
- 14 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=formaloo-results-page
- > Notice in wp-content/plugins/formaloo-form-builder/inc/tables/resultsTable.php+59
Trying to access array offset on value of type null
- 11 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=formaloo-results-page
- > Warning in wp-content/plugins/formaloo-form-builder/inc/tables/resultsTable.php+62
count(): Parameter must be an array or an object that implements Countable
- > GET request to /wp-admin/admin.php?page=formaloo-results-page
- > Warning in wp-content/plugins/formaloo-form-builder/inc/tables/resultsTable.php+147
Invalid argument supplied for foreach()
SRP 50% 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 take a closer look at the following
- 18× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Formaloo_Main_Class' not found in wp-content/plugins/formaloo-form-builder/inc/pages/formResultsPage.php:2
- > PHP Fatal error
Uncaught Error: Class 'Formaloo_Main_Class' not found in wp-content/plugins/formaloo-form-builder/inc/pages/formsListPage.php:2
- > PHP Fatal error
Uncaught Error: Class 'Formaloo_Main_Class' not found in wp-content/plugins/formaloo-form-builder/inc/pages/resultsPage.php:2
- > PHP Fatal error
Uncaught Error: Class 'Formaloo_Main_Class' not found in wp-content/plugins/formaloo-form-builder/inc/auth/refreshAuthToken.php:3
- > PHP Fatal error
Uncaught Error: Class 'Formaloo_Main_Class' not found in wp-content/plugins/formaloo-form-builder/inc/notices/adminNotice.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/formaloo-form-builder/blocks/formaloo-block.php:93
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/formaloo-form-builder/classic-editor.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/formaloo-form-builder/classicEditor.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/formaloo-form-builder/formaloo.php:23
- > PHP Fatal error
Uncaught Error: Class 'Formaloo_Main_Class' not found in wp-content/plugins/formaloo-form-builder/inc/pages/feedbackWidgetPage.php:2
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Please fix the following browser errors
- > GET request to /wp-admin/admin.php?page=formaloo-templates-page
- > Network (severe)
wp-admin/null - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
- Tags: Please delete some tags, you are using 40 tag instead of maximum 10
formaloo-form-builder/formaloo.php 85% from 13 tests
"Formaloo Form Maker & Customer Analytics for WordPress & WooCommerce" version 2.1.3.2's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please make the necessary changes and fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("formaloo-form-builder.php" instead of "formaloo.php")
- Requires at least: Required version must match the one declared in readme.txt ("4.6" instead of "3.5.0")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Success! There were no dangerous files found in this plugin6,836 lines of code in 47 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 28 | 957 | 700 | 4,167 |
PO File | 5 | 610 | 1,975 | 1,417 |
JavaScript | 4 | 55 | 102 | 635 |
CSS | 4 | 3 | 1 | 506 |
SVG | 6 | 0 | 2 | 111 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 17.50 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 55.00 |
Average method complexity | 4.33 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 23.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 24 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 24 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 119 | |
▷ Static methods | 12 | 10.08% |
▷ Public methods | 97 | 81.51% |
▷ Protected methods | 5 | 4.20% |
▷ Private methods | 17 | 14.29% |
Functions | 8 | |
▷ Named functions | 8 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
6 PNG files occupy 0.16MB with 0.06MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/logo_placeholder.png | 9.57KB | 5.36KB | ▼ 44.02% |
assets/images/Formaloo_Logo.png | 7.85KB | 4.71KB | ▼ 40.01% |
assets/images/widget_icons/fillHeart.png | 15.90KB | 6.36KB | ▼ 60.01% |
assets/images/woo-commerce-cashback.png | 36.50KB | 12.89KB | ▼ 64.67% |
assets/images/feedback_widget.png | 40.32KB | 40.38KB | 0.00% |