90% combidesk-snelstart

Code Review | Combidesk - SnelStart voor WooCommerce

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

About plugin

  • Plugin page: combidesk-snelstart
  • 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: Apr 15, 2021
  • Latest release: Nov 16, 2023
  • Number of updates: 29
  • Update frequency: every 32.6 days
  • Top authors: combidesk (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

90+ active /2,239 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully

Server metrics [RAM: ▲0.03MB] [CPU: ▼7.76ms] Passed 4 tests

This is a short check of server-side resources used by Combidesk - SnelStart voor WooCommerce
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.49 ▲0.0342.11 ▼1.50
Dashboard /wp-admin3.34 ▲0.0344.98 ▼12.54
Posts /wp-admin/edit.php3.39 ▲0.0347.04 ▲3.39
Add New Post /wp-admin/post-new.php5.92 ▲0.0380.87 ▼17.83
Media Library /wp-admin/upload.php3.26 ▲0.0334.39 ▲0.83

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

Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options
can_compress_scripts
widget_recent-posts
widget_recent-comments
widget_theysaidso_widget
db_upgraded
theysaidso_admin_options

Browser metrics Passed 4 tests

Combidesk - SnelStart voor WooCommerce: an overview of browser usage
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,837 ▲5014.21 ▼0.111.90 ▼0.1642.01 ▼2.52
Dashboard /wp-admin2,242 ▲655.58 ▼0.0486.73 ▼19.4439.89 ▼6.14
Posts /wp-admin/edit.php2,151 ▲512.02 ▲0.0139.88 ▲2.1939.46 ▲4.79
Add New Post /wp-admin/post-new.php1,536 ▲1023.07 ▲0.14598.19 ▼11.1452.39 ▲4.05
Media Library /wp-admin/upload.php1,445 ▲454.20 ▲0.0697.93 ▼8.6042.30 ▼2.85

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
  • Zombie WordPress options detected upon uninstall: 6 options
    • widget_recent-posts
    • widget_theysaidso_widget
    • can_compress_scripts
    • widget_recent-comments
    • db_upgraded
    • theysaidso_admin_options

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected

SRP Passed 2 tests

🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Looking good! No server-side errors or output on direct access of PHP files

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side

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: snelstart, woocommerce

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

"Combidesk - SnelStart voor WooCommerce" version 1.18's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
It is important to fix the following:
  • Requires at least: Required version must be the same as 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 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected177 lines of code in 6 files:
LanguageFilesBlank linesComment linesLines of code
PHP22318106
PO File1131568
JavaScript2002
CSS1001

PHP code Passed 2 tests

Analyzing cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
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

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There are no PNG files in this plugin