Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.14MB] [CPU: ▼10.36ms] Passed 4 tests
A check of server-side resources used by MerchantOne Payment Gateway WooCommerce Addon
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.62 ▲0.15 | 37.55 ▼3.55 |
Dashboard /wp-admin | 3.46 ▲0.11 | 45.40 ▼11.38 |
Posts /wp-admin/edit.php | 3.58 ▲0.21 | 43.98 ▼4.63 |
Add New Post /wp-admin/post-new.php | 6.04 ▲0.15 | 79.48 ▼21.89 |
Media Library /wp-admin/upload.php | 3.39 ▲0.15 | 35.43 ▼2.98 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 12 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
MerchantOne Payment Gateway WooCommerce Addon: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,814 ▲53 | 14.17 ▼0.38 | 1.90 ▲0.24 | 43.67 ▲3.17 |
Dashboard /wp-admin | 2,198 ▲24 | 5.63 ▲0.04 | 81.72 ▼5.17 | 40.77 ▼3.64 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.03 ▲0.02 | 34.46 ▼1.33 | 34.53 ▼2.06 |
Add New Post /wp-admin/post-new.php | 1,526 ▼2 | 23.40 ▲0.32 | 612.59 ▼77.23 | 49.67 ▼3.36 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.30 ▲0.14 | 106.35 ▲0.11 | 46.56 ▲1.74 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 93% 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
Attributes that need to be fixed:
- Tested up to: Version not formatted correctly
- Requires at least: Version not formatted correctly
webmicro-merchantone-woo-addon/webmicro-merchantone-woo-addon.php Passed 13 tests
The main PHP file in "MerchantOne Payment Gateway WooCommerce Addon" ver. 1.0.0 adds more information about the plugin and also serves as the entry point for this plugin
111 characters long description:
This plugin adds a payment option in WooCommerce for customers to pay with their Credit Cards Via Merchant One.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Success! There were no dangerous files found in this plugin613 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 88 | 45 | 613 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.11 |
Average class complexity | 16.50 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 28.00 |
Average method complexity | 2.29 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.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 | 24 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 24 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 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
9 PNG files occupy 0.07MB with 0.04MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/visaelectron.png | 8.44KB | 3.69KB | ▼ 56.33% |
images/visa.png | 6.19KB | 3.09KB | ▼ 50.13% |
images/merchantone.png | 6.63KB | 2.96KB | ▼ 55.30% |
images/dinersclub.png | 6.35KB | 3.25KB | ▼ 48.74% |
images/maestro.png | 9.75KB | 3.88KB | ▼ 60.26% |