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 successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.00MB] [CPU: ▼7.30ms] Passed 4 tests
A check of server-side resources used by Shipment Tracking, Tracking, and Order Tracking for WooCommerce - ParcelPanel (Free plan available)
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 38.99 ▼4.34 |
Dashboard /wp-admin | 3.31 ▼0.03 | 45.21 ▼15.72 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 42.61 ▼2.96 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 90.86 ▼6.19 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 31.56 ▼1.74 |
Server storage [IO: ▲7.67MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 200 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
Shipment Tracking, Tracking, and Order Tracking for WooCommerce - ParcelPanel (Free plan available): an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,790 ▲18 | 14.04 ▼0.32 | 1.81 ▼0.06 | 43.81 ▲1.14 |
Dashboard /wp-admin | 2,189 ▲9 | 5.50 ▼0.11 | 89.86 ▼10.67 | 39.73 ▼10.73 |
Posts /wp-admin/edit.php | 2,097 ▼3 | 1.94 ▼0.03 | 35.04 ▼2.00 | 34.41 ▲0.31 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.08 ▲1.89 | 629.44 ▼63.28 | 52.01 ▼0.54 |
Media Library /wp-admin/upload.php | 1,403 ▲3 | 4.18 ▼0.02 | 96.01 ▼1.18 | 41.67 ▼1.40 |
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
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
Smoke tests 50% 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 0% 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 fix the following items
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/parcelpanel/templates/app.php
- 40× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Trait 'ParcelPanel\\Libs\\Singleton' not found in wp-content/plugins/parcelpanel/includes/Action/AdminHome.php on line 9
- > PHP Notice
Undefined variable: display_option in wp-content/plugins/parcelpanel/templates/tracking/tracking-page.php on line 16
- > PHP Fatal error
Trait 'ParcelPanel\\Libs\\Singleton' not found in wp-content/plugins/parcelpanel/includes/Action/Email.php on line 11
- > PHP Fatal error
Uncaught Error: Class 'WC_Email' not found in wp-content/plugins/parcelpanel/includes/Emails/WC_Email_Shipping_Notice.php:9
- > PHP Fatal error
Trait 'ParcelPanel\\Libs\\Singleton' not found in wp-content/plugins/parcelpanel/includes/Action/UserTrackPage.php on line 15
- > PHP Fatal error
Trait 'ParcelPanel\\Libs\\Singleton' not found in wp-content/plugins/parcelpanel/includes/Action/Courier.php on line 10
- > PHP Fatal error
Trait 'ParcelPanel\\Libs\\Singleton' not found in wp-content/plugins/parcelpanel/includes/Action/Upload.php on line 8
- > PHP Fatal error
Trait 'ParcelPanel\\Libs\\Singleton' not found in wp-content/plugins/parcelpanel/includes/Api/Tracking.php on line 11
- > PHP Fatal error
Trait 'ParcelPanel\\Libs\\Singleton' not found in wp-content/plugins/parcelpanel/includes/Action/AdminSettings.php on line 8
- > PHP Fatal error
Uncaught Error: Class 'WP_REST_Controller' not found in wp-content/plugins/parcelpanel/includes/Api/RestApi.php:12
- > PHP Fatal error
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 is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that need to be fixed:
- Tags: Please delete some tags, you are using 12 tag instead of maximum 10
parcelpanel/parcelpanel.php 85% from 13 tests
The main PHP file in "Shipment Tracking, Tracking, and Order Tracking for WooCommerce - ParcelPanel (Free plan available)" ver. 3.7.2 adds more information about the plugin and also serves as the entry point for this plugin
You should first fix the following items:
- Requires at least: The required version number did not match the one declared in readme.txt ("5.9" instead of "5.8")
- Description: Keep the plugin description shorter than 140 characters (currently 154 characters long)
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
Success! There were no dangerous files found in this plugin25,385 lines of code in 169 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 80 | 4,205 | 3,653 | 18,042 |
JavaScript | 40 | 836 | 909 | 5,616 |
LESS | 20 | 230 | 121 | 1,193 |
CSS | 14 | 43 | 41 | 452 |
SVG | 13 | 12 | 3 | 59 |
HTML | 1 | 1 | 0 | 18 |
JSON | 1 | 0 | 0 | 5 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 42.06 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 322.00 |
Average method complexity | 4.19 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 82.00 |
Code structure | ||
---|---|---|
Namespaces | 11 | |
Interfaces | 0 | |
Traits | 1 | |
Classes | 48 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 48 | 100.00% |
▷ Final classes | 2 | 4.17% |
Methods | 607 | |
▷ Static methods | 172 | 28.34% |
▷ Public methods | 458 | 75.45% |
▷ Protected methods | 25 | 4.12% |
▷ Private methods | 124 | 20.43% |
Functions | 39 | |
▷ Named functions | 7 | 17.95% |
▷ Anonymous functions | 32 | 82.05% |
Constants | 91 | |
▷ Global constants | 45 | 49.45% |
▷ Class constants | 46 | 50.55% |
▷ Public constants | 46 | 100.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
5 PNG files occupy 0.20MB with 0.10MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/imgs/logo.png | 18.46KB | 7.57KB | ▼ 58.99% |
assets/icons/status/blank.png | 0.15KB | 0.11KB | ▼ 28.03% |
assets/imgs/settings/my-orders.png | 24.95KB | 7.65KB | ▼ 69.32% |
assets/imgs/settings/admin-orders.png | 43.15KB | 15.08KB | ▼ 65.05% |
assets/imgs/popup/mask1.png | 121.74KB | 81.52KB | ▼ 33.04% |