Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.27MB] [CPU: ▼146.34ms] Passed 4 tests
An overview of server-side resources used by WP Mautic Form Integrator
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.08 ▲0.25 | 37.32 ▼1.78 |
Dashboard /wp-admin | 3.38 ▲0.32 | 55.54 ▲2.74 |
Posts /wp-admin/edit.php | 3.43 ▲0.32 | 39.71 ▼16.74 |
Add New Post /wp-admin/post-new.php | 5.67 ▲0.24 | 91.88 ▼569.56 |
Media Library /wp-admin/upload.php | 3.26 ▲0.26 | 39.64 ▲3.80 |
Add New /wp-admin/admin.php?page=haw-mautic-integration-add-new | 3.26 | 37.52 |
Settings /wp-admin/admin.php?page=haw-mautic-integration-setting | 3.26 | 37.25 |
WP Mautic Form Integrator /wp-admin/admin.php?page=haw-mautic-integration | 3.27 | 40.46 |
Server storage [IO: ▲0.15MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 52 new files
Database: 3 new tables, 1 new option
New tables |
---|
wp_haw_mautic_integration_form |
wp_haw_mautic_forms |
wp_haw_mautic_form_fields |
New WordPress options |
---|
haw_mautic_integration_do_activation_redirect |
Browser metrics Passed 4 tests
A check of browser resources used by WP Mautic Form Integrator
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,721 ▲149 | 16.17 ▲0.24 | 10.93 ▼0.71 | 51.01 ▲1.82 |
Dashboard /wp-admin | 3,015 ▲81 | 5.89 ▼0.11 | 147.05 ▼18.88 | 117.37 ▼2.11 |
Posts /wp-admin/edit.php | 2,781 ▲42 | 2.73 ▲0.01 | 75.65 ▼4.52 | 97.73 ▲6.76 |
Add New Post /wp-admin/post-new.php | 1,622 ▲41 | 18.72 ▲0.63 | 420.69 ▼10.45 | 109.12 ▼6.44 |
Media Library /wp-admin/upload.php | 1,848 ▲38 | 5.04 ▼0.01 | 173.70 ▲31.82 | 126.13 ▲5.18 |
Add New /wp-admin/admin.php?page=haw-mautic-integration-add-new | 1,302 | 2.40 | 56.75 | 81.54 |
Settings /wp-admin/admin.php?page=haw-mautic-integration-setting | 1,265 | 2.24 | 64.93 | 83.49 |
WP Mautic Form Integrator /wp-admin/admin.php?page=haw-mautic-integration | 1,296 | 2.21 | 65.67 | 66.88 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- The plugin did not uninstall successfully, leaving 3 tables in the database
- wp_haw_mautic_form_fields
- wp_haw_mautic_forms
- wp_haw_mautic_integration_form
- Zombie WordPress options detected upon uninstall: 1 option
- haw_mautic_integration_do_activation_redirect
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at the following
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/wp-mautic-form-integrator/wp-mautic-form-integrator.php
- 20× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/wp-mautic-form-integrator/modules/haw-mautic-integration-si-contact-form.php:29
- > PHP Fatal error
Uncaught Error: Class 'Mautic\\Api\\Api' not found in wp-content/plugins/wp-mautic-form-integrator/lib/Api/Leads.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/wp-mautic-form-integrator/modules/haw-mautic-integration-gravity-forms.php:27
- > PHP Fatal error
Uncaught Error: Class 'Mautic\\Api\\Api' not found in wp-content/plugins/wp-mautic-form-integrator/lib/Api/Points.php:15
- > PHP Fatal error
Uncaught Error: Class 'Psr\\Log\\AbstractLogger' not found in wp-content/plugins/wp-mautic-form-integrator/vendor/psr/log/Psr/Log/NullLogger.php:13
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit_Framework_TestCase' not found in wp-content/plugins/wp-mautic-form-integrator/vendor/psr/log/Psr/Log/Test/LoggerInterfaceTest.php:12
- > PHP Fatal error
Uncaught Error: Class 'Mautic\\Api\\Api' not found in wp-content/plugins/wp-mautic-form-integrator/lib/Api/Emails.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/wp-mautic-form-integrator/modules/haw-mautic-integration-cf-7.php:29
- > PHP Fatal error
Uncaught Error: Class 'Mautic\\Api\\Api' not found in wp-content/plugins/wp-mautic-form-integrator/lib/Api/PointTriggers.php:15
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Log\\LoggerAwareInterface' not found in wp-content/plugins/wp-mautic-form-integrator/lib/Api/Api.php:20
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
6 plugin tags: ninja forms, fast secure forms, contact from 7, gravity forms, formidable forms...
wp-mautic-form-integrator/wp-mautic-form-integrator.php Passed 13 tests
"WP Mautic Form Integrator" version 1.0.3's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
103 characters long description:
WP Mautic Form Integrator plugin is a bridge between Mautic & several highly used form builder plugins.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin3,104 lines of code in 48 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 43 | 625 | 1,621 | 2,870 |
JavaScript | 1 | 5 | 0 | 131 |
JSON | 2 | 0 | 0 | 59 |
Markdown | 1 | 12 | 0 | 33 |
CSS | 1 | 0 | 0 | 11 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 6.29 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 98.00 |
Average method complexity | 2.28 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 21.00 |
Code structure | ||
---|---|---|
Namespaces | 7 | |
Interfaces | 3 | |
Traits | 2 | |
Classes | 29 | |
▷ Abstract classes | 2 | 6.90% |
▷ Concrete classes | 27 | 93.10% |
▷ Final classes | 0 | 0.00% |
Methods | 157 | |
▷ Static methods | 8 | 5.10% |
▷ Public methods | 143 | 91.08% |
▷ Protected methods | 6 | 3.82% |
▷ Private methods | 8 | 5.10% |
Functions | 47 | |
▷ Named functions | 46 | 97.87% |
▷ Anonymous functions | 1 | 2.13% |
Constants | 13 | |
▷ Global constants | 5 | 38.46% |
▷ Class constants | 8 | 61.54% |
▷ Public constants | 8 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG files were detected