90% shipped-order-in-woo

Code Review | Shipped Order in Woo

WordPress plugin Shipped Order in Woo scored90%from 54 tests.

About plugin

  • Plugin page: shipped-order-in-woo
  • Plugin version: 1.0.2
  • PHP compatiblity: 7.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.4-5.9
  • WordPress version: 6.3.1
  • First release: Feb 18, 2021
  • Latest release: Feb 17, 2022
  • Number of updates: 5
  • Update frequency: every 73.0 days
  • Top authors: radixweb (100%)

Code review

54 tests

User reviews

1 review

Install metrics

200+ active /1,171 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully

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

An overview of server-side resources used by Shipped Order in Woo
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0039.38 ▼15.50
Dashboard /wp-admin3.31 ▲0.0048.41 ▼5.26
Posts /wp-admin/edit.php3.36 ▲0.0049.90 ▼5.55
Add New Post /wp-admin/post-new.php5.89 ▲0.0087.07 ▼57.82
Media Library /wp-admin/upload.php3.23 ▲0.0035.24 ▼9.97

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

How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options
db_upgraded
can_compress_scripts
widget_theysaidso_widget
widget_recent-comments
theysaidso_admin_options
widget_recent-posts

Browser metrics Passed 4 tests

Shipped Order in Woo: an overview of browser usage
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲4313.48 ▼1.102.62 ▲0.4641.81 ▼11.16
Dashboard /wp-admin2,206 ▲185.86 ▲0.00115.85 ▼3.1646.75 ▲6.31
Posts /wp-admin/edit.php2,092 ▲32.00 ▼0.1543.87 ▲2.9740.47 ▼1.08
Add New Post /wp-admin/post-new.php1,514 ▼1923.41 ▲2.18720.56 ▼102.9757.41 ▼6.79
Media Library /wp-admin/upload.php1,388 ▼04.18 ▼0.11100.95 ▼46.9843.40 ▼11.69

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% 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
  • Zombie WordPress options detected upon uninstall: 6 options
    • widget_recent-posts
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • widget_recent-comments
    • can_compress_scripts
    • db_upgraded

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test

SRP Passed 2 tests

🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Looking good! No server-side errors or output on direct access of PHP files

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
5 plugin tags: order-status-delivered, shipped, custom-order-status, order-status, ship-order

shipped-order-in-woo/shipped-order-in-woo.php 92% from 13 tests

The main file in "Shipped Order in Woo" v. 1.0.2 serves as a complement to information provided in readme.txt and as the entry point to the plugin
You should first fix the following items:
  • Domain Path: The domain path folder was not found ("/languages")

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
Good job! No executable or dangerous file extensions detected185 lines of code in 4 files:
LanguageFilesBlank linesComment linesLines of code
PHP444142185

PHP code Passed 2 tests

This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.24
Average class complexity6.00
▷ Minimum class complexity6.00
▷ Maximum class complexity6.00
Average method complexity1.71
▷ Minimum method complexity1.00
▷ Maximum method complexity6.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods7
▷ Static methods00.00%
▷ Public methods7100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions9
▷ Named functions9100.00%
▷ Anonymous functions00.00%
Constants0
▷ 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 images were found in this plugin