Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼5.00ms] Passed 4 tests
Server-side resources used by Multiple-Payment-Solutions-for-Woocommerce
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 39.37 ▼4.68 |
Dashboard /wp-admin | 3.32 ▼0.02 | 47.56 ▼14.34 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 53.47 ▲3.46 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 91.99 ▲6.45 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 35.17 ▼4.45 |
Server storage [IO: ▲0.53MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 32 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Multiple-Payment-Solutions-for-Woocommerce
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,796 ▲46 | 14.73 ▲0.14 | 1.79 ▼0.03 | 39.23 ▼8.45 |
Dashboard /wp-admin | 2,205 ▲28 | 5.62 ▼0.04 | 93.75 ▼3.43 | 43.74 ▲4.57 |
Posts /wp-admin/edit.php | 2,110 ▲10 | 2.03 ▲0.03 | 39.49 ▼3.50 | 39.23 ▼0.60 |
Add New Post /wp-admin/post-new.php | 1,538 ▲10 | 23.17 ▲0.05 | 643.14 ▲12.63 | 48.41 ▼0.92 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.19 ▲0.01 | 99.76 ▼7.27 | 43.91 ▼1.27 |
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
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
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
Looking good! No server-side errors or output on direct access of PHP files
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 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need your attention:
- Tags: Please reduce the number of tags, currently 16 tag instead of maximum 10
multiple-payment-solutions-for-woocommerce/multiple-payment-solutions-for-woocommerce.php 92% from 13 tests
The principal PHP file in "Multiple-Payment-Solutions-for-Woocommerce" v. 1.03 is loaded by WordPress automatically on each request
Please make the necessary changes and fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 214 characters long)
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
Success! There were no dangerous files found in this plugin2,428 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 203 | 217 | 1,750 |
PO File | 1 | 207 | 249 | 535 |
SVG | 8 | 0 | 7 | 143 |
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.22 |
Average class complexity | 22.33 |
▷ Minimum class complexity | 9.00 |
▷ Maximum class complexity | 42.00 |
Average method complexity | 3.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 64 | |
▷ Static methods | 18 | 28.12% |
▷ Public methods | 56 | 87.50% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 8 | 12.50% |
Functions | 10 | |
▷ Named functions | 10 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 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
8 PNG files occupy 0.09MB with 0.04MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/cf-mailer-logo.png | 7.66KB | 3.13KB | ▼ 59.19% |
assets/images/stripe.png | 5.31KB | 2.78KB | ▼ 47.66% |
assets/images/paytm_icon.png | 1.45KB | 0.52KB | ▼ 64.01% |
assets/images/logo.png | 56.54KB | 24.41KB | ▼ 56.83% |
assets/images/icon.png | 3.31KB | 2.51KB | ▼ 24.01% |