Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼5.64ms] Passed 4 tests
Analyzing server-side resources used by Qvickly Checkout for WooCommerce
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 37.06 ▼10.16 |
Dashboard /wp-admin | 3.33 ▲0.02 | 45.35 ▼10.83 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 45.68 ▲0.03 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 91.96 ▼1.60 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 36.78 ▲3.74 |
Server storage [IO: ▲0.24MB] [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: 39 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Qvickly Checkout for WooCommerce
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲43 | 13.21 ▼1.54 | 1.89 ▼0.46 | 40.61 ▼1.27 |
Dashboard /wp-admin | 2,206 ▲18 | 5.89 ▼0.01 | 107.35 ▲4.00 | 42.45 ▼2.31 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 2.05 ▲0.04 | 39.24 ▲1.11 | 34.72 ▲0.84 |
Add New Post /wp-admin/post-new.php | 1,542 ▲7 | 18.32 ▼4.91 | 604.94 ▲8.51 | 49.02 ▼6.10 |
Media Library /wp-admin/upload.php | 1,391 ▼0 | 4.20 ▼0.05 | 98.43 ▼0.18 | 42.79 ▼0.77 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 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
Please fix the following
- 3× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/billmate-checkout-for-woocommerce/includes/bco-form-fields.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function bco_show_iframe() in wp-content/plugins/billmate-checkout-for-woocommerce/templates/billmate-pay.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function wc_print_notices() in wp-content/plugins/billmate-checkout-for-woocommerce/templates/billmate-checkout.php:10
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 93% 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
These attributes need your attention:
- Tags: Please delete some tags, you are using 14 tag instead of maximum 10
billmate-checkout-for-woocommerce/billmate-checkout-for-woocommerce.php 92% from 13 tests
"Qvickly Checkout for WooCommerce" version 1.6.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
You should first fix the following items:
- Requires at least: The required version number must match the one declared in readme.txt ("5.0" instead of "5.0.0")
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
Everything looks great! No dangerous files found in this plugin3,493 lines of code in 31 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 27 | 449 | 1,368 | 2,282 |
JavaScript | 2 | 122 | 228 | 980 |
PO File | 1 | 71 | 84 | 216 |
CSS | 1 | 1 | 0 | 15 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 11.13 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 51.00 |
Average method complexity | 2.48 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 23 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 23 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 157 | |
▷ Static methods | 88 | 56.05% |
▷ Public methods | 156 | 99.36% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 0.64% |
Functions | 15 | |
▷ Named functions | 15 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
2 PNG files occupy 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/qvickly-logo.png | 7.97KB | 3.76KB | ▼ 52.76% |
assets/images/bm_delbetalning_l.png | 5.29KB | 2.33KB | ▼ 55.93% |