Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲2.27MB] [CPU: ▲6.49ms] Passed 4 tests
This is a short check of server-side resources used by Order Tracking - WordPress Status Tracking Plugin
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 5.69 ▲2.23 | 57.74 ▲14.87 |
Dashboard /wp-admin | 5.61 ▲2.31 | 58.67 ▼0.19 |
Posts /wp-admin/edit.php | 5.65 ▲2.29 | 67.34 ▲22.52 |
Add New Post /wp-admin/post-new.php | 8.26 ▲2.38 | 88.29 ▼11.26 |
Media Library /wp-admin/upload.php | 5.49 ▲2.26 | 56.15 ▲22.55 |
Customers /wp-admin/admin.php?page=ewd-otp-customers | 5.54 | 49.59 |
Add New /wp-admin/admin.php?page=ewd-otp-add-edit-customer | 5.48 | 46.65 |
Add New /wp-admin/admin.php?page=ewd-otp-add-edit-order | 5.53 | 46.82 |
About Us /wp-admin/admin.php?page=ewd-otp-about-us | 5.42 | 46.54 |
Orders /wp-admin/admin.php?page=ewd-otp-orders | 5.69 | 46.75 |
Sales Reps /wp-admin/admin.php?page=ewd-otp-sales-reps | 5.54 | 56.49 |
Settings /wp-admin/admin.php?page=ewd-otp-settings | 5.51 | 51.82 |
Import /wp-admin/admin.php?page=ewd-otp-import | 5.41 | 61.37 |
Export /wp-admin/admin.php?page=ewd-otp-export | 5.50 | 49.20 |
Add New /wp-admin/admin.php?page=ewd-otp-add-edit-sales-rep | 5.47 | 50.14 |
Server storage [IO: ▲10.07MB] [DB: ▲0.01MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 900 new files
Database: 5 new tables, 9 new options
New tables |
---|
wp_EWD_OTP_Customers |
wp_EWD_OTP_Fields_Meta |
wp_EWD_OTP_Orders |
wp_EWD_OTP_Order_Statuses |
wp_EWD_OTP_Sales_Reps |
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
can_compress_scripts |
ewd-otp-permission-level |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
ewd-otp-settings |
ewd-otp-installation-time |
Browser metrics Passed 4 tests
An overview of browser requirements for Order Tracking - WordPress Status Tracking Plugin
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,853 ▲66 | 14.27 ▲0.04 | 1.73 ▼0.20 | 42.59 ▼0.62 |
Dashboard /wp-admin | 2,258 ▲84 | 5.65 ▲0.12 | 88.45 ▼2.90 | 42.08 ▲0.52 |
Posts /wp-admin/edit.php | 2,160 ▲60 | 1.98 ▲0.04 | 39.19 ▼2.85 | 34.35 ▼0.32 |
Add New Post /wp-admin/post-new.php | 1,711 ▲185 | 23.48 ▲0.40 | 743.08 ▲100.28 | 37.97 ▼10.48 |
Media Library /wp-admin/upload.php | 1,457 ▲57 | 4.20 ▼0.05 | 97.66 ▼10.15 | 41.54 ▼4.65 |
Customers /wp-admin/admin.php?page=ewd-otp-customers | 916 | 2.23 | 31.99 | 45.27 |
Add New /wp-admin/admin.php?page=ewd-otp-add-edit-customer | 1,108 | 2.23 | 28.82 | 41.64 |
Add New /wp-admin/admin.php?page=ewd-otp-add-edit-order | 1,301 | 2.51 | 28.10 | 39.69 |
About Us /wp-admin/admin.php?page=ewd-otp-about-us | 1,336 | 2.23 | 29.25 | 32.43 |
Orders /wp-admin/admin.php?page=ewd-otp-orders | 1,409 | 2.04 | 34.56 | 39.49 |
Sales Reps /wp-admin/admin.php?page=ewd-otp-sales-reps | 898 | 2.21 | 31.07 | 34.94 |
Settings /wp-admin/admin.php?page=ewd-otp-settings | 2,001 | 9.90 | 292.30 | 43.31 |
Import /wp-admin/admin.php?page=ewd-otp-import | 910 | 2.22 | 31.02 | 36.10 |
Export /wp-admin/admin.php?page=ewd-otp-export | 1,094 | 3.39 | 48.52 | 32.78 |
Add New /wp-admin/admin.php?page=ewd-otp-add-edit-sales-rep | 1,103 | 2.24 | 28.91 | 37.91 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- Zombie tables detected upon uninstall: 5 tables
- wp_EWD_OTP_Orders
- wp_EWD_OTP_Customers
- wp_EWD_OTP_Fields_Meta
- wp_EWD_OTP_Order_Statuses
- wp_EWD_OTP_Sales_Reps
- This plugin does not fully uninstall, leaving 9 options in the database
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- ewd-otp-installation-time
- ewd-otp-settings
- can_compress_scripts
- theysaidso_admin_options
- ewd-otp-permission-level
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
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 items
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/order-tracking/ewd-otp-templates/customer-order-recaptcha.php
- 346× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'PhpOffice\\PhpSpreadsheet\\Writer\\Xlsx\\WriterPart' not found in wp-content/plugins/order-tracking/lib/PHPSpreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Xlsx/DocProps.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/order-tracking/ewd-otp-templates/form-submit.php:5
- > PHP Fatal error
Trait 'PhpOffice\\PhpSpreadsheet\\Calculation\\ArrayEnabled' not found in wp-content/plugins/order-tracking/lib/PHPSpreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig/Roman.php on line 9
- > PHP Fatal error
Uncaught Error: Class 'PhpOffice\\PhpSpreadsheet\\Chart\\Properties' not found in wp-content/plugins/order-tracking/lib/PHPSpreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Chart/Axis.php:11
- > PHP Fatal error
Trait 'PhpOffice\\PhpSpreadsheet\\Calculation\\ArrayEnabled' not found in wp-content/plugins/order-tracking/lib/PHPSpreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig/Trig/Sine.php on line 9
- > PHP Fatal error
Uncaught Error: Class 'PhpOffice\\PhpSpreadsheet\\Exception' not found in wp-content/plugins/order-tracking/lib/PHPSpreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Chart/Exception.php:7
- > PHP Fatal error
Trait 'PhpOffice\\PhpSpreadsheet\\Calculation\\ArrayEnabled' not found in wp-content/plugins/order-tracking/lib/PHPSpreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/DateTimeExcel/NetworkDays.php on line 9
- > PHP Fatal error
Uncaught Error: Class 'PhpOffice\\PhpSpreadsheet\\Style\umberFormat\\Wizard\umberBase' not found in wp-content/plugins/order-tracking/lib/PHPSpreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Style/NumberFormat/Wizard/Scientific.php:7
- > PHP Fatal error
Trait 'PhpOffice\\PhpSpreadsheet\\Calculation\\ArrayEnabled' not found in wp-content/plugins/order-tracking/lib/PHPSpreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/DateTimeExcel/Month.php on line 8
- > PHP Fatal error
Trait 'PhpOffice\\PhpSpreadsheet\\Calculation\\ArrayEnabled' not found in wp-content/plugins/order-tracking/lib/PHPSpreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical/Distributions/F.php on line 9
- > 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 an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Please fix the following attributes:
- Tags: You are using too many tags: 19 tag instead of maximum 10
order-tracking/order-tracking.php 85% from 13 tests
"Order Tracking - WordPress Status Tracking Plugin" version 3.3.8's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please make the necessary changes and fix the following:
- Requires at least: Required version must be the same as the one declared in readme.txt ("5.0" instead of "7.1")
- Description: Keep the plugin description shorter than 140 characters (currently 165 characters long)
Code Analysis 95% from 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 plugin105,400 lines of code in 778 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 653 | 22,054 | 42,997 | 90,744 |
PO File | 15 | 2,177 | 3,828 | 5,253 |
CSS | 20 | 292 | 191 | 3,906 |
JavaScript | 70 | 804 | 383 | 3,267 |
Markdown | 10 | 411 | 0 | 1,855 |
JSON | 3 | 0 | 0 | 245 |
YAML | 5 | 19 | 12 | 84 |
Bourne Again Shell | 1 | 6 | 3 | 24 |
XML | 1 | 0 | 0 | 22 |
PHP code 0% from 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
These items need your attention
- Cyclomatic complexity of classes should be reduced to less than 1000 (currently 1,020)
- Cyclomatic complexity of methods has to be reduced to less than 100 (currently 333)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 24.76 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 1,020.00 |
Average method complexity | 3.59 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 333.00 |
Code structure | ||
---|---|---|
Namespaces | 73 | |
Interfaces | 14 | |
Traits | 1 | |
Classes | 572 | |
▷ Abstract classes | 30 | 5.24% |
▷ Concrete classes | 542 | 94.76% |
▷ Final classes | 2 | 0.37% |
Methods | 5,448 | |
▷ Static methods | 1,620 | 29.74% |
▷ Public methods | 4,071 | 74.72% |
▷ Protected methods | 222 | 4.07% |
▷ Private methods | 1,155 | 21.20% |
Functions | 88 | |
▷ Named functions | 30 | 34.09% |
▷ Anonymous functions | 58 | 65.91% |
Constants | 1,411 | |
▷ Global constants | 8 | 0.57% |
▷ Class constants | 1,403 | 99.43% |
▷ Public constants | 1,236 | 88.10% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
62 PNG files occupy 3.42MB with 2.22MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/ewd-uasp-dashboard-banner.png | 150.62KB | 77.17KB | ▼ 48.76% |
assets/img/options-asset-exclamation.png | 2.44KB | 1.39KB | ▼ 43.07% |
assets/img/ewd-support-icon-documentation.png | 2.13KB | 0.73KB | ▼ 65.63% |
assets/img/streamlined.png | 345.79KB | 4.38KB | ▼ 98.73% |
assets/img/ewd-uwpm-icon.png | 183.39KB | 59.73KB | ▼ 67.43% |