WordPress plugin Stark scored 99% from 54 tests.

About plugin

  • Plugin page: accept-crypto-pay...
  • Plugin version: 1.0.2
  • PHP version: 7.4.16
  • WordPress version: 5.9.2
  • First release: Aug 30, 2020
  • Latest release: Dec 17, 2020
  • Number of updates: 9
  • Update frequency: every 13.8 days
  • Top authors: starkpayments (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 2,626 total downloads

Benchmarks

Plugin footprint Passed 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.02MB] [CPU: ▼290.82ms] Passed 4 tests

Server-side resources used by Stark
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.52 ▲0.0162.45 ▲4.80
Dashboard /wp-admin3.41 ▲0.0141.94 ▲7.22
Posts /wp-admin/edit.php3.64 ▲0.0041.72 ▼2.64
Add New Post /wp-admin/post-new.php6.89 ▼0.08100.76 ▼1,160.24
Media Library /wp-admin/upload.php3.30 ▼0.0127.98 ▼5.19

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

How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 4 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

A check of browser resources used by Stark
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,810 ▲5716.17 ▲0.195.98 ▲0.252.08 ▼0.33
Dashboard /wp-admin2,918 ▲316.44 ▼0.05130.18 ▼12.16159.08 ▼1.36
Posts /wp-admin/edit.php2,691 ▲33.43 ▲0.0062.64 ▲0.02143.07 ▲0.31
Add New Post /wp-admin/post-new.php1,773 ▲6221.29 ▼0.31451.64 ▲7.02163.49 ▲1.02
Media Library /wp-admin/upload.php1,698 ▼05.72 ▼0.02135.16 ▼3.20186.34 ▼14.33

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
This plugin's uninstaller ran successfully

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test

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
Everything seems fine, however this is by no means an exhaustive test

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 86% from 29 tests

readme.txt 81% from 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need to be fixed:
  • Screenshots: No descriptions were found for these screenshots #1, #2, #3, #4, #5, #6, #7 in accept-crypto-payments-on-woocommerce/assets to your readme.txt
  • Requires at least: Version format is invalid
  • Requires php: Version format is invalid
You can look at the official readme.txt

accept-crypto-payments-on-woocommerce/class-wc-gateway-stark.php 92% from 13 tests

"Stark" version 1.0.2's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
You should first fix the following items:
  • Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("accept-crypto-payments-on-woocommerce.php" instead of "class-wc-gateway-stark.php")

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
Good job! No executable or dangerous file extensions detected199 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP13367177
Markdown16022

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.29
Average class complexity7.00
▷ Minimum class complexity1.00
▷ Maximum class complexity13.00
Average method complexity2.71
▷ Minimum method complexity1.00
▷ Maximum method complexity5.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes2
▷ Abstract classes00.00%
▷ Concrete classes2100.00%
▷ Final classes00.00%
Methods7
▷ Static methods00.00%
▷ Public methods7100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions3
▷ Named functions3100.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
1 PNG file occupies 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant
FileSize - originalSize - compressedSavings
assets/images/icons/stark.png7.96KB3.15KB▼ 60.43%