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
Install script ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼2.04ms] Passed 4 tests
This is a short check of server-side resources used by Walley Checkout for WooCommerce
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 34.83 ▼5.28 |
Dashboard /wp-admin | 3.31 ▲0.01 | 45.66 ▼4.33 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 49.29 ▼0.04 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 93.48 ▲1.51 |
Media Library /wp-admin/upload.php | 3.23 ▲0.01 | 35.06 ▲2.86 |
Server storage [IO: ▲0.48MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 88 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
An overview of browser requirements for Walley Checkout for WooCommerce
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,790 ▲3 | 14.04 ▼0.30 | 1.74 ▼0.23 | 38.15 ▼8.55 |
Dashboard /wp-admin | 2,198 ▲24 | 5.61 ▼0.08 | 94.20 ▼4.48 | 42.64 ▼2.20 |
Posts /wp-admin/edit.php | 2,103 ▲3 | 2.02 ▲0.01 | 40.35 ▼3.09 | 37.19 ▲0.22 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.46 ▲0.23 | 609.63 ▼74.22 | 49.18 ▼3.35 |
Media Library /wp-admin/upload.php | 1,400 ▼3 | 4.21 ▲0.01 | 97.74 ▼1.81 | 40.80 ▼2.42 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
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
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following items
- 3× PHP files trigger errors when accessed directly with GET requests:
- > PHP Warning
Invalid argument supplied for foreach() in wp-content/plugins/collector-checkout-for-woocommerce/templates/walley-checkout-meta-box.php on line 8
- > PHP Notice
Undefined variable: manage_orders in wp-content/plugins/collector-checkout-for-woocommerce/templates/walley-checkout-meta-box.php on line 14
- > PHP Notice
Undefined variable: keys_for_meta_box in wp-content/plugins/collector-checkout-for-woocommerce/templates/walley-checkout-meta-box.php on line 8
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
6 plugin tags: checkout, e-commerce, collector, ecommerce, woocommerce...
collector-checkout-for-woocommerce/collector-checkout-for-woocommerce.php 85% from 13 tests
Analyzing the main PHP file in "Walley Checkout for WooCommerce" version 4.0.9
You should first fix the following items:
- Requires at least: Required version does not match the one declared in readme.txt ("5.0" instead of "6.0.0")
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 143 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Success! There were no dangerous files found in this plugin7,911 lines of code in 82 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 72 | 1,262 | 3,397 | 6,418 |
PO File | 3 | 325 | 352 | 849 |
JavaScript | 3 | 45 | 86 | 455 |
CSS | 3 | 16 | 6 | 178 |
SVG | 1 | 0 | 0 | 11 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 12.18 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 90.00 |
Average method complexity | 3.34 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 24.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 66 | |
▷ Abstract classes | 4 | 6.06% |
▷ Concrete classes | 62 | 93.94% |
▷ Final classes | 0 | 0.00% |
Methods | 319 | |
▷ Static methods | 73 | 22.88% |
▷ Public methods | 247 | 77.43% |
▷ Protected methods | 56 | 17.55% |
▷ Private methods | 16 | 5.02% |
Functions | 32 | |
▷ Named functions | 32 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 8 | |
▷ Global constants | 8 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
1 PNG file occupies 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/collector_bank_logo_blackgrey.png | 6.98KB | 3.37KB | ▼ 51.69% |