Benchmarks
Plugin footprint 47% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲5.63MB] [CPU: ▲29.51ms] 50% from 4 tests
A check of server-side resources used by Advanced Form Integration - Connect WooCommerce and Contact Form 7 to Google Sheets and other platforms
The following require your attention
- CPU: Total CPU usage must kept under 500.00ms (currently 1,783.91ms on /wp-admin/admin.php?page=advanced-form-integration-settings)
- Extra RAM: Extra memory usage must be kept under 5MB (currently 5.63MB on /wp-admin/admin.php?page=freemius)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 9.25 ▲5.79 | 69.21 ▲29.93 |
Dashboard /wp-admin | 9.27 ▲5.97 | 75.94 ▲26.10 |
Posts /wp-admin/edit.php | 9.27 ▲5.92 | 83.94 ▲34.58 |
Add New Post /wp-admin/post-new.php | 10.72 ▲4.83 | 117.62 ▲27.42 |
Media Library /wp-admin/upload.php | 9.27 ▲6.04 | 79.20 ▲45.78 |
Settings /wp-admin/admin.php?page=advanced-form-integration-settings | 9.27 | 1,783.91 |
Get Help /wp-admin/admin.php?page=advanced-form-integration-help | 9.27 | 64.46 |
Add New /wp-admin/admin.php?page=advanced-form-integration-new | 9.27 | 63.14 |
Log /wp-admin/admin.php?page=advanced-form-integration-log | 9.27 | 65.58 |
Integrations /wp-admin/admin.php?page=advanced-form-integration | 9.27 | 63.32 |
Freemius Debug [v.2.6.0] /wp-admin/admin.php?page=freemius | 9.27 | 63.23 |
Server storage [IO: ▲5.59MB] [DB: ▲0.01MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 323 new files
Database: 2 new tables, 10 new options
New tables |
---|
wp_adfoin_integration |
wp_adfoin_log |
New WordPress options |
---|
db_upgraded |
adfoin_review |
widget_theysaidso_widget |
widget_recent-posts |
fs_debug_mode |
widget_recent-comments |
can_compress_scripts |
fs_accounts |
fs_active_plugins |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Advanced Form Integration - Connect WooCommerce and Contact Form 7 to Google Sheets and other platforms
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,886 ▲139 | 14.14 ▼0.09 | 1.98 ▲0.40 | 29.49 ▼18.44 |
Dashboard /wp-admin | 2,266 ▲89 | 5.64 ▲0.00 | 93.26 ▼0.05 | 41.70 ▲0.20 |
Posts /wp-admin/edit.php | 2,172 ▲72 | 2.10 ▲0.12 | 41.37 ▼0.83 | 39.75 ▲5.15 |
Add New Post /wp-admin/post-new.php | 1,562 ▲36 | 22.13 ▼1.04 | 748.65 ▲63.13 | 56.53 ▼3.92 |
Media Library /wp-admin/upload.php | 1,465 ▲68 | 4.27 ▲0.08 | 111.42 ▲8.83 | 49.34 ▲3.83 |
Settings /wp-admin/admin.php?page=advanced-form-integration-settings | 1,054 | 2.31 | 34.71 | 58.93 |
Get Help /wp-admin/admin.php?page=advanced-form-integration-help | 1,416 | 2.01 | 29.14 | 41.30 |
Add New /wp-admin/admin.php?page=advanced-form-integration-new | 1,495 | 3.07 | 51.74 | 28.31 |
Log /wp-admin/admin.php?page=advanced-form-integration-log | 1,047 | 4.10 | 78.57 | 28.37 |
Integrations /wp-admin/admin.php?page=advanced-form-integration | 1,064 | 2.31 | 33.70 | 22.98 |
Freemius Debug [v.2.6.0] /wp-admin/admin.php?page=freemius | 1,126 | 1.67 | 24.57 | 29.44 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 25% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- This plugin cannot be uninstalled
- > Notice in wp-content/plugins/advanced-form-integration/freemius/includes/class-freemius.php+8546
Undefined property: stdClass::$plugins
- The plugin did not uninstall successfully, leaving 2 tables in the database
- wp_adfoin_integration
- wp_adfoin_log
- Zombie WordPress options were found after uninstall: 10 options
- fs_accounts
- adfoin_review
- widget_theysaidso_widget
- fs_debug_mode
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- fs_active_plugins
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 0% 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 fix the following items
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/advanced-form-integration/views/get_help.php
- 126× 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/advanced-form-integration/platforms/mailwizz/mailwizz.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/advanced-form-integration/platforms/sendfox/sendfox.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/advanced-form-integration/platforms/convertkit/convertkit.php:3
- > PHP Fatal error
Uncaught Error: Class 'Advanced_Form_Integration_OAuth2' not found in wp-content/plugins/advanced-form-integration/platforms/googlesheets/googlesheets.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/advanced-form-integration/includes/triggers/eform/eform.php:54
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/advanced-form-integration/platforms/customerio/customerio.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/advanced-form-integration/platforms/sendpulse/sendpulse.php:2202
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/advanced-form-integration/platforms/freshsales/freshsales.php:3
- > PHP Warning
require_once(ABSPATHwp-admin/includes/class-wp-list-table.php): failed to open stream: No such file or directory in wp-content/plugins/advanced-form-integration/includes/class-adfoin-list-table.php on line 4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/advanced-form-integration/platforms/asana/asana.php:3
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Please take a look at the following user-side issues
- > GET request to /wp-admin/admin.php?page=advanced-form-integration-log
- > Javascript (severe) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-codemirror,underscore&ver=6.3.1 1:11743 Uncaught Error: Syntax error, unrecognized expression: ##adfoin-log-request-data
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that require attention:
- Tags: Too many tags (26 tag instead of maximum 10); only the first 5 tags are used in your directory listing
- Screenshots: These screenshots do not have images: #1 (All integrations list), #2 (Settings page), #3 (New integration page), #4 (Conditional logic)
advanced-form-integration/advanced-form-integration.php 85% from 13 tests
The primary PHP file in "Advanced Form Integration - Connect WooCommerce and Contact Form 7 to Google Sheets and other platforms" version 1.76.0 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
- Domain Path: You should use only dashes and lowercase characters for the domain path ("languages")
- Domain Path: The domain path should be prefixed with a forward slash character ("/languages")
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
Everything looks great! No dangerous files found in this plugin73,231 lines of code in 264 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 243 | 14,285 | 20,325 | 68,334 |
JavaScript | 7 | 950 | 116 | 4,736 |
CSS | 14 | 25 | 0 | 161 |
PHP code 50% from 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
These items need your attention
- Please reduce cyclomatic complexity of classes to less than 1000 (currently 3,096)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.53 |
Average class complexity | 70.70 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3,096.00 |
Average method complexity | 4.24 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 94.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 3 | |
Traits | 0 | |
Classes | 73 | |
▷ Abstract classes | 2 | 2.74% |
▷ Concrete classes | 71 | 97.26% |
▷ Final classes | 0 | 0.00% |
Methods | 1,731 | |
▷ Static methods | 210 | 12.13% |
▷ Public methods | 1,248 | 72.10% |
▷ Protected methods | 92 | 5.31% |
▷ Private methods | 391 | 22.59% |
Functions | 996 | |
▷ Named functions | 996 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 187 | |
▷ Global constants | 108 | 57.75% |
▷ Class constants | 79 | 42.25% |
▷ Public constants | 79 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
10 compressed PNG files occupy 0.69MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-5.png | 77.03KB | 78.28KB | 0.00% |
freemius/assets/img/theme-icon.png | 10.97KB | 5.78KB | ▼ 47.37% |
screenshot-1.png | 80.98KB | 82.53KB | 0.00% |
screenshot-2.png | 84.25KB | 85.30KB | 0.00% |
screenshot-3.png | 82.74KB | 85.16KB | 0.00% |