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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.13MB] [CPU: ▼7.92ms] Passed 4 tests
An overview of server-side resources used by Forms: 3rd-Party Integration
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.14 | 40.58 ▲2.74 |
Dashboard /wp-admin | 3.45 ▲0.10 | 44.61 ▼14.31 |
Posts /wp-admin/edit.php | 3.56 ▲0.21 | 50.29 ▲3.08 |
Add New Post /wp-admin/post-new.php | 6.03 ▲0.14 | 82.06 ▼23.19 |
Media Library /wp-admin/upload.php | 3.37 ▲0.14 | 37.11 ▲6.29 |
Server storage [IO: ▲0.48MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 22 new files
Database: no new tables, 8 new options
New WordPress options |
---|
Forms3rdPartyIntegration_settings |
widget_theysaidso_widget |
theysaidso_admin_options |
Forms3rdPartyIntegration_version |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Forms: 3rd-Party Integration
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲18 | 14.37 ▲0.10 | 1.66 ▼0.01 | 46.12 ▲5.44 |
Dashboard /wp-admin | 2,198 ▲21 | 5.62 ▼0.05 | 83.05 ▼4.70 | 39.19 ▼5.00 |
Posts /wp-admin/edit.php | 2,103 ▲3 | 2.01 ▼0.01 | 35.52 ▼0.38 | 32.17 ▼1.53 |
Add New Post /wp-admin/post-new.php | 1,528 ▼7 | 22.62 ▲4.43 | 662.82 ▲10.62 | 48.42 ▼12.83 |
Media Library /wp-admin/upload.php | 1,403 ▲6 | 4.21 ▲0.01 | 110.36 ▲10.95 | 47.31 ▲3.28 |
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
These items require your attention
- Zombie WordPress options were found after uninstall: 8 options
- db_upgraded
- Forms3rdPartyIntegration_version
- widget_recent-comments
- widget_theysaidso_widget
- Forms3rdPartyIntegration_settings
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
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 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following items
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/forms-3rdparty-integration/3rd-parties/service_test.php
- 14× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/forms-3rdparty-integration/includes.php on line 24
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/forms-3rdparty-integration/plugin-ui.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/forms-3rdparty-integration/3rd-parties/mailchimp/functions.mailchimp.php:17
- > PHP Warning
include_once(): Failed opening 'ABSPATHwp-admin/includes/plugin.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/forms-3rdparty-integration/includes.php on line 24
- > PHP Notice
Undefined index: HTTP_USER_AGENT in wp-content/plugins/forms-3rdparty-integration/3rd-parties/service_test.php on line 32
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/forms-3rdparty-integration/3rd-parties/listrak/functions.listrak.php:20
- > PHP Fatal error
Uncaught Error: Class 'Forms3rdpartyIntegration_FPLUGIN' not found in wp-content/plugins/forms-3rdparty-integration/plugins/contactform7.php:7
- > PHP Fatal error
Uncaught Error: Class 'Forms3rdpartyIntegration_FPLUGIN' not found in wp-content/plugins/forms-3rdparty-integration/plugins/gravityforms.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/forms-3rdparty-integration/forms-3rdparty-integration.php:125
- > PHP Warning
include_once(ABSPATHwp-admin/includes/plugin.php): failed to open stream: No such file or directory in wp-content/plugins/forms-3rdparty-integration/includes.php on line 24
- > 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)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need to be fixed:
- Tags: There are too many tags (11 tag instead of maximum 10)
- Screenshots: These screenshots require images: #1 (Admin page - create multiple services, set up debugging/notice emails, example code), #2 (Sample service - mailchimp integration, with static and mapped values), #3 (Sample service - salesforce integration, with static and mapped values)
forms-3rdparty-integration/forms-3rdparty-integration.php Passed 13 tests
The entry point to "Forms: 3rd-Party Integration" version 1.8 is a PHP file that has certain tags in its header comment area
81 characters long description:
Send plugin Forms Submissions (Gravity, CF7, Ninja Forms, etc) to a 3rd-party URL
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
No dangerous file extensions were detected1,941 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 504 | 977 | 1,421 |
Markdown | 1 | 153 | 0 | 376 |
JavaScript | 1 | 21 | 24 | 116 |
CSS | 1 | 12 | 2 | 28 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 19.80 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 98.00 |
Average method complexity | 2.58 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 10 | |
▷ Abstract classes | 2 | 20.00% |
▷ Concrete classes | 8 | 80.00% |
▷ Final classes | 0 | 0.00% |
Methods | 135 | |
▷ Static methods | 1 | 0.74% |
▷ Public methods | 59 | 43.70% |
▷ Protected methods | 72 | 53.33% |
▷ Private methods | 4 | 2.96% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 16 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 16 | 100.00% |
▷ Public constants | 16 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
6 PNG files occupy 0.31MB with 0.14MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-3.png | 92.67KB | 40.53KB | ▼ 56.26% |
screenshot-2.png | 73.38KB | 30.84KB | ▼ 57.97% |
3rd-parties/salesforce/salesforce setup cf7 - screenshot.png | 92.67KB | 40.53KB | ▼ 56.26% |
screenshot-1.png | 49.93KB | 24.13KB | ▼ 51.68% |
i_plugin.png | 0.74KB | 0.81KB | 0.00% |