Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.45MB] [CPU: ▼148.79ms] Passed 4 tests
Server-side resources used by Infusionsoft SDK
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.25 ▲0.53 | 42.99 ▲21.00 |
Dashboard /wp-admin | 3.54 ▲0.49 | 49.57 ▲0.91 |
Posts /wp-admin/edit.php | 3.59 ▲0.47 | 50.41 ▼6.81 |
Add New Post /wp-admin/post-new.php | 5.84 ▲0.40 | 98.53 ▼587.84 |
Media Library /wp-admin/upload.php | 3.42 ▲0.42 | 32.59 ▼1.42 |
Infusionsoft SDK /wp-admin/options-general.php?page=infusionsoft-sdk/infusionsoft-sdk.php | 3.39 | 38.32 |
Server storage [IO: ▲0.67MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 196 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Infusionsoft SDK: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,716 ▲103 | 15.75 ▲0.08 | 8.39 ▼2.97 | 54.71 ▲2.31 |
Dashboard /wp-admin | 2,983 ▲52 | 5.93 ▼0.07 | 149.81 ▼14.71 | 123.61 ▲6.32 |
Posts /wp-admin/edit.php | 2,752 ▲13 | 2.71 ▼0.02 | 67.47 ▲4.54 | 95.80 ▼6.37 |
Add New Post /wp-admin/post-new.php | 1,692 ▲9 | 18.76 ▲0.50 | 403.09 ▲6.49 | 119.84 ▲1.15 |
Media Library /wp-admin/upload.php | 1,820 ▲13 | 5.03 ▲0.00 | 162.74 ▼9.66 | 130.79 ▼5.00 |
Infusionsoft SDK /wp-admin/options-general.php?page=infusionsoft-sdk/infusionsoft-sdk.php | 1,070 | 2.16 | 61.80 | 80.50 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The plugin uninstalled successfully, without leaving any zombie files or tables
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 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The following issues need your attention
- 3× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/infusionsoft-sdk/Infusionsoft/index.php
- > /wp-content/plugins/infusionsoft-sdk/Infusionsoft/admin/generate_broken_field_files.php
- > /wp-content/plugins/infusionsoft-sdk/Infusionsoft/admin/generate_classes_from_API_Field_access_file.php
- 392× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Warning
fwrite() expects parameter 1 to be resource, bool given in wp-content/plugins/infusionsoft-sdk/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/infusionsoft-sdk/Infusionsoft/Generated/CreditCard.php:40
- > PHP Warning
include(): Failed opening 'wp-content/plugins/infusionsoft-sdk/Infusionsoft/generated/a_template_base_class.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/infusionsoft-sdk/Infusionsoft/admin/generate_classes_from_API_Field_access_file.php on line 43
- > PHP Fatal error
Uncaught Error: Class 'Infusionsoft_Generated_Contact' not found in wp-content/plugins/infusionsoft-sdk/Infusionsoft/Contact.php:3
- > PHP Fatal error
Uncaught Error: Class 'Infusionsoft_Generated_Base' not found in wp-content/plugins/infusionsoft-sdk/Infusionsoft/Generated/DataFormField.php:13
- > PHP Warning
fopen(wp-content/plugins/infusionsoft-sdk/Infusionsoft/generated/Campaign.php): failed to open stream: No such file or directory in wp-content/plugins/infusionsoft-sdk/Infusionsoft/admin/generate_classes_from_API_Field_access_file.php on line 45
- > PHP Warning
fclose() expects parameter 1 to be resource, bool given in wp-content/plugins/infusionsoft-sdk/Infusionsoft/admin/generate_classes_from_API_Field_access_file.php on line 47
- > PHP Fatal error
Uncaught Error: Class 'Infusionsoft_Generated_Base' not found in wp-content/plugins/infusionsoft-sdk/Infusionsoft/Generated/Affiliate.php:20
- > PHP Warning
fclose() expects parameter 1 to be resource, bool given in wp-content/plugins/infusionsoft-sdk/Infusionsoft/admin/generate_classes_from_API_Field_access_file.php on line 47
- > PHP Fatal error
Uncaught Error: Class 'Infusionsoft_Generated_Base' not found in wp-content/plugins/infusionsoft-sdk/Infusionsoft/Generated/PayPlanItem.php:10
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
3 plugin tags: api, sdk, infusionsoft
infusionsoft-sdk/infusionsoft-sdk.php 92% from 13 tests
"Infusionsoft SDK" version 1.0.13's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
The following require your attention:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 247 characters long)
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
Everything looks great! No dangerous files found in this plugin7,667 lines of code in 186 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 184 | 1,160 | 1,340 | 5,336 |
Pascal | 1 | 202 | 2,259 | 1,379 |
XML | 1 | 120 | 218 | 952 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
Average class complexity | 3.15 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 38.00 |
Average method complexity | 1.60 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 22.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 2 | |
Traits | 0 | |
Classes | 176 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 176 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 636 | |
▷ Static methods | 193 | 30.35% |
▷ Public methods | 629 | 98.90% |
▷ Protected methods | 6 | 0.94% |
▷ Private methods | 1 | 0.16% |
Functions | 10 | |
▷ Named functions | 10 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 1 | 20.00% |
▷ Class constants | 4 | 80.00% |
▷ Public constants | 4 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
PNG images were not found in this plugin