Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼9.95ms] Passed 4 tests
Server-side resources used by SolPress WooCommerce Payment Gateway
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.40 ▼0.06 | 22.43 ▼19.13 |
Dashboard /wp-admin | 3.32 ▲0.02 | 47.71 ▲0.99 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 48.25 ▼1.04 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.04 | 81.96 ▼20.62 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 35.71 ▲3.17 |
Server storage [IO: ▲3.92MB] [DB: ▲0.07MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 111 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for SolPress WooCommerce Payment Gateway
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,484 ▼251 | 13.22 ▼1.08 | 0.52 ▼1.61 | 16.97 ▼26.30 |
Dashboard /wp-admin | 2,228 ▲37 | 4.85 ▼1.02 | 98.72 ▼9.13 | 39.34 ▼1.46 |
Posts /wp-admin/edit.php | 2,107 ▲15 | 2.00 ▼0.02 | 40.79 ▼1.21 | 36.36 ▼0.73 |
Add New Post /wp-admin/post-new.php | 1,528 ▲9 | 23.17 ▲0.20 | 663.51 ▼10.82 | 69.75 ▲14.41 |
Media Library /wp-admin/upload.php | 1,401 ▲13 | 4.24 ▲0.04 | 95.60 ▼13.85 | 43.78 ▲0.74 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
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
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please take a closer look at the following
- 2× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/solpress-payment-gateway/admin/partials/solpress-admin-display.php
- > /wp-content/plugins/solpress-payment-gateway/public/partials/solpress-public-display.php
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
10 plugin tags: crypto woocommerce, phantom, payment gateway, phantom wallet, solana pay...
solpress-payment-gateway/solpress.php 85% from 13 tests
The primary PHP file in "SolPress WooCommerce Payment Gateway" version 2.0.27 is used by WordPress to initiate all plugin functionality
You should first fix the following items:
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
- Main file name: The principal plugin file should be the same as the plugin slug ("solpress-payment-gateway.php" instead of "solpress.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 plugin2,831 lines of code in 87 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
TypeScript | 32 | 300 | 240 | 1,646 |
PHP | 15 | 192 | 718 | 616 |
Sass | 7 | 35 | 3 | 212 |
JSON | 5 | 0 | 0 | 175 |
JavaScript | 16 | 21 | 92 | 104 |
SVG | 4 | 0 | 0 | 29 |
Markdown | 1 | 15 | 0 | 23 |
HTML | 2 | 3 | 20 | 21 |
Bourne Shell | 2 | 0 | 0 | 4 |
CSS | 3 | 0 | 8 | 1 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 7.11 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 42.00 |
Average method complexity | 2.38 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 40 | |
▷ Static methods | 2 | 5.00% |
▷ Public methods | 32 | 80.00% |
▷ Protected methods | 1 | 2.50% |
▷ Private methods | 7 | 17.50% |
Functions | 6 | |
▷ Named functions | 4 | 66.67% |
▷ Anonymous functions | 2 | 33.33% |
Constants | 7 | |
▷ Global constants | 7 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin