Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.19MB] [CPU: ▼6.10ms] Passed 4 tests
This is a short check of server-side resources used by BLAZE Retail WooCommerce
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.67 ▲0.21 | 39.46 ▲1.38 |
Dashboard /wp-admin | 3.51 ▲0.16 | 48.09 ▼14.18 |
Posts /wp-admin/edit.php | 3.62 ▲0.27 | 49.90 ▼0.89 |
Add New Post /wp-admin/post-new.php | 6.09 ▲0.20 | 93.08 ▼10.71 |
Media Library /wp-admin/upload.php | 3.43 ▲0.20 | 34.76 ▲1.91 |
Server storage [IO: ▲1.84MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 33 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by BLAZE Retail WooCommerce
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲47 | 14.35 ▼0.01 | 1.64 ▼0.44 | 38.36 ▼1.00 |
Dashboard /wp-admin | 2,202 ▲25 | 5.54 ▼0.02 | 82.45 ▼4.64 | 37.52 ▼7.76 |
Posts /wp-admin/edit.php | 2,083 ▼17 | 2.02 ▲0.08 | 36.49 ▼0.12 | 33.68 ▲0.78 |
Add New Post /wp-admin/post-new.php | 1,531 ▼2 | 23.10 ▼0.07 | 599.62 ▼55.83 | 66.61 ▲8.24 |
Media Library /wp-admin/upload.php | 1,401 ▼2 | 4.18 ▼0.03 | 99.02 ▲4.93 | 42.31 ▲0.09 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
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
- 4× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function load_plugin_textdomain() in wp-content/plugins/blaze-retail-woocommerce/blaze-woo.php:14
- > PHP Fatal error
Uncaught Error: Class 'WC_Shipping_Method' not found in wp-content/plugins/blaze-retail-woocommerce/includes/class-delivery-shipping.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/blaze-retail-woocommerce/includes/class-Blaze-shipping.php:7
- > PHP Fatal error
Uncaught Error: Class 'WC_Shipping_Method' not found in wp-content/plugins/blaze-retail-woocommerce/includes/class-pickup-shipping.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
3 plugin tags: ecommerce, blaze, woocommerce
blaze-retail-woocommerce/blaze-woo.php 77% from 13 tests
This is the main PHP file of "BLAZE Retail WooCommerce" version 2.5.2, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
The following require your attention:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
- Domain Path: The domain path folder was not found ("/languages/")
- Main file name: It is recommended to name the main PHP file as the plugin slug ("blaze-retail-woocommerce.php" instead of "blaze-woo.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Good job! No executable or dangerous file extensions detected10,379 lines of code in 30 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 15 | 999 | 540 | 6,725 |
JavaScript | 12 | 287 | 343 | 2,405 |
CSS | 2 | 44 | 49 | 1,248 |
Markdown | 1 | 1 | 0 | 1 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 50.57 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 222.00 |
Average method complexity | 3.84 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 44.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 14 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 14 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 222 | |
▷ Static methods | 14 | 6.31% |
▷ Public methods | 162 | 72.97% |
▷ Protected methods | 14 | 6.31% |
▷ Private methods | 46 | 20.72% |
Functions | 9 | |
▷ Named functions | 4 | 44.44% |
▷ Anonymous functions | 5 | 55.56% |
Constants | 11 | |
▷ Global constants | 1 | 9.09% |
▷ Class constants | 10 | 90.91% |
▷ Public constants | 10 | 100.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 |
css/images/ui-icons_0073ea_256x240.png | 6.84KB | 4.18KB | ▼ 38.88% |