Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
These installer errors require your attention
- This plugin did not install gracefully
- > Deprecated in wp-content/plugins/umba-payment-gateway-free-for-woocommerce/umba.php+75
Non-static method UMBA_Activator::activate() should not be called statically
Server metrics [RAM: ▲0.02MB] [CPU: ▼5.54ms] Passed 4 tests
Analyzing server-side resources used by Umba Payment Gateway Free for WooCommerce
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 43.15 ▲3.06 |
Dashboard /wp-admin | 3.32 ▲0.02 | 43.30 ▼4.91 |
Posts /wp-admin/edit.php | 3.44 ▲0.08 | 43.94 ▼0.05 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 78.57 ▼17.12 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 37.10 ▼0.09 |
Server storage [IO: ▲0.27MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 20 new files
Database: no new tables, 7 new options
New WordPress options |
---|
Activated_WooCommerce_Umba |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for Umba Payment Gateway Free for WooCommerce
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,823 ▲62 | 14.28 ▼0.11 | 2.07 ▲0.50 | 47.28 ▲5.35 |
Dashboard /wp-admin | 2,204 ▲23 | 5.66 ▼0.09 | 89.79 ▼13.07 | 38.96 ▲1.34 |
Posts /wp-admin/edit.php | 2,110 ▲13 | 2.00 ▼0.01 | 39.19 ▲1.42 | 37.32 ▲0.14 |
Add New Post /wp-admin/post-new.php | 1,535 ▼2 | 23.18 ▲5.11 | 669.39 ▲65.90 | 52.58 ▼15.99 |
Media Library /wp-admin/upload.php | 1,403 ▼0 | 4.21 ▲0.05 | 108.54 ▲11.84 | 45.74 ▲4.66 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- 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
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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
7 plugin tags: umbaloan payment, umba loanpay, umba payment gateway, umba woocommerce payment, umbaloan payment gateway...
umba-payment-gateway-free-for-woocommerce/umba.php 85% from 13 tests
The entry point to "Umba Payment Gateway Free for WooCommerce" version 1.5 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("umba-payment-gateway-free-for-woocommerce.php" instead of "umba.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
No dangerous file extensions were detected954 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 142 | 374 | 922 |
CSS | 3 | 0 | 6 | 32 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 13.88 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 54.00 |
Average method complexity | 3.40 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 43 | |
▷ Static methods | 1 | 2.33% |
▷ Public methods | 40 | 93.02% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 6.98% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 24 | |
▷ Global constants | 24 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
4 PNG files occupy 0.06MB with 0.05MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/UmbaLoanPay_Button.png | 14.19KB | 4.11KB | ▼ 71.07% |
assets/images/channels_tz.png | 6.69KB | 1.89KB | ▼ 71.73% |
assets/images/channels_ke.png | 22.41KB | 6.10KB | ▼ 72.79% |
assets/images/channels_ug.png | 17.65KB | 1.71KB | ▼ 90.30% |