Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.72MB] [CPU: ▲1.12ms] Passed 4 tests
This is a short check of server-side resources used by Infugrator - Infusionsoft + Wordpress
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.19 ▲0.72 | 49.96 ▲6.79 |
Dashboard /wp-admin | 4.03 ▲0.72 | 51.99 ▲4.89 |
Posts /wp-admin/edit.php | 4.08 ▲0.72 | 55.15 ▲3.30 |
Add New Post /wp-admin/post-new.php | 6.61 ▲0.72 | 90.25 ▼10.50 |
Media Library /wp-admin/upload.php | 3.95 ▲0.72 | 42.47 ▲9.73 |
Settings /wp-admin/admin.php?page=ifg-settings | 3.87 | 36.19 |
Statistics /wp-admin/admin.php?page=ifg-stats | 3.86 | 37.21 |
Server storage [IO: ▲2.82MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 427 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
ifg-modules |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Infugrator - Infusionsoft + Wordpress
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,808 ▲37 | 13.74 ▼1.00 | 1.87 ▲0.05 | 38.71 ▼0.41 |
Dashboard /wp-admin | 2,214 ▲26 | 5.86 ▲1.02 | 96.52 ▼12.28 | 41.39 ▲0.90 |
Posts /wp-admin/edit.php | 2,096 ▲7 | 2.05 ▲0.05 | 41.60 ▼0.95 | 34.41 ▼1.02 |
Add New Post /wp-admin/post-new.php | 1,546 ▲13 | 23.37 ▲0.01 | 656.15 ▲24.80 | 58.81 ▲3.47 |
Media Library /wp-admin/upload.php | 1,396 ▲8 | 4.27 ▲0.02 | 98.49 ▼0.86 | 43.26 ▼1.54 |
Settings /wp-admin/admin.php?page=ifg-settings | 855 | 2.02 | 26.55 | 26.96 |
Statistics /wp-admin/admin.php?page=ifg-stats | 814 | 1.92 | 24.01 | 25.80 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Zombie WordPress options detected upon uninstall: 7 options
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- ifg-modules
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
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
Almost there! Just fix the following items
- 118× PHP files output non-empty strings when accessed directly via GET requests (only 10 are shown):
- > /wp-content/plugins/infugrator/vendors/lib/Infusionsoft/tests/notAuto_test_DataService_update.php
- > /wp-content/plugins/infugrator/vendors/lib/Infusionsoft/tests/notAuto_test_WebFormService_getHTML.php
- > /wp-content/plugins/infugrator/vendors/lib/Infusionsoft/tests/notAuto_test_SearchService_quickSearch.php
- > /wp-content/plugins/infugrator/vendors/lib/Infusionsoft/tests/notAuto_test_DataService_load.php
- > /wp-content/plugins/infugrator/vendors/lib/Infusionsoft/admin/generate_classes_from_API_Field_access_file.php
- > /wp-content/plugins/infugrator/vendors/lib/Infusionsoft/tests/notAuto_test_APIEmailService_attachEmail.php
- > /wp-content/plugins/infugrator/vendors/lib/Infusionsoft/tests/notAuto_test_InvoiceService_setInvoiceSyncStatus.php
- > /wp-content/plugins/infugrator/vendors/lib/Infusionsoft/tests/notAuto_test_APIAffiliateService_updatePhoneStats.php
- > /wp-content/plugins/infugrator/vendors/lib/Infusionsoft/tests/notAuto_test_get_payment_with_charge_id.php
- > /wp-content/plugins/infugrator/vendors/lib/Infusionsoft/tests/notAuto_test_DataService_getAppSetting.php
- 444× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Infusionsoft_Generated_DataFormField' not found in wp-content/plugins/infugrator/vendors/lib/Infusionsoft/DataFormField.php:2
- > PHP Fatal error
Uncaught Error: Class 'Infusionsoft_Generated_Base' not found in wp-content/plugins/infugrator/vendors/lib/Infusionsoft/Generated/SavedFilter.php:8
- > PHP Warning
include(wp-content/plugins/infugrator/vendors/lib/Infusionsoft/generated/a_template_base_class.php): failed to open stream: No such file or directory in wp-content/plugins/infugrator/vendors/lib/Infusionsoft/admin/generate_classes_from_API_Field_access_file.php on line 43
- > PHP Fatal error
Uncaught Error: Class 'Infusionsoft_Generated_Base' not found in wp-content/plugins/infugrator/vendors/lib/Infusionsoft/Generated/FileBox.php:10
- > PHP Warning
fwrite() expects parameter 1 to be resource, bool given in wp-content/plugins/infugrator/vendors/lib/Infusionsoft/admin/generate_classes_from_API_Field_access_file.php on line 46
- > PHP Fatal error
Uncaught Error: Class 'Infusionsoft_Generated_Base' not found in wp-content/plugins/infugrator/vendors/lib/Infusionsoft/Generated/EmailAddStatus.php:12
- > PHP Warning
fopen(wp-content/plugins/infugrator/vendors/lib/Infusionsoft/generated/InvoicePayment.php): failed to open stream: No such file or directory in wp-content/plugins/infugrator/vendors/lib/Infusionsoft/admin/generate_classes_from_API_Field_access_file.php on line 45
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/infugrator/modules/gravityforms/output-form-settings-tab.php:4
- > PHP Warning
fwrite() expects parameter 1 to be resource, bool given in wp-content/plugins/infugrator/vendors/lib/Infusionsoft/admin/generate_classes_from_API_Field_access_file.php on line 46
- > PHP Fatal error
Uncaught Error: Class 'Infusionsoft_Generated_LeadSourceExpense' not found in wp-content/plugins/infugrator/vendors/lib/Infusionsoft/LeadSourceExpense.php:2
- > PHP Fatal error
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)
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
5 plugin tags: automation marketing, infusionsoft campaigns, infusionsoft, infusionsoft integration, api goals
infugrator/infugrator.php Passed 13 tests
The main file in "Infugrator - Infusionsoft + Wordpress" v. 1.0.3 serves as a complement to information provided in readme.txt and as the entry point to the plugin
48 characters long description:
Easily integrates Infusionsoft® with your site.
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
Success! There were no dangerous files found in this plugin29,271 lines of code in 398 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 371 | 3,176 | 4,510 | 11,968 |
JavaScript | 18 | 1,293 | 1,216 | 10,389 |
SVG | 1 | 0 | 0 | 2,671 |
CSS | 6 | 156 | 35 | 1,913 |
Pascal | 1 | 202 | 2,259 | 1,378 |
XML | 1 | 120 | 218 | 952 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 5.12 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 54.00 |
Average method complexity | 1.99 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 21.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 7 | |
Traits | 0 | |
Classes | 215 | |
▷ Abstract classes | 4 | 1.86% |
▷ Concrete classes | 211 | 98.14% |
▷ Final classes | 0 | 0.00% |
Methods | 944 | |
▷ Static methods | 207 | 21.93% |
▷ Public methods | 870 | 92.16% |
▷ Protected methods | 31 | 3.28% |
▷ Private methods | 43 | 4.56% |
Functions | 17 | |
▷ Named functions | 15 | 88.24% |
▷ Anonymous functions | 2 | 11.76% |
Constants | 70 | |
▷ Global constants | 4 | 5.71% |
▷ Class constants | 66 | 94.29% |
▷ Public constants | 66 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
autoloader/admin/images/menu-icon.png | 1.18KB | 0.56KB | ▼ 52.89% |