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.17MB] [CPU: ▼15.76ms] Passed 4 tests
An overview of server-side resources used by Gateway Kamoney
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 36.47 ▲0.27 |
Dashboard /wp-admin | 3.20 ▼0.14 | 31.57 ▼27.63 |
Posts /wp-admin/edit.php | 3.27 ▼0.08 | 35.27 ▼7.97 |
Add New Post /wp-admin/post-new.php | 5.44 ▼0.44 | 67.12 ▼26.28 |
Media Library /wp-admin/upload.php | 3.21 ▼0.02 | 32.21 ▼1.17 |
Server storage [IO: ▲0.77MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 21 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Gateway Kamoney
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,814 ▲28 | 14.72 ▲0.32 | 1.79 ▼0.02 | 38.67 ▼1.08 |
Dashboard /wp-admin | 2,198 ▲21 | 5.55 ▼0.11 | 82.32 ▼2.46 | 39.07 ▼3.12 |
Posts /wp-admin/edit.php | 2,100 ▼3 | 1.95 ▼0.00 | 35.64 ▼5.94 | 36.41 ▼5.06 |
Add New Post /wp-admin/post-new.php | 1,526 ▼2 | 23.06 ▼0.03 | 681.88 ▼9.39 | 58.16 ▲10.90 |
Media Library /wp-admin/upload.php | 1,400 ▼3 | 4.20 ▼0.00 | 103.39 ▲3.89 | 46.49 ▲2.70 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
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 shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
10 plugin tags: e-commerce, gateway, ethereum, cart, payment gateway...
gateway-kamoney/gateway-kamoney.php Passed 13 tests
Analyzing the main PHP file in "Gateway Kamoney" version 2.0
140 characters long description:
Plugin WooCommerce que permite pagamentos usando criptomoeda via Kamoney. Este plugin requer uma conta Kamoney (https://www.kamoney.com.br).
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Success! There were no dangerous files found in this plugin358 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 94 | 116 | 358 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 11.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 28.00 |
Average method complexity | 2.76 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 17 | |
▷ Static methods | 5 | 29.41% |
▷ Public methods | 15 | 88.24% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 11.76% |
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
Using a strong compression for your PNG files is a great way to speed-up your plugin
12 PNG files occupy 0.75MB with 0.53MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-8.png | 132.05KB | 37.52KB | ▼ 71.59% |
assets/screenshot-3.png | 38.20KB | 11.13KB | ▼ 70.87% |
assets/screenshot-5.png | 118.47KB | 34.53KB | ▼ 70.85% |
assets/screenshot-7.png | 111.11KB | 30.15KB | ▼ 72.86% |
assets/screenshot-1.png | 50.29KB | 15.00KB | ▼ 70.18% |