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
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.08MB] [CPU: ▼8.15ms] Passed 4 tests
A check of server-side resources used by Crypto Payment Gateway - Payid19.Com
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.08 | 39.08 ▼6.38 |
Dashboard /wp-admin | 3.39 ▲0.09 | 50.00 ▼2.20 |
Posts /wp-admin/edit.php | 3.50 ▲0.15 | 51.15 ▲3.94 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 87.35 ▼22.41 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 38.01 ▼1.60 |
Server storage [IO: ▲0.34MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 18 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Crypto Payment Gateway - Payid19.Com
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.34 ▲0.08 | 1.73 ▼0.33 | 41.82 ▼4.67 |
Dashboard /wp-admin | 2,198 ▲21 | 5.62 ▼0.03 | 94.40 ▲2.67 | 37.41 ▼2.98 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.99 ▲0.04 | 39.54 ▲2.67 | 36.12 ▼2.14 |
Add New Post /wp-admin/post-new.php | 1,546 ▲9 | 22.84 ▲4.66 | 680.33 ▲9.14 | 59.31 ▼4.72 |
Media Library /wp-admin/upload.php | 1,403 ▲3 | 4.19 ▼0.09 | 98.01 ▼12.54 | 48.16 ▲2.17 |
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
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 75% from 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 50% from 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
Please take a closer look at the following
- 4× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/payid19-com-payment-gateway/class_kriptopos_payment.php:116
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/payid19-com-payment-gateway/class_kriptopos_core.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/payid19-com-payment-gateway/class_kriptopos_callback.php:57
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/payid19-com-payment-gateway/class_kriptopos_receipt.php:53
- > PHP Fatal error
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)
No browser errors were detected
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that require attention:
- Screenshots: Add images for these screenshots: #3 (Basket Page), #6 (Order List Page), #7 (Order Management)
- Tags: Please reduce the number of tags, currently 15 tag instead of maximum 10
payid19-com-payment-gateway/payid19pos.php 85% from 13 tests
"Crypto Payment Gateway - Payid19.Com" version 1...'s primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time to fix the following:
- Version: Use periods and digits only for your plugin's version number (ex. "1.0.3" instead of "1...")
- Main file name: The principal plugin file should be the same as the plugin slug ("payid19-com-payment-gateway.php" instead of "payid19pos.php")
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 plugin329 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 76 | 59 | 326 |
CSS | 1 | 0 | 0 | 2 |
JavaScript | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.15 |
Average class complexity | 3.50 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 7.00 |
Average method complexity | 1.77 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 13 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 13 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 7 | |
▷ Named functions | 6 | 85.71% |
▷ Anonymous functions | 1 | 14.29% |
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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
8 PNG files occupy 0.30MB with 0.20MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-1.png | 39.16KB | 11.89KB | ▼ 69.65% |
assets/Screenshot3.png | 38.25KB | 12.11KB | ▼ 68.35% |
assets/screenshot-2.png | 20.93KB | 7.00KB | ▼ 66.55% |
assets/banner-1544x500.png | 62.95KB | 20.15KB | ▼ 67.99% |
assets/screenshot-5.png | 28.33KB | 9.78KB | ▼ 65.49% |