Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.00MB] [CPU: ▼5.61ms] Passed 4 tests
A check of server-side resources used by Payment Gateway For QuickPay
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 40.98 ▼1.11 |
Dashboard /wp-admin | 3.31 ▲0.00 | 46.94 ▼1.72 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 44.56 ▼5.19 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 87.01 ▼14.40 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 37.12 ▲2.70 |
Server storage [IO: ▲0.52MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 24 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Payment Gateway For QuickPay
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.61 ▼0.82 | 1.75 ▼0.16 | 44.14 ▼5.62 |
Dashboard /wp-admin | 2,209 ▲24 | 4.80 ▼1.07 | 106.31 ▼10.87 | 40.10 ▼2.15 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.00 ▼0.06 | 34.97 ▼5.63 | 31.48 ▼6.44 |
Add New Post /wp-admin/post-new.php | 1,533 ▲14 | 23.35 ▲0.21 | 676.37 ▲32.74 | 53.32 ▲4.51 |
Media Library /wp-admin/upload.php | 1,382 ▼3 | 4.29 ▲0.10 | 99.24 ▼0.89 | 39.78 ▼5.80 |
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
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though everything seems fine, this is not 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 fix the following
- 8× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/paymentgatewayforquickpay/j00610QuickPay.class.php
- > /wp-content/plugins/paymentgatewayforquickpay/j03108QuickPay.class.php
- > /wp-content/plugins/paymentgatewayforquickpay/j00005QuickPay.class.php
- > /wp-content/plugins/paymentgatewayforquickpay/j00510QuickPay.class.php
- > /wp-content/plugins/paymentgatewayforquickpay/j10510QuickPay.class.php
- > /wp-content/plugins/paymentgatewayforquickpay/j00605QuickPay.class.php
- > /wp-content/plugins/paymentgatewayforquickpay/j00509QuickPay.class.php
- > /wp-content/plugins/paymentgatewayforquickpay/j10509QuickPay.class.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
- Screenshots: Add images for these screenshots: #1 (screenshot-1.png), #2 (screenshot-2.png), #3 (screenshot-3.png), #4 (screenshot-4.png), #5 (screenshot-5.png), #6 (screenshot-6.png), #7 (screenshot-7.png)
- Donate link: Invalid URI ("")
paymentgatewayforquickpay/index.php 92% from 13 tests
The main PHP file in "Payment Gateway For QuickPay" ver. 1.2 adds more information about the plugin and also serves as the entry point for this plugin
Please make the necessary changes and fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("paymentgatewayforquickpay.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin524 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 107 | 130 | 489 |
HTML | 2 | 3 | 0 | 35 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 6.56 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 25.00 |
Average method complexity | 3.17 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 24.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 | 23 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 23 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
All PNG images should be compressed to minimize bandwidth usage for end users
7 PNG files occupy 0.50MB with 0.32MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-7.png | 62.18KB | 23.92KB | ▼ 61.53% |
screenshot-1.png | 71.33KB | 24.26KB | ▼ 65.98% |
screenshot-3.png | 68.68KB | 26.66KB | ▼ 61.19% |
screenshot-6.png | 58.62KB | 21.15KB | ▼ 63.91% |
screenshot-5.png | 80.60KB | 27.44KB | ▼ 65.96% |