84% order-list-table-elementor-widget

Code Review | WooCommerce Order List Table for Elementor

WordPress plugin WooCommerce Order List Table for Elementor scored84%from 54 tests.

About plugin

  • Plugin page: order-list-table-...
  • Plugin version: 1.0.1
  • PHP compatiblity: 7.3+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.9-6.3
  • WordPress version: 6.3.1
  • First release: Dec 7, 2022
  • Latest release: Aug 31, 2023
  • Number of updates: 7
  • Update frequency: every 38.3 days
  • Top authors: wpmethods (100%)

Code review

54 tests

User reviews

1 review

Install metrics

300+ active /1,028 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
This plugin's installer ran successfully

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

A check of server-side resources used by WooCommerce Order List Table for Elementor
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.50 ▲0.0442.36 ▼1.15
Dashboard /wp-admin3.34 ▲0.0445.68 ▼3.65
Posts /wp-admin/edit.php3.39 ▲0.0344.34 ▼3.07
Add New Post /wp-admin/post-new.php5.92 ▲0.0384.06 ▼5.93
Media Library /wp-admin/upload.php3.26 ▲0.0334.61 ▼0.19

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

Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options
widget_theysaidso_widget
db_upgraded
can_compress_scripts
widget_recent-posts
widget_recent-comments
theysaidso_admin_options

Browser metrics Passed 4 tests

An overview of browser requirements for WooCommerce Order List Table for Elementor
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,820 ▲7413.62 ▼0.751.93 ▼0.1835.77 ▼8.52
Dashboard /wp-admin2,224 ▲395.84 ▲0.03100.22 ▼5.1443.11 ▼1.32
Posts /wp-admin/edit.php2,106 ▲202.03 ▼0.0134.91 ▼0.3432.17 ▼4.11
Add New Post /wp-admin/post-new.php1,555 ▲1918.11 ▼5.10623.54 ▼24.6753.35 ▲2.56
Media Library /wp-admin/upload.php1,409 ▲184.18 ▼0.03100.21 ▼0.7943.43 ▼2.07

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
  • The uninstall procedure has failed, leaving 6 options in the database
    • widget_recent-comments
    • db_upgraded
    • widget_recent-posts
    • theysaidso_admin_options
    • can_compress_scripts
    • widget_theysaidso_widget

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested

SRP 50% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following
  • 1× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function get_option() in wp-content/plugins/order-list-table-elementor-widget/date-ago-function.php:4

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)
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
4 plugin tags: elementor widget, order list table, woocommerce order table, woocommerce order list

order-list-table-elementor-widget/order-list-table-elementor-widget.php 92% from 13 tests

The entry point to "WooCommerce Order List Table for Elementor" version 1.0.1 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
  • Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug

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
No dangerous file extensions were detected1,176 lines of code in 5 files:
LanguageFilesBlank linesComment linesLines of code
PHP41842431,147
CSS14129

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.24
Average class complexity22.00
▷ Minimum class complexity11.00
▷ Maximum class complexity33.00
Average method complexity3.47
▷ Minimum method complexity1.00
▷ Maximum method complexity33.00
Code structure
Namespaces1
Interfaces0
Traits0
Classes2
▷ Abstract classes00.00%
▷ Concrete classes2100.00%
▷ Final classes150.00%
Methods17
▷ Static methods15.88%
▷ Public methods1588.24%
▷ Protected methods211.76%
▷ Private methods00.00%
Functions3
▷ Named functions3100.00%
▷ Anonymous functions00.00%
Constants3
▷ Global constants00.00%
▷ Class constants3100.00%
▷ Public constants3100.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
There are no PNG files in this plugin