Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.05MB] [CPU: ▼3.31ms] Passed 4 tests
An overview of server-side resources used by Payscout Payment Gateway for WooCommerce
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 37.43 ▼1.96 |
Dashboard /wp-admin | 3.36 ▲0.05 | 46.71 ▼6.62 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 46.05 ▲0.88 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 86.74 ▼5.52 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 38.00 ▲4.71 |
Server storage [IO: ▲0.17MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 14 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Payscout Payment Gateway for WooCommerce
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 14.48 ▲0.11 | 1.76 ▼0.05 | 48.69 ▼3.63 |
Dashboard /wp-admin | 2,206 ▲18 | 4.89 ▼0.97 | 97.91 ▼5.28 | 37.88 ▼1.59 |
Posts /wp-admin/edit.php | 2,092 ▲6 | 1.99 ▼0.08 | 36.05 ▼1.95 | 30.67 ▼0.51 |
Add New Post /wp-admin/post-new.php | 1,534 ▲1 | 23.23 ▲0.09 | 597.59 ▼12.64 | 57.69 ▼10.66 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.23 ▼0.05 | 100.49 ▼5.26 | 39.77 ▼4.46 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need to be fixed:
- Screenshots: Please add images for these screenshots: #1 (Screenshot-1 - Merchant Username), #2 (Screenshot-2 - Admin Settings of Plugin), #3 (Screenshot-3 - Checkout Page Form), #4 (Screenshot-4 - Admin order details)
payscout-woocommerce/payscout-woocommerce.php Passed 13 tests
The primary PHP file in "Payscout Payment Gateway for WooCommerce" version 1.0.0 is used by WordPress to initiate all plugin functionality
107 characters long description:
This plugin adds a payment option in WooCommerce for customers to pay with their Credit Cards Via Payscout.
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
Everything looks great! No dangerous files found in this plugin286 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 63 | 24 | 286 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 25.00 |
▷ Minimum class complexity | 25.00 |
▷ Maximum class complexity | 25.00 |
Average method complexity | 3.67 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.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 | 9 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 9 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 3 | 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 Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
12 PNG files occupy 0.15MB with 0.05MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/discover.png | 1.45KB | 1.26KB | ▼ 12.83% |
images/jcb.png | 1.51KB | 1.31KB | ▼ 13.60% |
screenshot-2.png | 35.17KB | 16.26KB | ▼ 53.77% |
images/amex.png | 2.06KB | 1.42KB | ▼ 31.30% |
images/payscout.png | 10.52KB | 4.46KB | ▼ 57.60% |