93% delloop4woo

Code Review | Delloop for WooCommerce

WordPress plugin Delloop for WooCommerce scored 93% from 54 tests.

About plugin

  • Plugin page: delloop4woo
  • Plugin version: 1.0
  • PHP compatiblity: 7.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.7-5.9
  • WordPress version: 5.9.2
  • First release: Mar 1, 2022
  • Latest release: Mar 2, 2022
  • Number of updates: 11
  • Update frequency: every 0.1 days
  • Top authors: delloop (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 44 total downloads


Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors

Server metrics [RAM: ▲0.04MB] [CPU: ▼295.91ms] Passed 4 tests

Server-side resources used by Delloop for WooCommerce
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.64 ▲0.1353.82 ▲0.61
Dashboard /wp-admin3.48 ▲0.0734.03 ▼0.01
Posts /wp-admin/edit.php3.70 ▲0.0640.16 ▲3.11
Add New Post /wp-admin/post-new.php6.98 ▼0.0296.12 ▼1,187.33
Media Library /wp-admin/upload.php3.36 ▲0.0631.81 ▲6.44

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

A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 14 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

This is an overview of browser requirements for Delloop for WooCommerce
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,783 ▲4116.18 ▲0.596.10 ▼0.552.36 ▼0.02
Dashboard /wp-admin2,912 ▲586.15 ▲0.02120.11 ▼15.20155.78 ▼6.83
Posts /wp-admin/edit.php2,708 ▲173.23 ▼0.0067.04 ▲0.37140.31 ▼4.97
Add New Post /wp-admin/post-new.php1,732 ▲4222.39 ▲1.48416.23 ▼30.06159.59 ▲8.91
Media Library /wp-admin/upload.php1,718 ▲205.49 ▼0.01141.22 ▲3.13184.48 ▲1.10

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
This plugin's uninstaller ran successfully

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test

SRP 50% from 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 following issues need your attention
  • 1× PHP files trigger server-side errors or warnings when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/delloop4woo/admin-screen.php:3

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


Plugin configuration 90% from 29 tests

readme.txt 88% from 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need your attention:
  • Tags: There are too many tags (74 tag instead of maximum 10)
  • Donate link: Please fix this invalid URI: ""
The official readme.txt is a good inspiration

delloop4woo/delloop-for-woocommerce.php 92% from 13 tests

The principal PHP file in "Delloop for WooCommerce" v. 1.0 is loaded by WordPress automatically on each request
You should first fix the following items:
  • Main file name: Name the main plugin file the same as the plugin slug ("delloop4woo.php" instead of "delloop-for-woocommerce.php")

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
Success! There were no dangerous files found in this plugin339 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

Analyzing cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity
Average complexity per logical line of code0.19
Average class complexity21.00
▷ Minimum class complexity21.00
▷ Maximum class complexity21.00
Average method complexity1.53
▷ Minimum method complexity1.00
▷ Maximum method complexity4.00
Code structure
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
▷ Static methods00.00%
▷ Public methods1155.00%
▷ Protected methods00.00%
▷ Private methods945.00%
▷ Named functions00.00%
▷ Anonymous functions8100.00%
▷ Global constants00.00%
▷ Class constants4100.00%
▷ Public constants4100.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant
FileSize - originalSize - compressedSavings
assets/icon-128x128.png3.46KB2.16KB▼ 37.69%