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
Install script ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼4.03ms] Passed 4 tests
This is a short check of server-side resources used by Order Tracking for WooCommerce
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 39.30 ▼0.46 |
Dashboard /wp-admin | 3.31 ▲0.01 | 44.31 ▼3.88 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 43.01 ▼6.79 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 80.95 ▼5.00 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 35.01 ▲3.27 |
Server storage [IO: ▲0.27MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 30 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Order Tracking for WooCommerce
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,831 ▲96 | 13.68 ▼0.70 | 1.96 ▲0.24 | 39.57 ▼0.42 |
Dashboard /wp-admin | 2,206 ▲18 | 5.83 ▲0.73 | 99.52 ▼15.96 | 41.81 ▼1.43 |
Posts /wp-admin/edit.php | 2,095 ▲3 | 2.00 ▼0.05 | 36.71 ▼6.73 | 32.41 ▼5.25 |
Add New Post /wp-admin/post-new.php | 1,519 ▲5 | 17.62 ▲0.02 | 668.82 ▼12.43 | 60.03 ▲7.89 |
Media Library /wp-admin/upload.php | 1,397 ▲12 | 4.35 ▲0.08 | 99.78 ▼0.02 | 43.07 ▼0.76 |
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
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
Smoke tests 75% from 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 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
The following issues need your attention
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Class 'SN_OT_INIT' not found in wp-content/plugins/order-tracking-for-woocommerce/templates/navigation.php:1
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 96% 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
4 plugin tags: shipping, tracking, order, woocommerce
order-tracking-for-woocommerce/init.php 92% from 13 tests
The primary PHP file in "Order Tracking for WooCommerce" version 1.1 is used by WordPress to initiate all plugin functionality
The following require your attention:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("order-tracking-for-woocommerce.php" instead of "init.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
Good job! No executable or dangerous file extensions detected2,115 lines of code in 21 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 5 | 134 | 249 | 950 |
PHP | 14 | 172 | 317 | 827 |
CSS | 2 | 12 | 16 | 338 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 6.50 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 13.00 |
Average method complexity | 1.85 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 39 | |
▷ Static methods | 4 | 10.26% |
▷ Public methods | 38 | 97.44% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 2.56% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 17 | |
▷ Global constants | 17 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
6 PNG files occupy 0.05MB with 0.03MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/carrier-logos/correos.png | 13.61KB | 3.83KB | ▼ 71.87% |
assets/images/carrier-logos/canpar.png | 10.65KB | 4.10KB | ▼ 61.55% |
assets/images/icon.png | 1.31KB | 0.56KB | ▼ 57.07% |
assets/images/carrier-logos/nexive.png | 6.44KB | 2.17KB | ▼ 66.34% |
assets/images/carrier-logos/fedex.png | 7.63KB | 2.80KB | ▼ 63.29% |