90% combidesk-yuki

Code Review | Combidesk - Yuki voor WooCommerce

WordPress plugin Combidesk - Yuki voor WooCommerce scored90%from 54 tests.

About plugin

  • Plugin page: combidesk-yuki
  • 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: Sep 12, 2022
  • Latest release: Nov 16, 2023
  • Number of updates: 14
  • Update frequency: every 31.0 days
  • Top authors: combidesk (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /752 total downloads

Benchmarks

Plugin footprint 83% 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.04MB] [CPU: ▼5.03ms] Passed 4 tests

Analyzing server-side resources used by Combidesk - Yuki voor WooCommerce
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.50 ▲0.0437.14 ▼3.64
Dashboard /wp-admin3.35 ▲0.0444.94 ▼5.78
Posts /wp-admin/edit.php3.40 ▲0.0449.85 ▲2.16
Add New Post /wp-admin/post-new.php5.93 ▲0.0486.63 ▼11.13
Media Library /wp-admin/upload.php3.27 ▲0.0434.56 ▲0.44

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

Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options
can_compress_scripts
db_upgraded
widget_theysaidso_widget
widget_recent-posts
widget_recent-comments
theysaidso_admin_options

Browser metrics Passed 4 tests

This is an overview of browser requirements for Combidesk - Yuki voor WooCommerce
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,837 ▲5014.21 ▼0.141.62 ▼0.6239.09 ▼5.12
Dashboard /wp-admin2,245 ▲715.61 ▲0.0895.75 ▼7.4939.19 ▼7.47
Posts /wp-admin/edit.php2,147 ▲441.98 ▲0.0340.42 ▼0.0337.11 ▲4.73
Add New Post /wp-admin/post-new.php1,536 ▲722.77 ▼0.95665.85 ▲67.0551.65 ▼2.71
Media Library /wp-admin/upload.php1,448 ▲484.21 ▼0.00101.38 ▼3.1842.37 ▼0.24

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
You still need to fix the following
  • Zombie WordPress options were found after uninstall: 6 options
    • widget_theysaidso_widget
    • widget_recent-posts
    • theysaidso_admin_options
    • db_upgraded
    • can_compress_scripts
    • widget_recent-comments

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 no errors were found, this is by no means an exhaustive test

SRP Passed 2 tests

🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The SRP test was a success

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found

Optimizations

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, yuki

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

The primary PHP file in "Combidesk - Yuki voor WooCommerce" version 1.18 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
  • Requires at least: Required version must 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 | An overview of files in this plugin; executable files are not allowed
Good job! No executable or dangerous file extensions detected216 lines of code in 6 files:
LanguageFilesBlank linesComment linesLines of code
PHP22418115
PO File1222498
JavaScript2002
CSS1001

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
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
Namespaces1
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods7
▷ Static methods00.00%
▷ Public methods7100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants0
▷ 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