74% wp-woocommerce-quickbooks

Code Review | Integration for WooCommerce and QuickBooks

WordPress plugin Integration for WooCommerce and QuickBooks scored74%from 54 tests.

About plugin

  • Plugin page: wp-woocommerce-qu...
  • Plugin version: 1.2.6
  • PHP compatiblity: 5.3+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.7-6.3
  • WordPress version: 6.3.1
  • First release: Jul 30, 2019
  • Latest release: Sep 14, 2023
  • Number of updates: 40
  • Update frequency: every 38.7 days
  • Top authors: CRMPerks (82.5%)asif876 (20%)

Code review

54 tests

User reviews

14 reviews

Install metrics

1,000+ active /25,865 total downloads

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
PageMemory (MB)CPU Time (ms)
Home /3.76 ▲0.3043.53 ▼3.17
Dashboard /wp-admin3.60 ▲0.2657.57 ▼2.01
Posts /wp-admin/edit.php3.71 ▲0.3654.13 ▲1.90
Add New Post /wp-admin/post-new.php6.18 ▲0.3087.87 ▼1.92
Media Library /wp-admin/upload.php3.52 ▲0.2941.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
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,840 ▲10513.15 ▼1.212.05 ▲0.0042.76 ▼6.95
Dashboard /wp-admin2,249 ▲464.90 ▲0.03103.09 ▼7.1742.44 ▲2.89
Posts /wp-admin/edit.php2,126 ▲262.07 ▲0.0240.48 ▲0.3638.77 ▲0.43
Add New Post /wp-admin/post-new.php1,544 ▼917.58 ▼5.63642.36 ▲16.9974.15 ▲29.81
Media Library /wp-admin/upload.php1,425 ▲254.24 ▲0.06102.70 ▼4.9642.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:
LanguageFilesBlank linesComment linesLines of code
PHP186978157,205
JavaScript42103321,788
SVG100640
CSS54013212

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 code0.52
Average class complexity182.33
▷ Minimum class complexity9.00
▷ Maximum class complexity464.00
Average method complexity8.47
▷ Minimum method complexity1.00
▷ Maximum method complexity124.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes6
▷ Abstract classes00.00%
▷ Concrete classes6100.00%
▷ Final classes00.00%
Methods146
▷ Static methods42.74%
▷ Public methods14498.63%
▷ Protected methods00.00%
▷ Private methods21.37%
Functions1
▷ Named functions00.00%
▷ Anonymous functions1100.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.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
FileSize - originalSize - compressedSavings
css/images/ui-icons_454545_256x240.png6.83KB4.17KB▼ 38.86%
css/images/ui-bg_glass_55_fbf9ee_1x400.png0.33KB0.12KB▼ 62.09%
css/images/ui-icons_888888_256x240.png6.83KB4.17KB▼ 38.92%
css/images/ui-bg_white-lines_85_f7f7ba_40x100.png0.36KB0.09KB▼ 73.63%
images/quickbooks-crm-logo.png7.42KB3.62KB▼ 51.22%