89% remove-woocommerce-billing-address-for-free-checkout

Code Review | Remove WooCommerce Billing Address Fields for Free Checkout

WordPress plugin Remove WooCommerce Billing Address Fields for Free Checkout scored89%from 54 tests.

About plugin

  • Plugin page: remove-woocommerc...
  • Plugin version: 1.0.1
  • PHP version: 7.4.16
  • WordPress compatibility: 5.3-5.8.2
  • WordPress version: 6.3.1
  • First release: Apr 18, 2020
  • Latest release: Dec 28, 2021
  • Number of updates: 3
  • Update frequency: every 206.4 days
  • Top authors: helgatheviking (100%)

Code review

54 tests

User reviews

5 reviews

Install metrics

200+ active /2,240 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

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

Server metrics [RAM: ▲0.01MB] [CPU: ▼6.23ms] Passed 4 tests

This is a short check of server-side resources used by Remove WooCommerce Billing Address Fields for Free Checkout
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0140.01 ▼6.17
Dashboard /wp-admin3.31 ▲0.0146.86 ▼1.37
Posts /wp-admin/edit.php3.36 ▲0.0147.23 ▼3.27
Add New Post /wp-admin/post-new.php5.89 ▲0.0184.08 ▼14.12
Media Library /wp-admin/upload.php3.24 ▲0.0138.35 ▲3.67

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

Filesystem and database footprint
No storage issues were detected
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-posts
theysaidso_admin_options
db_upgraded
can_compress_scripts
widget_theysaidso_widget
widget_recent-comments

Browser metrics Passed 4 tests

A check of browser resources used by Remove WooCommerce Billing Address Fields for Free Checkout
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲6514.48 ▲0.091.85 ▼0.2544.16 ▼6.42
Dashboard /wp-admin2,206 ▲185.84 ▲0.97102.22 ▼7.3241.49 ▼0.33
Posts /wp-admin/edit.php2,089 ▼32.01 ▼0.0437.68 ▼6.5533.76 ▼2.68
Add New Post /wp-admin/post-new.php1,519 ▼023.47 ▲0.01707.28 ▲50.5254.77 ▲6.30
Media Library /wp-admin/upload.php1,382 ▼64.18 ▼0.0299.10 ▲1.6443.12 ▲1.37

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
Please fix the following items
  • Zombie WordPress options detected upon uninstall: 6 options
    • widget_recent-posts
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • widget_recent-comments
    • db_upgraded
    • can_compress_scripts

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected

SRP Passed 2 tests

🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Congratulations! This plugin passed the SRP test

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration 93% from 29 tests

readme.txt Passed 16 tests

The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
4 plugin tags: address, woocommerce, billing, checkout

remove-woocommerce-billing-address-for-free-checkout/wc-remove-billing-address-on-free-checkout.php 85% from 13 tests

This is the main PHP file of "Remove WooCommerce Billing Address Fields for Free Checkout" version 1.0.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please take the time to fix the following:
  • Requires at least: The required version number must match the one declared in readme.txt ("5.0.0" instead of "5.3")
  • Main file name: Name the main plugin file the same as the plugin slug ("remove-woocommerce-billing-address-for-free-checkout.php" instead of "wc-remove-billing-address-on-free-checkout.php")

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
There were no executable files found in this plugin21 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP173121

PHP code Passed 2 tests

This is a short overview of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.83
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%
Functions1
▷ Named functions1100.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 files were detected