90% combidesk-quickbooks

Code Review | Combidesk - QuickBooks for WooCommerce

WordPress plugin Combidesk - QuickBooks for WooCommerce scored90%from 54 tests.

About plugin

  • Plugin page: combidesk-quickbooks
  • Plugin version: 1.18
  • PHP compatiblity: 5.2.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 2.2-6.4.1
  • WordPress version: 6.3.1
  • First release: May 8, 2023
  • Latest release: Nov 16, 2023
  • Number of updates: 7
  • Update frequency: every 27.9 days
  • Top authors: combidesk (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /232 total downloads


Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors

Server metrics [RAM: ▲0.02MB] [CPU: ▼4.37ms] Passed 4 tests

Server-side resources used by Combidesk - QuickBooks for WooCommerce
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.49 ▲0.0336.92 ▼4.01
Dashboard /wp-admin3.34 ▼0.0047.23 ▼12.40
Posts /wp-admin/edit.php3.39 ▲0.0347.33 ▲3.07
Add New Post /wp-admin/post-new.php5.92 ▲0.0494.93 ▼1.63
Media Library /wp-admin/upload.php3.26 ▲0.0333.67 ▲0.58

Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests

A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options

Browser metrics Passed 4 tests

This is an overview of browser requirements for Combidesk - QuickBooks for WooCommerce
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,837 ▲7514.58 ▲0.301.70 ▼0.0138.75 ▼5.46
Dashboard /wp-admin2,246 ▲695.65 ▲0.0497.14 ▼4.1539.85 ▼2.89
Posts /wp-admin/edit.php2,147 ▲502.03 ▲0.0240.72 ▲2.8436.61 ▲1.46
Add New Post /wp-admin/post-new.php1,536 ▲1023.36 ▼0.26683.67 ▼10.1758.40 ▲2.50
Media Library /wp-admin/upload.php1,445 ▲484.15 ▼0.03101.28 ▼16.0042.74 ▼5.05

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
  • This plugin does not fully uninstall, leaving 6 options in the database
    • widget_theysaidso_widget
    • can_compress_scripts
    • widget_recent-posts
    • widget_recent-comments
    • theysaidso_admin_options
    • db_upgraded

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test

SRP Passed 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
Congratulations! This plugin passed the SRP test

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)
Everything seems fine on the user side


Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
2 plugin tags: woocommerce, quickbooks

combidesk-quickbooks/combidesk-quickbooks.php 92% from 13 tests

"Combidesk - QuickBooks for WooCommerce" version 1.18's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
It is important to fix the following:
  • Requires at least: The required version number did not match the one declared in readme.txt ("4.9" instead of "2.2")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
There were no executable files found in this plugin203 lines of code in 6 files:
LanguageFilesBlank linesComment linesLines of code
PO File1182089

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.08
Average class complexity3.00
▷ Minimum class complexity3.00
▷ Maximum class complexity3.00
Average method complexity1.29
▷ Minimum method complexity1.00
▷ Maximum method complexity2.00
Code structure
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
▷ Static methods00.00%
▷ Public methods7100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
▷ Named functions00.00%
▷ Anonymous functions00.00%
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.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
No PNG files were detected