Benchmarks
Plugin footprint 83% 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: ▲0.07MB] [CPU: ▼6.30ms] Passed 4 tests
A check of server-side resources used by Forminix – Drag & Drop Contact Form Builder for WordPress
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.14 | 42.06 ▲2.40 |
Dashboard /wp-admin | 3.42 ▲0.07 | 49.73 ▼14.00 |
Posts /wp-admin/edit.php | 3.47 ▲0.11 | 47.53 ▲4.65 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 79.90 ▼17.01 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 34.16 ▲3.42 |
Dashboard /wp-admin/admin.php?page=forminix-dashboard | 3.51 | 34.97 |
Modules /wp-admin/admin.php?page=forminix-modules | 3.34 | 32.00 |
Server storage [IO: ▲1.27MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 177 new files
Database: no new tables, 11 new options
New WordPress options |
---|
widget_recent-comments |
forminix_modules |
widget_theysaidso_widget |
forminix_entry_settings |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
forminix_forms |
forminix_form_settings |
theysaidso_admin_options |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for Forminix – Drag & Drop Contact Form Builder for WordPress
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,142 ▲396 | 15.43 ▲1.06 | 27.53 ▲25.76 | 44.95 ▼0.00 |
Dashboard /wp-admin | 2,234 ▲57 | 5.59 ▲0.05 | 92.20 ▼6.92 | 74.51 ▲26.98 |
Posts /wp-admin/edit.php | 2,139 ▲39 | 1.96 ▼0.05 | 39.71 ▲2.74 | 38.38 ▼2.85 |
Add New Post /wp-admin/post-new.php | 1,712 ▲175 | 21.76 ▲3.54 | 660.27 ▲68.54 | 54.75 ▼8.33 |
Media Library /wp-admin/upload.php | 1,439 ▲39 | 4.28 ▲0.02 | 95.04 ▼9.56 | 77.94 ▲36.15 |
Dashboard /wp-admin/admin.php?page=forminix-dashboard | 4,506 | 3.55 | 55.69 | 60.42 |
Modules /wp-admin/admin.php?page=forminix-modules | 1,801 | 1.98 | 23.08 | 63.08 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 11 options
- widget_recent-comments
- forminix_modules
- can_compress_scripts
- forminix_form_settings
- forminix_forms
- widget_theysaidso_widget
- forminix_entry_settings
- db_upgraded
- theysaidso_admin_options
- forminix_entries
- ...
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
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
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/forminix/frontend/api/submit_form.php
- 37× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Warning
include(FORMINIX_PATHbackend/templates/views/forms.php): failed to open stream: No such file or directory in wp-content/plugins/forminix/backend/templates/dashboard.php on line 4
- > PHP Warning
include(): Failed opening 'FORMINIX_PATHbackend/templates/views/settings.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/forminix/backend/templates/dashboard.php on line 5
- > PHP Fatal error
Uncaught Error: Call to undefined function current_user_can() in wp-content/plugins/forminix/backend/api/get_settings.php:6
- > PHP Warning
Use of undefined constant FORMINIX_PATH - assumed 'FORMINIX_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/forminix/backend/templates/dashboard.php on line 8
- > PHP Warning
Use of undefined constant FORMINIX_PATH - assumed 'FORMINIX_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/forminix/backend/templates/dashboard.php on line 6
- > PHP Fatal error
Uncaught Error: Call to undefined function current_user_can() in wp-content/plugins/forminix/backend/api/list_forms.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/forminix/backend/templates/views/entry.php:7
- > PHP Warning
include(FORMINIX_PATHbackend/templates/views/entries.php): failed to open stream: No such file or directory in wp-content/plugins/forminix/backend/templates/dashboard.php on line 6
- > PHP Warning
include(FORMINIX_PATHbackend/templates/views/settings.php): failed to open stream: No such file or directory in wp-content/plugins/forminix/backend/templates/dashboard.php on line 5
- > PHP Warning
include(): Failed opening 'FORMINIX_PATHbackend/templates/views/builder.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/forminix/backend/templates/dashboard.php on line 8
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
4 plugin tags: custom form, form builder, contact form, forms
forminix/forminix.php 92% from 13 tests
The main PHP file in "Forminix – Drag & Drop Contact Form Builder for WordPress" ver. 1.2.6 adds more information about the plugin and also serves as the entry point for this plugin
It is important to fix the following:
- Domain Path: The domain path points to an invalid folder, "/languages" does not exist
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Good job! No executable or dangerous file extensions detected14,186 lines of code in 144 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 35 | 920 | 140 | 4,570 |
JavaScript | 16 | 660 | 110 | 4,538 |
CSS | 11 | 741 | 76 | 4,223 |
SVG | 82 | 1 | 1 | 855 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 39.11 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 126.00 |
Average method complexity | 5.70 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 59.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 73 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 73 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 10 | |
▷ Global constants | 10 | 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
11 compressed PNG files occupy 0.12MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/imports/feedback_form.png | 12.61KB | 13.47KB | 0.00% |
assets/imports/user_registration_form.png | 6.51KB | 6.86KB | 0.00% |
assets/img/module_icons/forminix_module_icon_pabbly.png | 10.52KB | 5.90KB | ▼ 43.89% |
assets/imports/volunteer_registration_form.png | 11.04KB | 11.08KB | 0.00% |
assets/imports/photo_contest_entry_form.png | 19.29KB | 19.93KB | 0.00% |