Benchmarks
Plugin footprint 23% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
You still need to fix the following installer errors
- The plugin cannot be installed
- > Warning in wp-admin/includes/plugin.php+294
opendir(wp-content/plugins/woocommerce): failed to open dir: No such file or directory
Server metrics [RAM: ▲0.34MB] [CPU: ▼74.37ms] Passed 4 tests
An overview of server-side resources used by Blaze Online eParcel for WooCommerce
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.33 ▲0.87 | 23.12 ▼63.90 |
Dashboard /wp-admin | 4.35 ▲1.05 | 28.95 ▼52.53 |
Posts /wp-admin/edit.php | 4.35 ▲1.00 | 28.72 ▼51.06 |
Add New Post /wp-admin/post-new.php | 4.35 ▼1.54 | 27.41 ▼129.97 |
Media Library /wp-admin/upload.php | 4.35 ▲1.12 | 37.15 ▼25.99 |
Server storage [IO: ▲1.06MB] [DB: ▲0.01MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 91 new files
Database: 9 new tables, 36 new options
New tables |
---|
wp_linksynceparcel_nonlinksync |
wp_linksynceparcel_article_preset |
wp_linksynceparcel_international_fields |
wp_linksynceparcel_article |
wp_linksynceparcel_order_statuses |
wp_linksynceparcel_manifest |
wp_linksynceparcel_consignment |
wp_linksynceparcel_consignment_temp_cost |
wp_linksynceparcel_address_valid |
New WordPress options |
---|
db_upgraded |
linksynceparcel_email_body |
widget_recent-comments |
linksynceparcel_product_unit |
linksynceparcel_display_order_status |
linksynceparcel_print_return_labels |
linksynceparcel_label_format |
widget_theysaidso_widget |
linksynceparcel_mark_despatch |
linksynceparcel_apply_to_all |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for Blaze Online eParcel for WooCommerce
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,801 ▲66 | 14.32 ▲0.04 | 3.23 ▼0.12 | 76.27 ▼13.43 |
Dashboard /wp-admin | 2,210 ▲25 | 4.78 ▼0.14 | 186.86 ▼32.64 | 88.52 ▲5.56 |
Posts /wp-admin/edit.php | 2,094 ▲5 | 2.05 ▼0.00 | 68.82 ▼6.34 | 74.00 ▲1.10 |
Add New Post /wp-admin/post-new.php | 1,361 ▼0 | 17.85 ▲0.25 | 959.76 ▼31.84 | 82.61 ▲4.35 |
Media Library /wp-admin/upload.php | 1,390 ▲2 | 4.17 ▼0.06 | 189.18 ▲5.43 | 95.13 ▼6.65 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 25% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- This plugin did not uninstall without warnings or errors
- > Warning in wp-admin/includes/plugin.php+294
opendir(wp-content/plugins/woocommerce): failed to open dir: No such file or directory
- This plugin does not fully uninstall, leaving 9 tables in the database
- wp_linksynceparcel_nonlinksync
- wp_linksynceparcel_address_valid
- wp_linksynceparcel_order_statuses
- wp_linksynceparcel_article_preset
- wp_linksynceparcel_article
- wp_linksynceparcel_international_fields
- wp_linksynceparcel_consignment_temp_cost
- wp_linksynceparcel_manifest
- wp_linksynceparcel_consignment
- This plugin does not fully uninstall, leaving 36 options in the database
- linksynceparcel_order_value_insurance
- linksynceparcel_active
- linksynceparcel_int_insurance
- widget_theysaidso_widget
- linksynceparcel_print_return_labels
- can_compress_scripts
- linksynceparcel_mark_despatch
- linksynceparcel_international_checker
- linksynceparcel_insurance
- linksynceparcel_notify_customers
- ...
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)
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Attributes that need to be fixed:
- Screenshots: Add an image for screenshot #1 (You'll see Blaze Online settings in the admin menu.)
blaze-online-eparcel-for-woocommerce/blazeonlineeparcel.php 92% from 13 tests
The main PHP script in "Blaze Online eParcel for WooCommerce" version 1.3.3 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("blaze-online-eparcel-for-woocommerce.php" instead of "blazeonlineeparcel.php")
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
No dangerous file extensions were detected20,874 lines of code in 77 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 61 | 1,977 | 463 | 18,378 |
JavaScript | 3 | 143 | 29 | 1,257 |
CSS | 4 | 92 | 110 | 1,131 |
XML | 9 | 0 | 0 | 108 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 49.12 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 463.00 |
Average method complexity | 5.17 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 48.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 41 | |
▷ Abstract classes | 1 | 2.44% |
▷ Concrete classes | 40 | 97.56% |
▷ Final classes | 0 | 0.00% |
Methods | 473 | |
▷ Static methods | 267 | 56.45% |
▷ Public methods | 473 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 20 | |
▷ Named functions | 20 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 26 | |
▷ Global constants | 26 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
9 compressed PNG files occupy 0.02MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/css/images/ui-bg_gloss-wave_25_333333_500x100.png | 1.83KB | 1.14KB | ▼ 37.89% |
assets/css/images/ui-bg_glass_40_0078a3_1x400.png | 0.13KB | 0.16KB | 0.00% |
assets/css/images/ui-bg_inset-soft_25_000000_1x100.png | 0.10KB | 0.18KB | 0.00% |
assets/css/images/ui-icons_ffffff_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
assets/images/logo-blaze.png | 1.56KB | 1.08KB | ▼ 30.85% |