83% without-payment-for-woocommerce

Code Review | Without payment for WooCommerce

WordPress plugin Without payment for WooCommerce scored83%from 54 tests.

About plugin

  • Plugin page: without-payment-f...
  • Plugin version: 1.3.2
  • PHP compatiblity: 7.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.2-6.1
  • WordPress version: 6.3.1
  • First release: Nov 28, 2014
  • Latest release: Oct 29, 2023
  • Number of updates: 10
  • Update frequency: every 325.8 days
  • Top authors: northmule (100%)

Code review

54 tests

User reviews

6 reviews

Install metrics

500+ active /7,945 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.01MB] [CPU: ▼1.42ms] Passed 4 tests

Server-side resources used by Without payment for WooCommerce
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0139.47 ▲4.26
Dashboard /wp-admin3.31 ▲0.0148.08 ▼3.87
Posts /wp-admin/edit.php3.36 ▲0.0144.64 ▼1.41
Add New Post /wp-admin/post-new.php5.89 ▲0.0190.83 ▲1.81
Media Library /wp-admin/upload.php3.24 ▲0.0133.85 ▼2.20

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

A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 131 new files
Database: no new tables, 6 new options
New WordPress options
db_upgraded
widget_recent-posts
widget_theysaidso_widget
can_compress_scripts
theysaidso_admin_options
widget_recent-comments

Browser metrics Passed 4 tests

Checking browser requirements for Without payment for WooCommerce
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,789 ▲2814.75 ▲0.141.67 ▲0.0444.42 ▲3.49
Dashboard /wp-admin2,195 ▲185.63 ▲0.0486.59 ▼5.3842.22 ▲2.08
Posts /wp-admin/edit.php2,103 ▲32.00 ▲0.0236.45 ▼0.9333.66 ▼2.27
Add New Post /wp-admin/post-new.php1,528 ▲223.06 ▼0.42634.69 ▼67.3551.50 ▼3.40
Media Library /wp-admin/upload.php1,400 ▼04.21 ▼0.0598.76 ▼7.9442.15 ▼1.41

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
  • Zombie WordPress options detected upon uninstall: 6 options
    • db_upgraded
    • widget_theysaidso_widget
    • widget_recent-comments
    • can_compress_scripts
    • widget_recent-posts
    • theysaidso_admin_options

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test

SRP 50% from 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
Please take a closer look at the following
  • 104× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
    • > PHP Fatal error
      Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/without-payment-for-woocommerce/vendor/composer/installers/src/Composer/Installers/CakePHPInstaller.php:7
    • > PHP Fatal error
      Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/without-payment-for-woocommerce/vendor/composer/installers/src/Composer/Installers/PiwikInstaller.php:9
    • > PHP Fatal error
      Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/without-payment-for-woocommerce/vendor/composer/installers/src/Composer/Installers/KodiCMSInstaller.php:4
    • > PHP Fatal error
      Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/without-payment-for-woocommerce/vendor/composer/installers/src/Composer/Installers/ZendInstaller.php:4
    • > PHP Fatal error
      Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/without-payment-for-woocommerce/vendor/composer/installers/src/Composer/Installers/TYPO3CmsInstaller.php:11
    • > PHP Fatal error
      Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/without-payment-for-woocommerce/vendor/composer/installers/src/Composer/Installers/MoodleInstaller.php:4
    • > PHP Fatal error
      Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/without-payment-for-woocommerce/vendor/composer/installers/src/Composer/Installers/SiteDirectInstaller.php:5
    • > PHP Fatal error
      Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/without-payment-for-woocommerce/vendor/composer/installers/src/Composer/Installers/DframeInstaller.php:5
    • > PHP Fatal error
      Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/without-payment-for-woocommerce/vendor/composer/installers/src/Composer/Installers/LanManagementSystemInstaller.php:5
    • > PHP Fatal error
      Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/without-payment-for-woocommerce/vendor/composer/installers/src/Composer/Installers/MakoInstaller.php:4

User-side errors Passed 1 test

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

Optimizations

Plugin configuration 90% 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
2 plugin tags: without payment getaway, woocommerce

without-payment-for-woocommerce/with-geteway-index.php 77% from 13 tests

The primary PHP file in "Without payment for WooCommerce" version 1.3.2 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
  • Requires at least: Required version does not match the one declared in readme.txt ("5.0" instead of "5.2")
  • Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
  • Main file name: It is recommended to name the main PHP file as the plugin slug ("without-payment-for-woocommerce.php" instead of "with-geteway-index.php")

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
There were no executable files found in this plugin3,303 lines of code in 124 files:
LanguageFilesBlank linesComment linesLines of code
PHP1185419542,815
JSON200282
YAML3313123
PO File1222283

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.29
Average class complexity2.78
▷ Minimum class complexity1.00
▷ Maximum class complexity48.00
Average method complexity2.41
▷ Minimum method complexity1.00
▷ Maximum method complexity18.00
Code structure
Namespaces6
Interfaces1
Traits0
Classes110
▷ Abstract classes10.91%
▷ Concrete classes10999.09%
▷ Final classes00.00%
Methods145
▷ Static methods2215.17%
▷ Public methods9968.28%
▷ Protected methods3624.83%
▷ Private methods106.90%
Functions10
▷ Named functions110.00%
▷ Anonymous functions990.00%
Constants5
▷ Global constants00.00%
▷ Class constants5100.00%
▷ Public constants480.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant
FileSize - originalSize - compressedSavings
public/without.png2.18KB1.53KB▼ 29.83%