Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼12.13ms] Passed 4 tests
An overview of server-side resources used by BLAZING Shipment Tracking
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 42.89 ▲4.57 |
Dashboard /wp-admin | 3.36 ▲0.01 | 49.07 ▼14.19 |
Posts /wp-admin/edit.php | 3.47 ▲0.11 | 46.24 ▼9.18 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 83.12 ▼26.92 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 34.78 ▲1.79 |
Server storage [IO: ▲0.19MB] [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: 28 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by BLAZING Shipment Tracking
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.35 ▲0.15 | 1.76 ▲0.24 | 43.19 ▲3.84 |
Dashboard /wp-admin | 2,195 ▲18 | 5.61 ▲0.00 | 88.05 ▼1.32 | 41.98 ▲0.31 |
Posts /wp-admin/edit.php | 2,100 ▼3 | 2.01 ▼0.01 | 34.44 ▼3.49 | 36.01 ▼3.02 |
Add New Post /wp-admin/post-new.php | 1,526 ▼2 | 23.05 ▼0.15 | 644.64 ▼43.24 | 51.51 ▼10.59 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.22 ▲0.01 | 95.65 ▼14.29 | 41.41 ▼1.92 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that need to be fixed:
- Tags: Please reduce the number of tags, currently 19 tag instead of maximum 10
blazing-woocommerce-shipment-tracking/bst-tracking.php 92% from 13 tests
"BLAZING Shipment Tracking" version 2.1.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
You should first fix the following items:
- Main file name: Name the main plugin file the same as the plugin slug ("blazing-woocommerce-shipment-tracking.php" instead of "bst-tracking.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin1,450 lines of code in 20 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 372 | 653 | 1,034 |
PO File | 3 | 69 | 72 | 266 |
JavaScript | 4 | 22 | 7 | 137 |
CSS | 2 | 4 | 1 | 13 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 21.71 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 61.00 |
Average method complexity | 3.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 1 | 14.29% |
Methods | 59 | |
▷ Static methods | 4 | 6.78% |
▷ Public methods | 47 | 79.66% |
▷ Protected methods | 6 | 10.17% |
▷ Private methods | 6 | 10.17% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 1 | 50.00% |
▷ Class constants | 1 | 50.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
2 compressed PNG files occupy 0.00MB
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/plugin/chosen/chosen-sprite.png | 0.53KB | 0.88KB | 0.00% |
assets/plugin/chosen/chosen-sprite@2x.png | 0.72KB | 0.83KB | 0.00% |