Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.29MB] [CPU: ▼1.30ms] Passed 4 tests
A check of server-side resources used by Integration for WooCommerce and QuickBooks
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.76 ▲0.30 | 43.53 ▼3.17 |
Dashboard /wp-admin | 3.60 ▲0.26 | 57.57 ▼2.01 |
Posts /wp-admin/edit.php | 3.71 ▲0.36 | 54.13 ▲1.90 |
Add New Post /wp-admin/post-new.php | 6.18 ▲0.30 | 87.87 ▼1.92 |
Media Library /wp-admin/upload.php | 3.52 ▲0.29 | 41.02 ▲4.60 |
Server storage [IO: ▲1.39MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 69 new files
Database: 2 new tables, 7 new options
New tables |
---|
wp_vxc_qbooks_log |
wp_vxc_qbooks_accounts |
New WordPress options |
---|
widget_theysaidso_widget |
vxc_qbooks_pro_version |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Integration for WooCommerce and QuickBooks
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,840 ▲105 | 13.15 ▼1.21 | 2.05 ▲0.00 | 42.76 ▼6.95 |
Dashboard /wp-admin | 2,249 ▲46 | 4.90 ▲0.03 | 103.09 ▼7.17 | 42.44 ▲2.89 |
Posts /wp-admin/edit.php | 2,126 ▲26 | 2.07 ▲0.02 | 40.48 ▲0.36 | 38.77 ▲0.43 |
Add New Post /wp-admin/post-new.php | 1,544 ▼9 | 17.58 ▼5.63 | 642.36 ▲16.99 | 74.15 ▲29.81 |
Media Library /wp-admin/upload.php | 1,425 ▲25 | 4.24 ▲0.06 | 102.70 ▼4.96 | 42.80 ▼4.32 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- Zombie tables were found after uninstall: 2 tables
- wp_vxc_qbooks_accounts
- wp_vxc_qbooks_log
- Zombie WordPress options detected upon uninstall: 7 options
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- vxc_qbooks_pro_version
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please take a closer look at the following
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/wp-woocommerce-quickbooks/templates/crm-order-box.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
5 plugin tags: woocommerce quickbooks integration, woocommerce quickbooks, connect woocommerce to quickbooks, quickbooks, quickbooks online and woocommerce
wp-woocommerce-quickbooks/wp-woocommerce-quickbooks.php 92% from 13 tests
The main file in "Integration for WooCommerce and QuickBooks" v. 1.2.6 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
- Requires at least: Required version does not match the one declared in readme.txt ("3.8" instead of "4.7")
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin9,845 lines of code in 28 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 18 | 697 | 815 | 7,205 |
JavaScript | 4 | 210 | 332 | 1,788 |
SVG | 1 | 0 | 0 | 640 |
CSS | 5 | 40 | 13 | 212 |
PHP code 50% from 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
The following items need your attention
- Method cyclomatic complexity should be reduced to less than 100 (currently 124)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.52 |
Average class complexity | 182.33 |
▷ Minimum class complexity | 9.00 |
▷ Maximum class complexity | 464.00 |
Average method complexity | 8.47 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 124.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 | 146 | |
▷ Static methods | 4 | 2.74% |
▷ Public methods | 144 | 98.63% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 1.37% |
Functions | 1 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 1 | 100.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
PNG files should be compressed to save space and minimize bandwidth usage
32 PNG files occupy 0.07MB with 0.04MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
css/images/ui-icons_454545_256x240.png | 6.83KB | 4.17KB | ▼ 38.86% |
css/images/ui-bg_glass_55_fbf9ee_1x400.png | 0.33KB | 0.12KB | ▼ 62.09% |
css/images/ui-icons_888888_256x240.png | 6.83KB | 4.17KB | ▼ 38.92% |
css/images/ui-bg_white-lines_85_f7f7ba_40x100.png | 0.36KB | 0.09KB | ▼ 73.63% |
images/quickbooks-crm-logo.png | 7.42KB | 3.62KB | ▼ 51.22% |