Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼0.82ms] Passed 4 tests
Analyzing server-side resources used by Sparkle Paddle Payment Gateway Lite
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 50.37 ▲7.40 |
Dashboard /wp-admin | 3.32 ▲0.02 | 49.22 ▲1.32 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 45.32 ▼2.41 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 93.90 ▼2.01 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 36.18 ▼0.17 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Sparkle Paddle Payment Gateway Lite
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,806 ▲71 | 13.19 ▼1.61 | 1.81 ▲0.10 | 36.55 ▼10.84 |
Dashboard /wp-admin | 2,212 ▲21 | 5.76 ▼0.14 | 98.04 ▼4.40 | 39.61 ▼5.94 |
Posts /wp-admin/edit.php | 2,095 ▲6 | 2.01 ▲0.02 | 37.09 ▲0.63 | 37.21 ▲1.62 |
Add New Post /wp-admin/post-new.php | 1,534 ▲20 | 18.65 ▲0.96 | 654.51 ▼29.73 | 52.57 ▼5.31 |
Media Library /wp-admin/upload.php | 1,388 ▲3 | 4.17 ▼0.00 | 97.08 ▼1.24 | 39.79 ▼5.52 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
SRP 50% 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 fix the following
- 5× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/sparkle-paddle-payment-gateway-lite/includes/class_sparkle_paddle_payment_woo_gateway_inline.php
- > /wp-content/plugins/sparkle-paddle-payment-gateway-lite/sparkle-paddle-payment-gateway-lite.php
- > /wp-content/plugins/sparkle-paddle-payment-gateway-lite/includes/edd_plugin_init.php
- > /wp-content/plugins/sparkle-paddle-payment-gateway-lite/includes/class_sparkle_sppg_library.php
- > /wp-content/plugins/sparkle-paddle-payment-gateway-lite/includes/woo_plugin_init.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
9 plugin tags: paddle addon, paddle, paddle for easy digital downloads, paddle payment gateway, paddle payment...
sparkle-paddle-payment-gateway-lite/sparkle-paddle-payment-gateway-lite.php 85% from 13 tests
This is the main PHP file of "Sparkle Paddle Payment Gateway Lite" version 1.0.3, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
You should first fix the following items:
- Domain Path: Prefix the domain path with a forward slash character ("/languages")
- Domain Path: Use only dashes and lowercase characters for the domain path ("languages")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Everything looks great! No dangerous files found in this plugin1,039 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 236 | 272 | 1,039 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 25.80 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 53.00 |
Average method complexity | 3.88 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 25.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 43 | |
▷ Static methods | 10 | 23.26% |
▷ Public methods | 38 | 88.37% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 11.63% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
3 PNG files occupy 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/icon1.png | 1.33KB | 0.76KB | ▼ 42.69% |
assets/images/icon2.png | 5.01KB | 2.65KB | ▼ 47.02% |
assets/images/icon3.png | 7.79KB | 3.36KB | ▼ 56.84% |