Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.28MB] [CPU: ▼6.21ms] Passed 4 tests
This is a short check of server-side resources used by WP Infusionsoft WooCommerce Plugin
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.74 ▲0.28 | 40.52 ▼2.25 |
Dashboard /wp-admin | 3.58 ▲0.28 | 53.42 ▼0.03 |
Posts /wp-admin/edit.php | 3.70 ▲0.34 | 47.46 ▼6.21 |
Add New Post /wp-admin/post-new.php | 6.17 ▲0.28 | 90.81 ▼16.34 |
Media Library /wp-admin/upload.php | 3.50 ▲0.27 | 42.96 ▲7.11 |
Server storage [IO: ▲1.30MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 67 new files
Database: 2 new tables, 7 new options
New tables |
---|
wp_vxc_infusionsoft_accounts |
wp_vxc_infusionsoft_log |
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
vxc_infusionsoft_pro_version |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by WP Infusionsoft WooCommerce Plugin
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,814 ▲53 | 14.18 ▼0.38 | 1.75 ▲0.21 | 44.02 ▲3.33 |
Dashboard /wp-admin | 2,223 ▲43 | 5.63 ▲0.03 | 89.37 ▲0.38 | 36.97 ▼10.42 |
Posts /wp-admin/edit.php | 2,129 ▲29 | 1.98 ▲0.00 | 37.51 ▲1.53 | 35.35 ▼0.95 |
Add New Post /wp-admin/post-new.php | 1,546 ▲18 | 23.03 ▼0.51 | 682.48 ▲31.99 | 53.97 ▲6.54 |
Media Library /wp-admin/upload.php | 1,425 ▲25 | 4.19 ▲0.05 | 113.57 ▲2.49 | 47.79 ▲1.47 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- This plugin does not fully uninstall, leaving 2 tables in the database
- wp_vxc_infusionsoft_log
- wp_vxc_infusionsoft_accounts
- Zombie WordPress options were found after uninstall: 7 options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- vxc_infusionsoft_pro_version
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% 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 perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/wp-infusionsoft-woocommerce/templates/crm-order-box.php
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 issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
4 plugin tags: infusionsoft, infusionsoftkeap, keap, infusionsoft and woocommerce
wp-infusionsoft-woocommerce/wp-infusionsoft-woocommerce.php Passed 13 tests
This is the main PHP file of "WP Infusionsoft WooCommerce Plugin" version 1.1.2, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
115 characters long description:
Integrates WooCommerce with Infusionsoft allowing new orders to be automatically sent to your Infusionsoft account.
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin8,442 lines of code in 26 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 18 | 711 | 816 | 7,610 |
SVG | 1 | 0 | 0 | 640 |
CSS | 4 | 37 | 12 | 186 |
JavaScript | 3 | 1 | 20 | 6 |
PHP code 50% from 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
It is recommended to fix the following
- Cyclomatic complexity of methods should be reduced to less than 100 (currently 136)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.53 |
Average class complexity | 185.50 |
▷ Minimum class complexity | 9.00 |
▷ Maximum class complexity | 422.00 |
Average method complexity | 8.33 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 136.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 151 | |
▷ Static methods | 3 | 1.99% |
▷ Public methods | 149 | 98.68% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 1.32% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
32 PNG files occupy 0.07MB with 0.03MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
css/images/ui-icons_ffeb33_256x240.png | 4.44KB | 4.17KB | ▼ 6.02% |
css/images/ui-bg_white-lines_85_f7f7ba_40x100.png | 0.36KB | 0.09KB | ▼ 73.63% |
css/images/ui-icons_888888_256x240.png | 6.83KB | 4.17KB | ▼ 38.92% |
css/images/ui-bg_highlight-soft_75_cccccc_1x100.png | 0.27KB | 0.18KB | ▼ 35.00% |
images/created.png | 1.52KB | 0.50KB | ▼ 67.24% |