Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.00MB] [CPU: ▼8.50ms] Passed 4 tests
A check of server-side resources used by Gravity Forms Infusionsoft Feed
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 36.93 ▲0.80 |
Dashboard /wp-admin | 3.31 ▼0.03 | 41.66 ▼16.18 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 41.95 ▼0.81 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 79.22 ▼17.82 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 37.51 ▲5.65 |
Server storage [IO: ▲1.78MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 426 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for Gravity Forms Infusionsoft Feed
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,809 ▲48 | 14.33 ▼0.23 | 1.67 ▼0.39 | 43.43 ▲1.53 |
Dashboard /wp-admin | 2,212 ▲32 | 5.56 ▼0.01 | 83.05 ▼9.22 | 41.72 ▼0.27 |
Posts /wp-admin/edit.php | 2,121 ▲24 | 2.03 ▼0.01 | 36.04 ▲1.99 | 33.89 ▼4.49 |
Add New Post /wp-admin/post-new.php | 1,541 ▲15 | 22.89 ▼0.11 | 642.03 ▼41.34 | 60.29 ▲13.09 |
Media Library /wp-admin/upload.php | 1,417 ▲20 | 4.26 ▲0.07 | 97.40 ▼7.78 | 48.43 ▲0.87 |
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
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
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
- 6× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/systasis-gf-infusionsoft-feed/trunk/vendor/novaksolutions/infusionsoft-php-sdk/Infusionsoft/infusionsoft.php
- > /wp-content/plugins/systasis-gf-infusionsoft-feed/vendor/novaksolutions/infusionsoft-php-sdk/Infusionsoft/admin/generate_broken_field_files.php
- > /wp-content/plugins/systasis-gf-infusionsoft-feed/vendor/novaksolutions/infusionsoft-php-sdk/Infusionsoft/admin/generate_classes_from_API_Field_access_file.php
- > /wp-content/plugins/systasis-gf-infusionsoft-feed/trunk/vendor/novaksolutions/infusionsoft-php-sdk/Infusionsoft/admin/generate_broken_field_files.php
- > /wp-content/plugins/systasis-gf-infusionsoft-feed/vendor/novaksolutions/infusionsoft-php-sdk/Infusionsoft/infusionsoft.php
- > /wp-content/plugins/systasis-gf-infusionsoft-feed/trunk/vendor/novaksolutions/infusionsoft-php-sdk/Infusionsoft/admin/generate_classes_from_API_Field_access_file.php
- 786× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Interface 'Infusionsoft_TokenStorageProvider' not found in wp-content/plugins/systasis-gf-infusionsoft-feed/vendor/novaksolutions/infusionsoft-php-sdk/Infusionsoft/CacheProvider.php:9
- > PHP Warning
fwrite() expects parameter 1 to be resource, bool given in wp-content/plugins/systasis-gf-infusionsoft-feed/vendor/novaksolutions/infusionsoft-php-sdk/Infusionsoft/admin/generate_classes_from_API_Field_access_file.php on line 46
- > PHP Fatal error
Uncaught Error: Class 'Infusionsoft_Generated_ContactGroupCategory' not found in wp-content/plugins/systasis-gf-infusionsoft-feed/trunk/vendor/novaksolutions/infusionsoft-php-sdk/Infusionsoft/ContactGroupCategory.php:2
- > PHP Warning
fclose() expects parameter 1 to be resource, bool given in wp-content/plugins/systasis-gf-infusionsoft-feed/trunk/vendor/novaksolutions/infusionsoft-php-sdk/Infusionsoft/admin/generate_classes_from_API_Field_access_file.php on line 90
- > PHP Fatal error
Uncaught Error: Class 'Infusionsoft_Generated_CampaignStep' not found in wp-content/plugins/systasis-gf-infusionsoft-feed/vendor/novaksolutions/infusionsoft-php-sdk/Infusionsoft/CampaignStep.php:2
- > PHP Warning
include(): Failed opening 'wp-content/plugins/systasis-gf-infusionsoft-feed/vendor/novaksolutions/infusionsoft-php-sdk/Infusionsoft/generated/a_template_base_class.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/systasis-gf-infusionsoft-feed/vendor/novaksolutions/infusionsoft-php-sdk/Infusionsoft/admin/generate_classes_from_API_Field_access_file.php on line 43
- > PHP Fatal error
Uncaught Error: Class 'Infusionsoft_Generated_RecurringOrderWithContact' not found in wp-content/plugins/systasis-gf-infusionsoft-feed/vendor/novaksolutions/infusionsoft-php-sdk/Infusionsoft/RecurringOrderWithContact.php:2
- > PHP Warning
include(): Failed opening 'wp-content/plugins/systasis-gf-infusionsoft-feed/trunk/vendor/novaksolutions/infusionsoft-php-sdk/Infusionsoft/generated/a_template_base_class.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/systasis-gf-infusionsoft-feed/trunk/vendor/novaksolutions/infusionsoft-php-sdk/Infusionsoft/admin/generate_classes_from_API_Field_access_file.php on line 43
- > PHP Fatal error
Uncaught Error: Class 'Infusionsoft_Generated_ContactAction' not found in wp-content/plugins/systasis-gf-infusionsoft-feed/trunk/vendor/novaksolutions/infusionsoft-php-sdk/Infusionsoft/ContactAction.php:2
- > PHP Fatal error
Uncaught Error: Class 'Infusionsoft_Generated_Base' not found in wp-content/plugins/systasis-gf-infusionsoft-feed/trunk/vendor/novaksolutions/infusionsoft-php-sdk/Infusionsoft/Commission.php:23
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that require attention:
- Contributors: Contributors not specified
- Screenshots: These screenshots lack descriptions #2, #3, #4, #5, #6, #7, #8 in systasis-gf-infusionsoft-feed/assets to your readme.txt
systasis-gf-infusionsoft-feed/infusionsoftcrm.php 85% from 13 tests
The main PHP script in "Gravity Forms Infusionsoft Feed" version 2.5.0 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("systasis-gf-infusionsoft-feed.php" instead of "infusionsoftcrm.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected10,162 lines of code in 201 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 194 | 1,553 | 2,433 | 7,647 |
Pascal | 1 | 204 | 2,334 | 1,380 |
XML | 1 | 120 | 218 | 952 |
JavaScript | 2 | 24 | 34 | 69 |
Markdown | 1 | 39 | 0 | 64 |
CSS | 2 | 11 | 9 | 50 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 4.40 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 146.00 |
Average method complexity | 1.83 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 26.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 4 | |
Traits | 0 | |
Classes | 368 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 368 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 1,496 | |
▷ Static methods | 436 | 29.14% |
▷ Public methods | 1,474 | 98.53% |
▷ Protected methods | 16 | 1.07% |
▷ Private methods | 6 | 0.40% |
Functions | 16 | |
▷ Named functions | 6 | 37.50% |
▷ Anonymous functions | 10 | 62.50% |
Constants | 76 | |
▷ Global constants | 12 | 15.79% |
▷ Class constants | 64 | 84.21% |
▷ Public constants | 64 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG images were found in this plugin