WordPress plugin WCDPUE Lite scored57%from 54 tests.

About plugin

  • Plugin page: tld-woocommerce-d...
  • Plugin version: 1.1.8
  • PHP version: 7.4.16
  • WordPress compatibility: 2.6.0-4.9
  • WordPress version: 6.3.1
  • First release: Apr 29, 2016
  • Latest release: Nov 22, 2017
  • Number of updates: 32
  • Update frequency: every 17.9 days
  • Top authors: Uriahs Victor (100%)

Code review

54 tests

User reviews

4 reviews

Install metrics

30+ active /1,961 total downloads


Plugin footprint 48% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices

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

Server-side resources used by WCDPUE Lite
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0238.14 ▼6.97
Dashboard /wp-admin3.33 ▲0.0249.10 ▼4.36
Posts /wp-admin/edit.php3.38 ▲0.0248.86 ▼4.23
Add New Post /wp-admin/post-new.php5.93 ▲0.0489.80 ▼9.57
Media Library /wp-admin/upload.php3.25 ▲0.0238.64 ▲0.31
WCDPUE Lite /wp-admin/options-general.php?page=wcdpue-lite3.2235.33

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

Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 19 new files
Database: 1 new table, 9 new options
New tables
New WordPress options

Browser metrics Passed 4 tests

Checking browser requirements for WCDPUE Lite
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,843 ▲8213.29 ▼1.011.53 ▼0.0938.37 ▼3.99
Dashboard /wp-admin2,249 ▲524.91 ▼0.19114.12 ▼0.3642.19 ▼4.42
Posts /wp-admin/edit.php2,129 ▲292.08 ▲0.0739.80 ▼3.5539.06 ▲2.59
Add New Post /wp-admin/post-new.php1,548 ▲323.36 ▼0.02665.83 ▼14.8071.12 ▲17.17
Media Library /wp-admin/upload.php1,425 ▲254.30 ▲0.05104.64 ▼6.7244.67 ▼4.30
WCDPUE Lite /wp-admin/options-general.php?page=wcdpue-lite9691.9025.1333.00

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
  • The plugin did not uninstall correctly, leaving 19 files (0.18MB) in the plugin directory
    • (new file) assets/js/uilang.js
    • (new file) assets/screenshot-1.png
    • (new file) assets/js/js.cookie.js
    • (new file) assets/screenshot-2.png
    • (new file) assets/css/style.css
    • (new file) assets/screenshot-3.PNG
    • (new file) includes/admin/tld-clear-queue.php
    • (new file) assets/screenshot-4.PNG
    • (new file) assets/js/tld-scripts.js
    • (new file) assets/screenshot-5.PNG
    • ...
  • Zombie tables detected upon uninstall: 1 table
    • wp_woocommerce_downloadable_product_emails_tld
  • Zombie WordPress options detected upon uninstall: 9 options
    • tld_table_version
    • widget_theysaidso_widget
    • widget_recent-posts
    • tld_wcdpue_activation_date
    • db_upgraded
    • theysaidso_admin_options
    • widget_recent-comments
    • tld-wcdpue-schedule-setting-value
    • can_compress_scripts

Smoke tests 50% from 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 0% from 2 tests

🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please take a closer look at the following
  • 2× PHP files output text when accessed directly:
    • > /wp-content/plugins/tld-woocommerce-downloadable-product-update-emails/tld-wc-dl-product-update-emails.php
    • > /wp-content/plugins/tld-woocommerce-downloadable-product-update-emails/includes/admin/tld-clear-queue.php
  • 2× PHP files trigger errors when accessed directly with GET requests:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/tld-woocommerce-downloadable-product-update-emails/includes/tld-schedule-mail.php:30
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/tld-woocommerce-downloadable-product-update-emails/includes/admin/tld-settings-page.php:3

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected


Plugin configuration 87% from 29 tests

readme.txt 88% from 16 tests

The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
  • Tags: There are too many tags (18 tag instead of maximum 10)
  • Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line ( === tld-woocommerce-downloadable-product-update-emails === )
The official readme.txt is a good inspiration

tld-woocommerce-downloadable-product-update-emails/tld-wc-dl-product-update-emails.php 85% from 13 tests

The main PHP file in "WCDPUE Lite" ver. 1.1.8 adds more information about the plugin and also serves as the entry point for this plugin
Please make the necessary changes and fix the following:
  • Requires at least: The required version number did not match the one declared in readme.txt ("4.1" instead of "2.6.0")
  • Main file name: Please rename the main PHP file in this plugin to the plugin slug ("tld-woocommerce-downloadable-product-update-emails.php" instead of "tld-wc-dl-product-update-emails.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Success! There were no dangerous files found in this plugin751 lines of code in 12 files:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.28
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
▷ Named functions22100.00%
▷ Anonymous functions00.00%
▷ Global constants4100.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
5 PNG files occupy 0.14MB with 0.07MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
assets/screenshot-5.PNG22.95KB9.37KB▼ 59.18%
assets/screenshot-1.png10.66KB5.91KB▼ 44.56%
assets/screenshot-3.PNG92.49KB40.53KB▼ 56.18%
assets/screenshot-2.png11.42KB5.86KB▼ 48.66%
assets/screenshot-4.PNG4.70KB2.84KB▼ 39.66%