Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲0.10MB] [CPU: ▼3.98ms] Passed 4 tests
An overview of server-side resources used by Bykea.Cash - Online Payments
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.10 | 41.21 ▼1.58 |
Dashboard /wp-admin | 3.40 ▲0.09 | 51.65 ▼6.77 |
Posts /wp-admin/edit.php | 3.51 ▲0.15 | 51.90 ▼6.51 |
Add New Post /wp-admin/post-new.php | 6.01 ▲0.12 | 95.10 ▼1.07 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 41.44 ▲2.98 |
Server storage [IO: ▲0.12MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for Bykea.Cash - Online Payments
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,844 ▲83 | 14.74 ▲0.33 | 1.75 ▲0.15 | 41.21 ▼9.06 |
Dashboard /wp-admin | 2,228 ▲51 | 5.64 ▲0.07 | 92.86 ▲8.49 | 41.65 ▲1.64 |
Posts /wp-admin/edit.php | 2,130 ▲30 | 2.05 ▲0.04 | 42.36 ▲5.81 | 38.10 ▲3.44 |
Add New Post /wp-admin/post-new.php | 1,535 ▲7 | 23.34 ▲0.29 | 676.18 ▼27.52 | 53.45 ▼3.93 |
Media Library /wp-admin/upload.php | 1,427 ▲27 | 4.30 ▲0.07 | 111.13 ▼7.79 | 51.45 ▲1.58 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 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
Please fix the following
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/bykea-cash-online-payments/online-payments-bykeacash.php:19
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
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:
- Donate link: Please fix this invalid URI: ""
- Tags: There are too many tags (11 tag instead of maximum 10)
bykea-cash-online-payments/online-payments-bykeacash.php 85% from 13 tests
Analyzing the main PHP file in "Bykea.Cash - Online Payments" version 3.2
It is important to fix the following:
- Requires at least: Required version does not match the one declared in readme.txt ("4.0" instead of "5.2")
- Main file name: The principal plugin file should be the same as the plugin slug ("bykea-cash-online-payments.php" instead of "online-payments-bykeacash.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Success! There were no dangerous files found in this plugin1,096 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 36 | 98 | 723 |
JavaScript | 1 | 7 | 6 | 194 |
Markdown | 1 | 28 | 0 | 95 |
CSS | 1 | 0 | 0 | 84 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.17 |
Average class complexity | 26.00 |
▷ Minimum class complexity | 26.00 |
▷ Maximum class complexity | 26.00 |
Average method complexity | 6.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 24.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 | 5 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 80.00% |
▷ Protected methods | 1 | 20.00% |
▷ Private methods | 0 | 0.00% |
Functions | 23 | |
▷ Named functions | 16 | 69.57% |
▷ Anonymous functions | 7 | 30.43% |
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
4 PNG files occupy 0.03MB with 0.01MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
bykea-full-payment-option.png | 9.83KB | 3.07KB | ▼ 68.74% |
app-store-icon.png | 7.72KB | 7.70KB | 0.25% |
google-play-icon.png | 12.36KB | 12.32KB | 0.33% |
bykea-cash-logo.png | 3.44KB | 1.94KB | ▼ 43.52% |