84% gooten-dropshipping-for-woocommerce

Code Review | Gooten Shipping for WooCommerce

WordPress plugin Gooten Shipping for WooCommerce scored84%from 54 tests.

About plugin

  • Plugin page: gooten-dropshippi...
  • Plugin version: 2.2.5
  • PHP compatiblity: 7.2+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.9-6.1.1
  • WordPress version: 6.3.1
  • First release: Oct 10, 2016
  • Latest release: Jan 31, 2023
  • Number of updates: 46
  • Update frequency: every 50.1 days
  • Top authors: gooten (100%)

Code review

54 tests

User reviews

6 reviews

Install metrics

400+ active /10,352 total downloads


Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully

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

Analyzing server-side resources used by Gooten Shipping for WooCommerce
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.46 ▲0.0038.65 ▲1.44
Dashboard /wp-admin3.31 ▲0.0046.07 ▼1.15
Posts /wp-admin/edit.php3.36 ▲0.0043.96 ▼6.34
Add New Post /wp-admin/post-new.php5.89 ▲0.0081.95 ▼12.08
Media Library /wp-admin/upload.php3.23 ▲0.0034.85 ▲1.29

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

Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options

Browser metrics Passed 4 tests

An overview of browser requirements for Gooten Shipping for WooCommerce
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,789 ▲2814.24 ▼0.171.74 ▲0.2342.08 ▼1.20
Dashboard /wp-admin2,192 ▲125.56 ▼0.1295.21 ▲11.3843.45 ▼0.21
Posts /wp-admin/edit.php2,100 ▼02.01 ▲0.0233.15 ▼7.0336.92 ▼4.16
Add New Post /wp-admin/post-new.php1,526 ▼023.62 ▲0.66686.00 ▲9.3857.23 ▲1.06
Media Library /wp-admin/upload.php1,397 ▼04.19 ▲0.0499.08 ▼3.2144.88 ▲0.43

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • theysaidso_admin_options
    • can_compress_scripts
    • widget_theysaidso_widget
    • widget_recent-comments
    • db_upgraded
    • widget_recent-posts

Smoke tests 75% 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 50% 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
The following issues need your attention
  • 1× PHP files perform the task of outputting text when accessed with GET requests:
    • > /wp-content/plugins/gooten-dropshipping-for-woocommerce/gooten-woo.php

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found


Plugin configuration 93% 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
10 plugin tags: sell, shop, gooten, storefront, cart...

gooten-dropshipping-for-woocommerce/gooten-woo.php 85% from 13 tests

The principal PHP file in "Gooten Shipping for WooCommerce" v. 2.2.5 is loaded by WordPress automatically on each request
The following require your attention:
  • Main file name: It is recommended to name the main PHP file as the plugin slug ("gooten-dropshipping-for-woocommerce.php" instead of "gooten-woo.php")
  • Description: Please keep the plugin description shorter than 140 characters (currently 148 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected216 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.40
Average class complexity10.50
▷ Minimum class complexity7.00
▷ Maximum class complexity14.00
Average method complexity2.73
▷ Minimum method complexity1.00
▷ Maximum method complexity9.00
Code structure
▷ Abstract classes00.00%
▷ Concrete classes2100.00%
▷ Final classes00.00%
▷ Static methods00.00%
▷ Public methods11100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
▷ Named functions1100.00%
▷ Anonymous functions00.00%
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin