Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.10MB] [CPU: ▼2.81ms] Passed 4 tests
Analyzing server-side resources used by BlueOcean order map for WooCommerce
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.13 | 41.07 ▲2.05 |
Dashboard /wp-admin | 3.43 ▲0.13 | 50.63 ▲6.04 |
Posts /wp-admin/edit.php | 3.48 ▲0.12 | 45.86 ▲1.72 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 81.12 ▼13.66 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 33.45 ▼1.36 |
Server storage [IO: ▲5.20MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 202 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
bo_woo_order_map |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for BlueOcean order map for WooCommerce
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,892 ▲131 | 14.57 ▲0.20 | 1.90 ▲0.36 | 44.09 ▲8.50 |
Dashboard /wp-admin | 2,273 ▲92 | 5.62 ▼0.09 | 95.22 ▼4.62 | 82.31 ▲38.51 |
Posts /wp-admin/edit.php | 2,182 ▲82 | 2.10 ▲0.09 | 36.72 ▼0.42 | 31.56 ▼1.98 |
Add New Post /wp-admin/post-new.php | 1,605 ▲79 | 18.14 ▼5.12 | 631.90 ▼49.27 | 145.57 ▲87.86 |
Media Library /wp-admin/upload.php | 1,481 ▲81 | 4.25 ▲0.03 | 97.57 ▼14.01 | 61.96 ▲14.08 |
Other Settings /wp-admin/admin.php?page=bo_woo_order_map#tab=other-settings | 1,234 | 4.17 | 71.88 | 50.80 |
Main settings /wp-admin/admin.php?page=bo_woo_order_map#tab=main-settings | 1,293 | 4.74 | 73.24 | 102.21 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- The uninstall procedure has failed, leaving 7 options in the database
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- bo_woo_order_map
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Everything seems fine, however this is by no means an exhaustive 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 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that require attention:
- Screenshots: No descriptions were found for these screenshots #1, #2, #3, #4 in blueocean-woo-order-map/assets to your readme.txt
blueocean-woo-order-map/index.php 85% from 13 tests
The main PHP script in "BlueOcean order map for WooCommerce" version 1.0.1 is automatically included on every request by WordPress
Please take the time to fix the following:
- Text Domain: The text domain follows the same naming rules as the plugin slug: lowercase characters and dashes
- Main file name: Name the main plugin file the same as the plugin slug ("blueocean-woo-order-map.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected33,806 lines of code in 123 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 8 | 5,200 | 6,949 | 16,059 |
PHP | 73 | 2,181 | 997 | 9,121 |
PO File | 23 | 3,362 | 3,705 | 7,108 |
CSS | 5 | 53 | 24 | 567 |
Sass | 5 | 88 | 2 | 473 |
Markdown | 3 | 87 | 0 | 397 |
SVG | 5 | 0 | 1 | 54 |
JSON | 1 | 0 | 0 | 27 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.61 |
Average class complexity | 19.71 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 137.00 |
Average method complexity | 5.94 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 52.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 55 | |
▷ Abstract classes | 2 | 3.64% |
▷ Concrete classes | 53 | 96.36% |
▷ Final classes | 0 | 0.00% |
Methods | 209 | |
▷ Static methods | 63 | 30.14% |
▷ Public methods | 196 | 93.78% |
▷ Protected methods | 1 | 0.48% |
▷ Private methods | 12 | 5.74% |
Functions | 22 | |
▷ Named functions | 21 | 95.45% |
▷ Anonymous functions | 1 | 4.55% |
Constants | 1 | |
▷ Global constants | 1 | 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
6 compressed PNG files occupy 0.01MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/lib/leaflet/images/marker-shadow.png | 0.60KB | 1.16KB | 0.00% |
assets/lib/leaflet/images/marker-icon.png | 1.43KB | 1.55KB | 0.00% |
assets/lib/leaflet/images/layers-2x.png | 1.23KB | 1.67KB | 0.00% |
assets/lib/leaflet/images/marker-icon-2x.png | 2.41KB | 2.52KB | 0.00% |
assets/lib/leaflet/images/layers.png | 0.68KB | 1.05KB | 0.00% |