Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼3.54ms] Passed 4 tests
Server-side resources used by Bluepay Payment Gateway WooCommerce Addon
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 41.09 ▼1.29 |
Dashboard /wp-admin | 3.31 ▲0.01 | 49.05 ▼3.72 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 45.71 ▼0.55 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 88.83 ▼8.10 |
Media Library /wp-admin/upload.php | 3.23 ▲0.01 | 36.98 ▼1.04 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Bluepay Payment Gateway WooCommerce Addon
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.24 ▼0.11 | 1.74 ▲0.08 | 44.52 ▼1.70 |
Dashboard /wp-admin | 2,195 ▲15 | 5.52 ▼0.11 | 85.13 ▼14.79 | 38.91 ▼3.93 |
Posts /wp-admin/edit.php | 2,097 ▼3 | 1.96 ▼0.06 | 34.74 ▼2.99 | 34.03 ▼3.28 |
Add New Post /wp-admin/post-new.php | 1,526 ▼2 | 23.77 ▲0.83 | 686.01 ▲22.63 | 54.73 ▼5.34 |
Media Library /wp-admin/upload.php | 1,394 ▼6 | 4.19 ▲0.07 | 101.14 ▼13.84 | 44.08 ▼2.92 |
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
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
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
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
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 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
These attributes need your attention:
- Tested up to: Invalid plugin version format
- Requires at least: Invalid plugin version format
webmiro-bluepay-woo-addon/webmicro-bluepay-woo.php 92% from 13 tests
"Bluepay Payment Gateway WooCommerce Addon" version 1.0.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
The following require your attention:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("webmiro-bluepay-woo-addon.php" instead of "webmicro-bluepay-woo.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 detected818 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 166 | 89 | 818 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 48.00 |
▷ Minimum class complexity | 37.00 |
▷ Maximum class complexity | 59.00 |
Average method complexity | 2.11 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 27.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 | 85 | |
▷ Static methods | 1 | 1.18% |
▷ Public methods | 84 | 98.82% |
▷ Protected methods | 1 | 1.18% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 4 | 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 Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
7 compressed PNG files occupy 0.01MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/bluepay.png | 3.63KB | 2.39KB | ▼ 34.26% |
images/discover.png | 1.28KB | 1.30KB | 0.00% |
images/dinersclub.png | 1.27KB | 1.17KB | ▼ 8.22% |
images/visa.png | 1.25KB | 1.29KB | 0.00% |
images/mastercard.png | 1.62KB | 1.40KB | ▼ 13.37% |