90% combidesk-exact

Code Review | Combidesk - Exact Online voor WooCommerce

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

About plugin

  • Plugin page: combidesk-exact
  • 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 17, 2020
  • Latest release: Nov 16, 2023
  • Number of updates: 35
  • Update frequency: every 31.7 days
  • Top authors: combidesk (100%)

Code review

54 tests

User reviews

1 review

Install metrics

40+ active /2,183 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
The plugin installed successfully, without throwing any errors or notices

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

Analyzing server-side resources used by Combidesk - Exact Online voor WooCommerce
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.49 ▲0.0333.67 ▼5.89
Dashboard /wp-admin3.34 ▼0.0144.14 ▼18.69
Posts /wp-admin/edit.php3.39 ▲0.0346.05 ▲0.06
Add New Post /wp-admin/post-new.php5.92 ▲0.0390.90 ▼18.25
Media Library /wp-admin/upload.php3.26 ▲0.0333.86 ▲1.39

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

How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options
widget_theysaidso_widget
db_upgraded
theysaidso_admin_options
can_compress_scripts
widget_recent-posts
widget_recent-comments

Browser metrics Passed 4 tests

An overview of browser requirements for Combidesk - Exact Online voor WooCommerce
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,839 ▲9214.68 ▲0.331.86 ▲0.0937.42 ▼7.14
Dashboard /wp-admin2,244 ▲735.63 ▲0.0894.83 ▼9.3042.35 ▼8.04
Posts /wp-admin/edit.php2,153 ▲532.00 ▼0.0741.46 ▲3.3636.92 ▼1.81
Add New Post /wp-admin/post-new.php1,538 ▲1223.54 ▼0.06598.13 ▼13.5953.47 ▼2.99
Media Library /wp-admin/upload.php1,447 ▲474.23 ▲0.00103.47 ▼2.9944.15 ▼0.47

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
  • This plugin does not fully uninstall, leaving 6 options in the database
    • can_compress_scripts
    • db_upgraded
    • widget_recent-comments
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • widget_recent-posts

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested

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
Everything seems fine, however this is by no means an exhaustive test

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
3 plugin tags: woocommerce, exactonline, exact

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

"Combidesk - Exact Online voor 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: 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 | 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 plugin178 lines of code in 6 files:
LanguageFilesBlank linesComment linesLines of code
PHP22218100
PO File1141675
JavaScript2002
CSS1001

PHP code Passed 2 tests

This is a short overview of cyclomatic complexity and code structure for this plugin
No complexity issues detected
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
No PNG images were found in this plugin