89% billmate-order-management-for-woocommerce

Code Review | Qvickly Order Management for WooCommerce

WordPress plugin Qvickly Order Management for WooCommerce scored89%from 54 tests.

About plugin

  • Plugin page: billmate-order-ma...
  • Plugin version: 1.3.1
  • PHP compatiblity: 7.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0.0-6.2
  • WordPress version: 6.3.1
  • First release: Jan 25, 2021
  • Latest release: May 4, 2023
  • Number of updates: 12
  • Update frequency: every 69.3 days
  • Top authors: Billmate (100%)

Code review

54 tests

User reviews

1 review

Install metrics

100+ active /2,552 total downloads

Benchmarks

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
Installer ran successfully

Server metrics [RAM: ▲0.22MB] [CPU: ▼7.16ms] Passed 4 tests

This is a short check of server-side resources used by Qvickly Order Management for WooCommerce
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.68 ▲0.2238.57 ▲0.11
Dashboard /wp-admin3.58 ▲0.2348.66 ▼12.58
Posts /wp-admin/edit.php3.63 ▲0.2750.03 ▼0.75
Add New Post /wp-admin/post-new.php6.10 ▲0.2184.24 ▼15.41
Media Library /wp-admin/upload.php3.44 ▲0.2136.61 ▲2.78

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

Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 19 new files
Database: no new tables, 6 new options
New WordPress options
widget_theysaidso_widget
theysaidso_admin_options
can_compress_scripts
widget_recent-posts
widget_recent-comments
db_upgraded

Browser metrics Passed 4 tests

Qvickly Order Management for WooCommerce: an overview of browser usage
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲5413.21 ▼1.141.79 ▲0.1441.00 ▲1.46
Dashboard /wp-admin2,206 ▲144.84 ▼0.06111.09 ▲2.0141.19 ▼0.97
Posts /wp-admin/edit.php2,086 ▼62.03 ▲0.0234.88 ▼5.8732.48 ▼4.90
Add New Post /wp-admin/post-new.php1,537 ▲1823.52 ▲0.07695.86 ▲34.7950.65 ▲1.75
Media Library /wp-admin/upload.php1,388 ▼34.19 ▼0.0496.61 ▼3.8541.88 ▼0.25

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
  • The uninstall procedure has failed, leaving 6 options in the database
    • widget_theysaidso_widget
    • db_upgraded
    • widget_recent-comments
    • widget_recent-posts
    • can_compress_scripts
    • theysaidso_admin_options

Smoke tests Passed 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 Passed 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
No output text or server-side errors detected on direct access of PHP files

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
  • Tags: Please delete some tags, you are using 13 tag instead of maximum 10
You can look at the official readme.txt

billmate-order-management-for-woocommerce/billmate-order-management-for-woocommerce.php 92% from 13 tests

The main PHP file in "Qvickly Order Management for WooCommerce" ver. 1.3.1 adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to fix the following:
  • Requires at least: The required version number did not match the one declared in readme.txt ("5.0" instead of "5.0.0")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin1,000 lines of code in 16 files:
LanguageFilesBlank linesComment linesLines of code
PHP15203690934
PO File1131566

PHP code Passed 2 tests

This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.31
Average class complexity7.73
▷ Minimum class complexity1.00
▷ Maximum class complexity55.00
Average method complexity2.38
▷ Minimum method complexity1.00
▷ Maximum method complexity15.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes15
▷ Abstract classes00.00%
▷ Concrete classes15100.00%
▷ Final classes00.00%
Methods73
▷ Static methods2635.62%
▷ Public methods6791.78%
▷ Protected methods00.00%
▷ Private methods68.22%
Functions1
▷ Named functions1100.00%
▷ Anonymous functions00.00%
Constants4
▷ Global constants4100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin