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
This plugin's installer ran successfully
Server metrics [RAM: ▼0.01MB] [CPU: ▼8.09ms] Passed 4 tests
An overview of server-side resources used by Bkash Manual Payment Gateway
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 37.75 ▼0.72 |
Dashboard /wp-admin | 3.31 ▼0.04 | 46.74 ▼15.06 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 45.55 ▲1.56 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 81.75 ▼10.53 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 31.10 ▼6.04 |
Server storage [IO: ▲0.61MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 20 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
Bkash Manual Payment Gateway: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.57 ▼0.81 | 1.73 ▲0.06 | 42.43 ▲0.90 |
Dashboard /wp-admin | 2,206 ▲17 | 5.89 ▲0.97 | 109.34 ▼13.99 | 42.62 ▼3.46 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.04 ▼0.01 | 34.88 ▼0.27 | 31.48 ▼0.39 |
Add New Post /wp-admin/post-new.php | 1,527 ▼9 | 23.17 ▼0.10 | 640.55 ▼15.84 | 58.97 ▲4.96 |
Media Library /wp-admin/upload.php | 1,391 ▲6 | 4.16 ▼0.04 | 95.02 ▼0.69 | 44.19 ▲2.29 |
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
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 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
Please fix the following
- 2× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/manual-payment-gateway-bkash/bkash.php
- > /wp-content/plugins/manual-payment-gateway-bkash/trunk/bkash.php
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that require attention:
- Screenshots: These screenshots lack descriptions #2, #3 in manual-payment-gateway-bkash/assets to your readme.txt
manual-payment-gateway-bkash/bkash.php 69% from 13 tests
The principal PHP file in "Bkash Manual Payment Gateway" v. 1.3 is loaded by WordPress automatically on each request
Please make the necessary changes and fix the following:
- Domain Path: The domain path is invalid: folder "/languages" does not exist
- Main file name: Name the main plugin file the same as the plugin slug ("manual-payment-gateway-bkash.php" instead of "bkash.php")
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
- Description: Keep the plugin description shorter than 140 characters (currently 353 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected599 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 159 | 123 | 593 |
JavaScript | 1 | 0 | 0 | 5 |
SVG | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 8.00 |
▷ Minimum class complexity | 8.00 |
▷ Maximum class complexity | 8.00 |
Average method complexity | 2.17 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 12 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 12 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 28 | |
▷ Named functions | 28 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
7 PNG files occupy 0.54MB with 0.21MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/icon-256x256.png | 10.42KB | 4.92KB | ▼ 52.78% |
assets/screenshot-2.PNG | 133.58KB | 51.03KB | ▼ 61.80% |
assets/screenshot-3.PNG | 164.42KB | 60.56KB | ▼ 63.17% |
assets/banner-772x250.png | 18.23KB | 17.91KB | ▼ 1.74% |
trunk/images/bkash.png | 1.81KB | 1.60KB | ▼ 11.71% |