10% epeken-delivery-date

Code Review | Epeken Delivery Date

WordPress plugin Epeken Delivery Date scored10%from 54 tests.

About plugin

  • Plugin page: epeken-delivery-date
  • Plugin version: 1.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.8-4.9.8
  • WordPress version: 6.3.1
  • First release: Sep 23, 2018
  • Latest release: Sep 23, 2018
  • Number of updates: 2
  • Update frequency: every 0.5 days
  • Top authors: epeken (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /552 total downloads


Plugin footprint 40% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The following installer errors require your attention
  • The plugin did not install without errors
    • > Warning in wp-content/plugins/epeken-delivery-date/epeken-delivery-date.php+14
    array_key_exists() expects parameter 2 to be array, bool given

Server metrics [RAM: ▼1.96MB] [CPU: ▼56.04ms] Passed 4 tests

An overview of server-side resources used by Epeken Delivery Date
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /2.03 ▼1.434.26 ▼37.79
Dashboard /wp-admin2.05 ▼1.266.25 ▼43.74
Posts /wp-admin/edit.php2.05 ▼1.316.78 ▼43.01
Add New Post /wp-admin/post-new.php2.05 ▼3.845.64 ▼99.60
Media Library /wp-admin/upload.php2.05 ▼1.186.21 ▼30.36

Server storage [IO: ▲0.30MB] [DB: ▲0.07MB] Passed 3 tests

A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options

Browser metrics Passed 4 tests

Epeken Delivery Date: an overview of browser usage
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,846 ▲11113.64 ▼1.111.66 ▼0.0146.12 ▲6.94
Dashboard /wp-admin2,213 ▲285.84 ▼0.06105.57 ▼1.8038.51 ▼6.15
Posts /wp-admin/edit.php2,102 ▲131.96 ▼0.0438.33 ▼2.2738.94 ▲1.11
Add New Post /wp-admin/post-new.php1,424 ▼9022.17 ▲4.74576.57 ▼33.8654.29 ▲3.65
Media Library /wp-admin/upload.php1,395 ▲44.20 ▼0.0396.74 ▼0.9541.17 ▼0.69

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
  • This plugin cannot be uninstalled
    • > Warning in wp-content/plugins/epeken-delivery-date/epeken-delivery-date.php+14
    array_key_exists() expects parameter 2 to be array, bool given
  • This plugin does not fully uninstall, leaving 6 options in the database
    • db_upgraded
    • widget_recent-posts
    • can_compress_scripts
    • widget_recent-comments
    • widget_theysaidso_widget
    • theysaidso_admin_options

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test

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

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found


Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that need to be fixed:
  • Donate link: Please fix this invalid url: ""
You can look at the official readme.txt

epeken-delivery-date/epeken-delivery-date.php Passed 13 tests

This is the main PHP file of "Epeken Delivery Date" version 1.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
92 characters long description:
This plugin add an additional date time field at woocommerce checkout page as Delivery Date.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected5,294 lines of code in 5 files:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.32
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 functions3100.00%
▷ Anonymous functions00.00%
▷ 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 files were detected