Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▲1.58ms] Passed 4 tests
A check of server-side resources used by Sprintcheckout - Accept crypto payments bankless, fast and cheap
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 49.54 ▲6.30 |
Dashboard /wp-admin | 3.31 ▲0.01 | 49.16 ▲1.43 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 53.77 ▲4.93 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 93.53 ▲0.92 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 36.89 ▼0.98 |
Server storage [IO: ▲3.78MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Sprintcheckout - Accept crypto payments bankless, fast and cheap
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,815 ▲29 | 13.30 ▼1.25 | 1.94 ▼0.26 | 42.68 ▲0.13 |
Dashboard /wp-admin | 2,224 ▲18 | 6.04 ▲0.96 | 96.97 ▼13.44 | 41.38 ▼3.82 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.02 ▲0.05 | 39.50 ▲3.15 | 35.55 ▼3.06 |
Add New Post /wp-admin/post-new.php | 1,526 ▼19 | 23.52 ▲0.19 | 673.88 ▼17.40 | 63.82 ▲6.37 |
Media Library /wp-admin/upload.php | 1,400 ▼3 | 4.24 ▲0.08 | 97.04 ▼38.16 | 40.37 ▼20.27 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking 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 fix the following items
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'WC_Payment_Gateway' not found in wp-content/plugins/sprintcheckout/includes/class-wc-payment-gateway-sprintcheckout.php:13
- > PHP Fatal error
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)
No browser issues were found
Optimizations
Plugin configuration 96% 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
9 plugin tags: ecommerce, gateway, ethereum, bitcoin, woocommerce...
sprintcheckout/sprintcheckout-payments-woocommerce.php 92% from 13 tests
"Sprintcheckout - Accept crypto payments bankless, fast and cheap" version 2.0.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("sprintcheckout.php" instead of "sprintcheckout-payments-woocommerce.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
Success! There were no dangerous files found in this plugin117 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 26 | 53 | 117 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 8.00 |
▷ Minimum class complexity | 8.00 |
▷ Maximum class complexity | 8.00 |
Average method complexity | 2.20 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 6 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 66.67% |
▷ Protected methods | 1 | 16.67% |
▷ Private methods | 1 | 16.67% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
7 PNG files occupy 3.00MB with 2.04MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-5.png | 604.52KB | 206.36KB | ▼ 65.86% |
assets/banner-1544x500.png | 59.20KB | 27.70KB | ▼ 53.21% |
assets/screenshot-3.png | 575.36KB | 159.47KB | ▼ 72.28% |
assets/screenshot-6.png | 834.12KB | 235.45KB | ▼ 71.77% |
assets/screenshot-4.png | 859.65KB | 203.18KB | ▼ 76.36% |