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.15MB] [CPU: ▼0.79ms] Passed 4 tests
This is a short check of server-side resources used by TrackFree – All-In-One WooCommerce Order Tracking
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.61 ▲0.15 | 64.38 ▲21.59 |
Dashboard /wp-admin | 3.46 ▲0.15 | 52.21 ▼0.40 |
Posts /wp-admin/edit.php | 3.57 ▲0.21 | 49.39 ▼0.65 |
Add New Post /wp-admin/post-new.php | 6.04 ▲0.15 | 89.95 ▼9.86 |
Media Library /wp-admin/upload.php | 3.38 ▲0.15 | 40.84 ▲7.76 |
Server storage [IO: ▲3.54MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 80 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for TrackFree – All-In-One WooCommerce Order Tracking
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲3 | 14.73 ▲0.17 | 2.27 ▲0.21 | 61.41 ▲15.91 |
Dashboard /wp-admin | 2,195 ▲15 | 5.69 ▲0.01 | 88.60 ▼1.14 | 37.98 ▼7.24 |
Posts /wp-admin/edit.php | 2,097 ▼0 | 2.13 ▲0.13 | 34.08 ▼3.54 | 36.78 ▼1.02 |
Add New Post /wp-admin/post-new.php | 1,545 ▼0 | 23.14 ▼0.03 | 651.87 ▼30.63 | 52.22 ▼5.99 |
Media Library /wp-admin/upload.php | 1,403 ▲9 | 4.26 ▲0.06 | 100.23 ▼20.06 | 43.44 ▼4.11 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP 50% from 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
Please take a closer look at the following
- 6× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/trackfree-woocommerce-tracking/includes/trackfree-shipment-overview.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/trackfree-woocommerce-tracking/getting-started.php:176
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/trackfree-woocommerce-tracking/includes/tf-order-details-page.php:183
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/trackfree-woocommerce-tracking/includes/trackfree-wc-order-summary.php:308
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/trackfree-woocommerce-tracking/includes/tf-settings-template.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/trackfree-woocommerce-tracking/templates/user-tracking.php:21
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that need to be fixed:
- Tags: Please delete some tags, you are using 23 tag instead of maximum 10
trackfree-woocommerce-tracking/trackfree.php 92% from 13 tests
The main PHP script in "TrackFree – All-In-One WooCommerce Order Tracking" version 2.0.9 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("trackfree-woocommerce-tracking.php" instead of "trackfree.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Success! There were no dangerous files found in this plugin31,844 lines of code in 53 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 12 | 5,208 | 6,960 | 16,883 |
PHP | 15 | 397 | 20 | 5,287 |
JSON | 1 | 0 | 0 | 4,718 |
CSS | 4 | 386 | 32 | 2,483 |
PO File | 4 | 1,180 | 0 | 2,416 |
SVG | 17 | 0 | 0 | 57 |
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.45 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 78 | |
▷ Named functions | 78 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
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
PNG files should be compressed to save space and minimize bandwidth usage
18 PNG files occupy 0.11MB with 0.04MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/icons/sad_smily.png | 7.56KB | 2.82KB | ▼ 62.72% |
assets/icons/icon-failed-attempt.png | 3.98KB | 1.87KB | ▼ 53.04% |
assets/plugins/leaflet/images/marker-icon-2x.png | 2.41KB | 2.52KB | 0.00% |
assets/icons/icon-in-transit.png | 3.95KB | 1.87KB | ▼ 52.66% |
assets/plugins/leaflet/images/marker-icon.png | 1.43KB | 1.55KB | 0.00% |