WordPress plugin ABC Crypto Checkout scored77%from 54 tests.

About plugin

  • Plugin page: payerurl-crypto-c...
  • Plugin version: 1.4.5
  • PHP compatiblity: 7.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-6.4.1
  • WordPress version: 6.3.1
  • First release: Dec 29, 2021
  • Latest release: Nov 21, 2023
  • Number of updates: 305
  • Update frequency: every 2.3 days
  • Top authors: muhitmonsur (100%)

Code review

54 tests

User reviews

27 reviews

Install metrics

1,000+ active /15,923 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors

Server metrics [RAM: ▲0.04MB] [CPU: ▼5.11ms] Passed 4 tests

A check of server-side resources used by ABC Crypto Checkout
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.52 ▲0.0538.08 ▼5.77
Dashboard /wp-admin3.36 ▲0.0146.36 ▼14.05
Posts /wp-admin/edit.php3.47 ▲0.1248.12 ▲2.06
Add New Post /wp-admin/post-new.php5.94 ▲0.0591.15 ▲0.82
Media Library /wp-admin/upload.php3.28 ▲0.0530.86 ▼1.42

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

How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options
widget_theysaidso_widget
can_compress_scripts
db_upgraded
widget_recent-comments
theysaidso_admin_options
widget_recent-posts

Browser metrics Passed 4 tests

A check of browser resources used by ABC Crypto Checkout
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,793 ▲3114.67 ▲0.321.87 ▼0.3238.45 ▼3.61
Dashboard /wp-admin2,195 ▲185.51 ▼0.0991.39 ▲2.4539.54 ▲0.82
Posts /wp-admin/edit.php2,103 ▼01.96 ▼0.0138.76 ▼2.1937.47 ▼1.52
Add New Post /wp-admin/post-new.php1,529 ▲323.18 ▼0.04619.41 ▼28.4655.39 ▼2.53
Media Library /wp-admin/upload.php1,400 ▼04.16 ▼0.03104.46 ▲7.3441.25 ▼1.14

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
    • can_compress_scripts
    • widget_theysaidso_widget
    • widget_recent-comments
    • theysaidso_admin_options
    • widget_recent-posts
    • db_upgraded

Smoke tests 50% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test

SRP 0% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
  • 1× PHP files output text when accessed directly:
    • > /wp-content/plugins/payerurl-crypto-currency-payment-gateway-for-woocommerce/payerurl.php
  • 2× PHP files trigger server-side errors or warnings when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Class 'WC_Payment_Gateway' not found in wp-content/plugins/payerurl-crypto-currency-payment-gateway-for-woocommerce/class-payerurl-gateway.php:5
    • > PHP Fatal error
      Uncaught Error: Call to undefined function __() in wp-content/plugins/payerurl-crypto-currency-payment-gateway-for-woocommerce/admin-form-fields.php:5

User-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found

Optimizations

Plugin configuration 83% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that need to be fixed:
  • Donate link: Invalid url: ""
You can take inspiration from this readme.txt

payerurl-crypto-currency-payment-gateway-for-woocommerce/payerurl.php 69% from 13 tests

The main file in "ABC Crypto Checkout" v. 1.4.5 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:
  • Main file name: Please rename the main PHP file in this plugin to the plugin slug ("payerurl-crypto-currency-payment-gateway-for-woocommerce.php" instead of "payerurl.php")
  • Domain Path: Use only dashes and lowercase characters for the domain path ("https://payerurl.com")
  • Description: Keep the plugin description shorter than 140 characters (currently 184 characters long)
  • Text Domain: The text domain name should consist of only dashes and lowercase characters

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Everything looks great! No dangerous files found in this plugin820 lines of code in 6 files:
LanguageFilesBlank linesComment linesLines of code
PHP410315716
JavaScript280104

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.35
Average class complexity36.50
▷ Minimum class complexity24.00
▷ Maximum class complexity49.00
Average method complexity2.82
▷ Minimum method complexity1.00
▷ Maximum method complexity10.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes2
▷ Abstract classes00.00%
▷ Concrete classes2100.00%
▷ Final classes2100.00%
Methods40
▷ Static methods922.50%
▷ Public methods2357.50%
▷ Protected methods00.00%
▷ Private methods1742.50%
Functions4
▷ Named functions250.00%
▷ Anonymous functions250.00%
Constants7
▷ Global constants685.71%
▷ Class constants114.29%
▷ Public constants1100.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
1 PNG file occupies 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant
FileSize - originalSize - compressedSavings
assets/images/coin_high.png19.90KB4.82KB▼ 75.79%