Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼9.84ms] Passed 4 tests
A check of server-side resources used by WooCommerce Squad Payment Gateway
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 40.77 ▼2.23 |
Dashboard /wp-admin | 3.31 ▲0.01 | 49.40 ▼6.02 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 46.94 ▼1.75 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 85.05 ▼29.34 |
Media Library /wp-admin/upload.php | 3.24 ▲0.00 | 40.33 ▲0.58 |
Server storage [IO: ▲0.51MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
WooCommerce Squad Payment Gateway: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.41 ▲0.06 | 1.83 ▼0.03 | 41.19 ▼5.15 |
Dashboard /wp-admin | 2,195 ▲21 | 5.62 ▲0.01 | 87.92 ▼12.15 | 42.11 ▼1.18 |
Posts /wp-admin/edit.php | 2,100 ▲3 | 1.98 ▼0.05 | 34.29 ▼3.77 | 38.48 ▲1.60 |
Add New Post /wp-admin/post-new.php | 1,528 ▼0 | 23.08 ▼0.06 | 703.99 ▲9.46 | 60.46 ▲8.94 |
Media Library /wp-admin/upload.php | 1,400 ▲3 | 4.22 ▲0.03 | 114.53 ▼11.78 | 46.10 ▼3.71 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
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 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that need to be fixed:
- Tags: You are using too many tags: 11 tag instead of maximum 10
- Screenshots: These screenshots lack descriptions #2, #3 in squad-payment-gateway/assets to your readme.txt
squad-payment-gateway/squad-payment-gateway.php Passed 13 tests
The entry point to "WooCommerce Squad Payment Gateway" version 1.0.8 is a PHP file that has certain tags in its header comment area
57 characters long description:
Provides Seamless Payments with Multiple payment options.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected795 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 250 | 194 | 706 |
JavaScript | 1 | 18 | 2 | 89 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 47.00 |
▷ Minimum class complexity | 9.00 |
▷ Maximum class complexity | 85.00 |
Average method complexity | 4.54 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 26 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 22 | 84.62% |
▷ Protected methods | 3 | 11.54% |
▷ Private methods | 1 | 3.85% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
4 PNG files occupy 0.47MB with 0.22MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/settings.png | 236.64KB | 80.90KB | ▼ 65.81% |
assets/images/logo.png | 1.71KB | 1.72KB | 0.00% |
assets/images/inline-modal.png | 167.22KB | 69.47KB | ▼ 58.46% |
assets/images/checkout.png | 74.02KB | 25.74KB | ▼ 65.23% |