Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.12MB] [CPU: ▼4.31ms] Passed 4 tests
An overview of server-side resources used by ConcordPay Payment Gateway for WooCommerce
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.12 | 41.85 ▼1.94 |
Dashboard /wp-admin | 3.43 ▲0.12 | 45.43 ▼9.88 |
Posts /wp-admin/edit.php | 3.54 ▲0.18 | 46.43 ▼3.20 |
Add New Post /wp-admin/post-new.php | 6.01 ▲0.12 | 97.02 ▼2.20 |
Media Library /wp-admin/upload.php | 3.35 ▲0.12 | 37.59 ▲1.93 |
Server storage [IO: ▲0.18MB] [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 |
---|
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by ConcordPay Payment Gateway for WooCommerce
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,817 ▲60 | 13.22 ▼1.09 | 1.82 ▼0.09 | 47.71 ▲1.22 |
Dashboard /wp-admin | 2,226 ▲38 | 5.82 ▲0.94 | 101.61 ▼16.94 | 89.44 ▲42.43 |
Posts /wp-admin/edit.php | 2,109 ▲20 | 2.13 ▲0.09 | 38.59 ▼0.52 | 35.18 ▲0.60 |
Add New Post /wp-admin/post-new.php | 1,538 ▲19 | 22.96 ▼0.18 | 671.84 ▼28.95 | 51.67 ▼14.09 |
Media Library /wp-admin/upload.php | 1,402 ▲14 | 4.18 ▼0.03 | 94.83 ▼0.54 | 68.54 ▲22.28 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that require attention:
- Screenshots: Screenshot #8 (Successful payment.) image required
- Tags: Please reduce the number of tags, currently 12 tag instead of maximum 10
concordpay-for-woocommerce/concordpay-for-woocommerce.php 92% from 13 tests
The principal PHP file in "ConcordPay Payment Gateway for WooCommerce" v. 1.4.2 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Requires at least: Required version does not match the one declared in readme.txt ("5.5" instead of "6.0.0")
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
There were no executable files found in this plugin1,404 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 130 | 338 | 612 |
PO File | 2 | 118 | 138 | 301 |
JavaScript | 2 | 27 | 6 | 227 |
CSS | 1 | 23 | 0 | 195 |
SVG | 1 | 0 | 1 | 52 |
Markdown | 1 | 9 | 0 | 17 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 28.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 56.00 |
Average method complexity | 2.49 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.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 | 37 | |
▷ Static methods | 3 | 8.11% |
▷ Public methods | 22 | 59.46% |
▷ Protected methods | 9 | 24.32% |
▷ Private methods | 6 | 16.22% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 18 | |
▷ Global constants | 1 | 5.56% |
▷ Class constants | 17 | 94.44% |
▷ Public constants | 17 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
1 PNG file occupies 0.10MB with 0.06MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
settings.png | 98.35KB | 35.27KB | ▼ 64.14% |