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.05MB] [CPU: ▼1.47ms] Passed 4 tests
A check of server-side resources used by Payment gateway via Teya RPG for WooCommerce
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.05 | 38.80 ▼3.96 |
Dashboard /wp-admin | 3.36 ▲0.05 | 56.20 ▲9.56 |
Posts /wp-admin/edit.php | 3.48 ▲0.12 | 46.82 ▲0.65 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 85.13 ▼3.08 |
Media Library /wp-admin/upload.php | 3.29 ▲0.05 | 31.78 ▲0.50 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Payment gateway via Teya RPG for WooCommerce
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,790 ▲3 | 14.18 ▼0.53 | 2.10 ▲0.04 | 45.05 ▲0.73 |
Dashboard /wp-admin | 2,198 ▲21 | 5.60 ▼0.07 | 95.10 ▲6.19 | 41.82 ▲2.36 |
Posts /wp-admin/edit.php | 2,097 ▼3 | 2.00 ▲0.02 | 35.98 ▼4.59 | 32.56 ▼4.35 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.11 ▲0.07 | 638.73 ▼50.12 | 48.61 ▼14.02 |
Media Library /wp-admin/upload.php | 1,397 ▼0 | 4.20 ▲0.03 | 101.53 ▼3.24 | 42.72 ▼0.50 |
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
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- widget_recent-posts
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
Good news, no errors were detected
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
- Screenshots: No descriptions were found for these screenshots #1, #2, #3 in payment-gateway-via-borgun-rpg-for-woocommerce/assets to your readme.txt
payment-gateway-via-borgun-rpg-for-woocommerce/borgun-rpg.php 77% from 13 tests
"Payment gateway via Teya RPG for WooCommerce" version 1.0.24's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
It is important to fix the following:
- Domain Path: The domain path points to a folder that does not exist ("/languages")
- Text Domain: The text domain name must use dashes instead of underscores, and it must be lowercase
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("payment-gateway-via-borgun-rpg-for-woocommerce.php" instead of "borgun-rpg.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin1,001 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 135 | 94 | 884 |
JavaScript | 2 | 8 | 3 | 105 |
CSS | 1 | 0 | 0 | 12 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 34.00 |
▷ Minimum class complexity | 9.00 |
▷ Maximum class complexity | 107.00 |
Average method complexity | 3.87 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 55.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 | 46 | |
▷ Static methods | 1 | 2.17% |
▷ Public methods | 37 | 80.43% |
▷ Protected methods | 6 | 13.04% |
▷ Private methods | 3 | 6.52% |
Functions | 8 | |
▷ Named functions | 8 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 1 | 33.33% |
▷ Class constants | 2 | 66.67% |
▷ Public constants | 2 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
1 PNG file occupies 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
cards.png | 17.99KB | 5.81KB | ▼ 67.69% |