89% combidesk-eboekhouden

Code Review | Combidesk - e-Boekhouden voor WooCommerce

WordPress plugin Combidesk - e-Boekhouden voor WooCommerce scored89%from 54 tests.

About plugin

  • Plugin page: combidesk-eboekho...
  • 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: Nov 30, 2021
  • Latest release: Nov 16, 2023
  • Number of updates: 23
  • Update frequency: every 31.7 days
  • Top authors: combidesk (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /1,178 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
This plugin's installer ran successfully

Server metrics [RAM: ▲0.01MB] [CPU: ▼5.35ms] Passed 4 tests

Analyzing server-side resources used by Combidesk - e-Boekhouden voor WooCommerce
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0134.10 ▼2.01
Dashboard /wp-admin3.32 ▲0.0143.91 ▼11.10
Posts /wp-admin/edit.php3.37 ▲0.0147.42 ▼5.10
Add New Post /wp-admin/post-new.php5.90 ▲0.0194.54 ▼3.18
Media Library /wp-admin/upload.php3.24 ▲0.0133.08 ▼0.29

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

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

Browser metrics Passed 4 tests

Checking browser requirements for Combidesk - e-Boekhouden voor WooCommerce
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,839 ▲7714.71 ▲0.111.70 ▲0.1239.88 ▼2.87
Dashboard /wp-admin2,248 ▲745.65 ▲0.0195.75 ▼5.9138.69 ▼5.73
Posts /wp-admin/edit.php2,152 ▲522.03 ▲0.0840.23 ▼2.0936.41 ▲0.72
Add New Post /wp-admin/post-new.php1,538 ▲1223.14 ▼0.43616.14 ▲0.3748.67 ▼1.11
Media Library /wp-admin/upload.php1,450 ▲504.30 ▲0.1197.16 ▼11.9140.78 ▼4.94

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • widget_theysaidso_widget
    • can_compress_scripts
    • theysaidso_admin_options
    • widget_recent-posts
    • widget_recent-comments
    • db_upgraded

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 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Everything seems fine, however this is by no means an exhaustive 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)
No browser issues were found

Optimizations

Plugin configuration 93% 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
3 plugin tags: eboekhouden, woocommerce, e-boekhouden

combidesk-eboekhouden/combidesk-eboekhouden.php 85% from 13 tests

The main PHP file in "Combidesk - e-Boekhouden voor WooCommerce" ver. 1.18 adds more information about the plugin and also serves as the entry point for this plugin
You should first fix the following items:
  • Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
  • Requires at least: Required version does 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 | An overview of files in this plugin; executable files are not allowed
Everything looks great! No dangerous files found in this plugin177 lines of code in 6 files:
LanguageFilesBlank linesComment linesLines of code
PHP22218102
PO File1131572
JavaScript2002
CSS1001

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.06
Average class complexity2.00
▷ Minimum class complexity2.00
▷ Maximum class complexity2.00
Average method complexity1.14
▷ 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

PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin