89% woo-multistep-checkout-like-magento

Code Review | WooCommerce MultiStep Checkout Like Magento

WordPress plugin WooCommerce MultiStep Checkout Like Magento scored89%from 54 tests.

About plugin

  • Plugin page: woo-multistep-che...
  • Plugin version: 1.0.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.5-4.8
  • WordPress version: 6.3.1
  • First release: Nov 20, 2017
  • Latest release: Nov 20, 2017
  • Number of updates: 2
  • Update frequency: every 1.0 days
  • Top authors: commercepundit (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /1,116 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully

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

An overview of server-side resources used by WooCommerce MultiStep Checkout Like Magento
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.51 ▲0.0042.90 ▲0.39
Dashboard /wp-admin3.35 ▲0.0051.34 ▼4.89
Posts /wp-admin/edit.php3.40 ▲0.0048.34 ▼0.68
Add New Post /wp-admin/post-new.php5.93 ▲0.0084.41 ▼9.73
Media Library /wp-admin/upload.php3.27 ▲0.0037.43 ▲3.34

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

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

Browser metrics Passed 4 tests

Checking browser requirements for WooCommerce MultiStep Checkout Like Magento
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,789 ▲2814.17 ▼0.181.73 ▲0.0644.32 ▲0.72
Dashboard /wp-admin2,198 ▲245.60 ▲0.0387.55 ▼14.7742.41 ▼1.59
Posts /wp-admin/edit.php2,097 ▼31.99 ▲0.0135.31 ▼1.5633.36 ▼2.20
Add New Post /wp-admin/post-new.php1,526 ▼023.46 ▲0.28656.18 ▼91.4054.92 ▼9.73
Media Library /wp-admin/upload.php1,397 ▼34.13 ▼0.05102.12 ▼10.4545.47 ▼6.61

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

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

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 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions 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 | A shallow check that no browser errors were triggered
No browser errors were detected

Optimizations

Plugin configuration 93% from 29 tests

readme.txt Passed 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
7 plugin tags: accordion, multiple steps, checkout like magento, woocommerce plugins, checkout...

woo-multistep-checkout-like-magento/woocommerce-multistep-checkout-like-magento.php 85% from 13 tests

The main PHP file in "WooCommerce MultiStep Checkout Like Magento" ver. 1.0.0 adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to fix the following:
  • Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
  • Main file name: Name the main plugin file the same as the plugin slug ("woo-multistep-checkout-like-magento.php" instead of "woocommerce-multistep-checkout-like-magento.php")

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
Everything looks great! No dangerous files found in this plugin1,421 lines of code in 9 files:
LanguageFilesBlank linesComment linesLines of code
JavaScript4325819
PHP212036527
PO File1296262
XML12012
CSS1001

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity
Average complexity per logical line of code0.55
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
Namespaces0
Interfaces0
Traits0
Classes0
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
Methods0
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions22
▷ Named functions22100.00%
▷ Anonymous functions00.00%
Constants1
▷ Global constants1100.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
There are no PNG files in this plugin