90% bit-admin-date-column-fix-for-woocommerce

Code Review | BlackIce Admin Date Column fix for WooCommerce

WordPress plugin BlackIce Admin Date Column fix for WooCommerce scored 90% from 54 tests.

About plugin

  • Plugin page: bit-admin-date-co...
  • Plugin version: 1.2.0
  • PHP version: 7.4.16
  • WordPress compatibility: 6.0.0-6.2
  • WordPress version: 6.3.1
  • First release: Oct 2, 2020
  • Latest release: Apr 1, 2023
  • Number of updates: 3
  • Update frequency: every 303.7 days
  • Top authors: blackicelmtd (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 397 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully

Server metrics [RAM: ▲0.00MB] [CPU: ▼1.60ms] Passed 4 tests

A check of server-side resources used by BlackIce Admin Date Column fix for WooCommerce
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.46 ▲0.0033.51 ▼6.24
Dashboard /wp-admin3.31 ▲0.0057.74 ▲10.42
Posts /wp-admin/edit.php3.36 ▲0.0047.75 ▼3.63
Add New Post /wp-admin/post-new.php5.89 ▲0.0097.31 ▲1.20
Media Library /wp-admin/upload.php3.23 ▲0.0035.29 ▲2.29

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

Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options
db_upgraded
widget_theysaidso_widget
widget_recent-comments
theysaidso_admin_options
widget_recent-posts
can_compress_scripts

Browser metrics Passed 4 tests

A check of browser resources used by BlackIce Admin Date Column fix for WooCommerce
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲6513.18 ▼1.381.55 ▼0.1239.89 ▼1.85
Dashboard /wp-admin2,206 ▲185.86 ▲0.9998.24 ▼18.6942.21 ▼2.21
Posts /wp-admin/edit.php2,086 ▼32.01 ▲0.0139.08 ▲0.0235.92 ▼2.25
Add New Post /wp-admin/post-new.php1,545 ▲1218.86 ▼4.22611.28 ▼60.8152.09 ▼3.97
Media Library /wp-admin/upload.php1,382 ▼64.35 ▲0.1795.43 ▼13.2044.27 ▼0.61

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • widget_recent-posts
    • db_upgraded
    • widget_recent-comments
    • can_compress_scripts
    • widget_theysaidso_widget
    • theysaidso_admin_options

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 | 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
No output text or server-side errors detected on direct access of PHP files

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
5 plugin tags: woocommerce, admin, column, date, orders

bit-admin-date-column-fix-for-woocommerce/bit-admin-date-column-fix-for-woocommerce.php 92% from 13 tests

The main PHP file in "BlackIce Admin Date Column fix for WooCommerce" ver. 1.2.0 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:
  • Text Domain: The text domain follows the same naming rules as the plugin slug: lowercase characters and dashes

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
Everything looks great! No dangerous files found in this plugin37 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP2122637

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity
Average complexity per logical line of code0.73
Average class complexity7.00
▷ Minimum class complexity7.00
▷ Maximum class complexity7.00
Average method complexity2.20
▷ Minimum method complexity1.00
▷ Maximum method complexity6.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods5
▷ Static methods00.00%
▷ Public methods5100.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

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG files were detected