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.16MB] [CPU: ▼7.19ms] Passed 4 tests
A check of server-side resources used by WC Tracking Status
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.63 ▲0.17 | 40.35 ▼1.27 |
Dashboard /wp-admin | 3.47 ▲0.17 | 46.52 ▼0.63 |
Posts /wp-admin/edit.php | 3.48 ▲0.12 | 40.23 ▼9.11 |
Add New Post /wp-admin/post-new.php | 6.06 ▲0.17 | 80.96 ▼17.74 |
Media Library /wp-admin/upload.php | 3.40 ▲0.17 | 34.69 ▲1.50 |
WC Tracking Settings /wp-admin/admin.php?page=diu_wc_tracking_submenu_settings | 3.35 | 31.05 |
Server storage [IO: ▲0.20MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 9 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
recovery_mode_email_last_sent |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by WC Tracking Status
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.26 ▼0.33 | 1.85 ▲0.10 | 43.72 ▲0.17 |
Dashboard /wp-admin | 2,189 ▲12 | 5.52 ▼0.39 | 82.88 ▼18.34 | 36.90 ▼10.47 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.01 ▲0.03 | 33.41 ▲0.09 | 34.89 ▼1.27 |
Add New Post /wp-admin/post-new.php | 1,526 ▼9 | 22.95 ▲5.02 | 634.50 ▲16.10 | 51.58 ▼10.02 |
Media Library /wp-admin/upload.php | 1,403 ▲3 | 4.24 ▲0.04 | 96.75 ▲0.44 | 43.75 ▲3.77 |
WC Tracking Settings /wp-admin/admin.php?page=diu_wc_tracking_submenu_settings | 717 | 1.12 | 9.14 | 26.69 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- Zombie WordPress options were found after uninstall: 7 options
- theysaidso_admin_options
- db_upgraded
- recovery_mode_email_last_sent
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Smoke test failed, please fix the following
- > GET request to /wp-admin/admin.php?page=diu_wc_tracking_submenu_settings
- > Error in wp-content/plugins/wc-tracking-status/includes/admin/track-config.php+346
Uncaught Error: Call to undefined function wc_get_order_statuses() in wp-content/plugins/wc-tracking-status/includes/admin/track-config.php:346
Stack trace:
#0 wp-includes/class-wp-hook.php(310): diu_wc_tracking_submenu_settings()
#1 wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
#2 wp-includes/plugin.php(517): WP_Hook->do_action()
#3 wp-admin/admin.php(259): do_action()
#4 {main}
thrown
SRP 0% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/wc-tracking-status/wc-tracking-status.php
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/wc-tracking-status/includes/admin/track-config.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wc-tracking-status/includes/front/track-view.php:4
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
5 plugin tags: woocommerce, status tracking, status shipping, status order, multilingual
wc-tracking-status/wc-tracking-status.php 92% from 13 tests
The main PHP file in "WC Tracking Status" ver. 2.0.3 adds more information about the plugin and also serves as the entry point for this plugin
You should first fix the following items:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
No dangerous file extensions were detected1,060 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 86 | 58 | 845 |
PO File | 1 | 46 | 46 | 110 |
CSS | 2 | 0 | 7 | 103 |
Markdown | 1 | 1 | 0 | 2 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
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 | 27 | |
▷ Named functions | 26 | 96.30% |
▷ Anonymous functions | 1 | 3.70% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
PNG images were not found in this plugin