Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲2.65MB] [CPU: ▲22.95ms] Passed 4 tests
A check of server-side resources used by Order Notification on WooCommerce / SMS Notifications / Login & Register with Phone
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 5.92 ▲2.46 | 61.19 ▲19.59 |
Dashboard /wp-admin | 6.02 ▲2.71 | 71.34 ▲22.85 |
Posts /wp-admin/edit.php | 6.06 ▲2.71 | 77.24 ▲28.38 |
Add New Post /wp-admin/post-new.php | 8.60 ▲2.72 | 125.06 ▲23.65 |
Media Library /wp-admin/upload.php | 5.96 ▲2.73 | 62.15 ▲25.72 |
Licensing Plans /wp-admin/admin.php?page=mowcpricing | 6.02 | 66.77 |
AddOns /wp-admin/admin.php?page=mowcaddon | 5.96 | 58.84 |
Account Setup /wp-admin/admin.php?page=mowcsettings | 5.95 | 58.47 |
Gateway Settings /wp-admin/admin.php?page=mowcgatewaysettings | 5.93 | 58.83 |
WhatsApp /wp-admin/admin.php?page=mowcwhatsapp | 5.93 | 56.61 |
Forms /wp-admin/admin.php?page=mowcotpformsettings | 6.02 | 60.11 |
Notifications /wp-admin/admin.php?page=mowcnotifications | 5.97 | 61.15 |
Settings /wp-admin/admin.php?page=mowcotpsettings | 5.95 | 59.34 |
Contact Us /wp-admin/admin.php?page=mowccontactus | 5.93 | 62.18 |
Server storage [IO: ▲2.80MB] [DB: ▲0.01MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 256 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Order Notification on WooCommerce / SMS Notifications / Login & Register with Phone
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,072 ▲310 | 13.46 ▼1.27 | 7.44 ▲5.47 | 16.71 ▼25.54 |
Dashboard /wp-admin | 2,401 ▲223 | 5.11 ▼0.57 | 104.58 ▼6.59 | 98.54 ▲54.75 |
Posts /wp-admin/edit.php | 2,306 ▲203 | 2.48 ▲0.47 | 44.04 ▲1.32 | 42.97 ▲3.77 |
Add New Post /wp-admin/post-new.php | 1,713 ▲187 | 23.59 ▲0.45 | 613.12 ▼57.61 | 33.67 ▼32.02 |
Media Library /wp-admin/upload.php | 1,597 ▲197 | 4.53 ▲0.34 | 107.34 ▼1.95 | 76.85 ▲29.58 |
Licensing Plans /wp-admin/admin.php?page=mowcpricing | 2,444 | 1.90 | 31.25 | 112.58 |
AddOns /wp-admin/admin.php?page=mowcaddon | 1,807 | 1.93 | 32.48 | 51.04 |
Account Setup /wp-admin/admin.php?page=mowcsettings | 1,544 | 1.90 | 39.14 | 54.41 |
Gateway Settings /wp-admin/admin.php?page=mowcgatewaysettings | 1,488 | 1.91 | 32.92 | 66.99 |
WhatsApp /wp-admin/admin.php?page=mowcwhatsapp | 1,539 | 1.87 | 33.62 | 47.47 |
Forms /wp-admin/admin.php?page=mowcotpformsettings | 2,287 | 2.00 | 38.86 | 49.90 |
Notifications /wp-admin/admin.php?page=mowcnotifications | 3,109 | 1.93 | 37.33 | 46.29 |
Settings /wp-admin/admin.php?page=mowcotpsettings | 2,373 | 1.85 | 35.53 | 83.08 |
Contact Us /wp-admin/admin.php?page=mowccontactus | 1,442 | 1.88 | 30.61 | 45.43 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
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
Even though everything seems fine, this is not an exhaustive test
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
The following issues need your attention
- 7× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Notice
Trying to get property 'available_tags' of non-object in wp-content/plugins/miniorange-sms-order-notification-otp-verification/notifications/wcsmsnotification/views/smsnotifications/wc-customer-sms-template.php on line 11
- > PHP Fatal error
Uncaught Error: Class 'WCSMSOTP\otifications\\WcSMSNotification\\Helper\\MoWcAddOnUtility' not found in wp-content/plugins/miniorange-sms-order-notification-otp-verification/notifications/wcsmsnotification/views/wc-sms-notification.php:13
- > PHP Notice
Trying to get property 'premium_tags' of non-object in wp-content/plugins/miniorange-sms-order-notification-otp-verification/notifications/wcsmsnotification/views/smsnotifications/wc-customer-sms-template.php on line 12
- > PHP Notice
Undefined variable: sms_settings in wp-content/plugins/miniorange-sms-order-notification-otp-verification/notifications/wcsmsnotification/views/smsnotifications/wc-customer-sms-template.php on line 11
- > PHP Notice
Undefined variable: sms_settings in wp-content/plugins/miniorange-sms-order-notification-otp-verification/notifications/wcsmsnotification/views/smsnotifications/wc-customer-sms-template.php on line 12
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/miniorange-sms-order-notification-otp-verification/notifications/wcsmsnotification/views/smsnotifications/wc-customer-sms-template.php:42
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/miniorange-sms-order-notification-otp-verification/notifications/wcsmsnotification/views/custom-order-msg.php:12
- > PHP Notice
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Please fix the following browser errors
- > GET request to /wp-admin/admin.php?page=mowcpricing
- > Javascript (severe) in unknown
/wp-admin/admin.php?page=mowcpricing 639:23 Uncaught TypeError: Cannot read properties of null (reading 'style')
Optimizations
Plugin configuration 80% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Attributes that require attention:
- Tags: Please reduce the number of tags, currently 14 tag instead of maximum 10
miniorange-sms-order-notification-otp-verification/miniorange_validation_settings.php 62% from 13 tests
The main PHP script in "Order Notification on WooCommerce / SMS Notifications / Login & Register with Phone" version 4.2.1 is automatically included on every request by WordPress
Please take the time to fix the following:
- 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
- Main file name: It is recommended to name the main PHP file as the plugin slug ("miniorange-sms-order-notification-otp-verification.php" instead of "miniorange_validation_settings.php")
- Description: Please keep the plugin description shorter than 140 characters (currently 147 characters long)
- Plugin Name: A shorter plugin name is better (currently 83 characters long instead of max. 70)
- Requires at least: The required version number did not match the one declared in readme.txt ("3.5" instead of "2.0.0")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin26,375 lines of code in 212 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 157 | 2,333 | 5,788 | 14,414 |
PO File | 4 | 3,120 | 4,806 | 7,817 |
CSS | 7 | 277 | 153 | 2,633 |
JavaScript | 12 | 43 | 63 | 1,197 |
SVG | 26 | 2 | 0 | 295 |
JSON | 1 | 0 | 0 | 14 |
HTML | 5 | 0 | 0 | 5 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 10.84 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 74.00 |
Average method complexity | 2.31 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 29.00 |
Code structure | ||
---|---|---|
Namespaces | 11 | |
Interfaces | 6 | |
Traits | 1 | |
Classes | 69 | |
▷ Abstract classes | 5 | 7.25% |
▷ Concrete classes | 64 | 92.75% |
▷ Final classes | 16 | 25.00% |
Methods | 638 | |
▷ Static methods | 101 | 15.83% |
▷ Public methods | 479 | 75.08% |
▷ Protected methods | 39 | 6.11% |
▷ Private methods | 120 | 18.81% |
Functions | 33 | |
▷ Named functions | 28 | 84.85% |
▷ Anonymous functions | 5 | 15.15% |
Constants | 246 | |
▷ Global constants | 47 | 19.11% |
▷ Class constants | 199 | 80.89% |
▷ Public constants | 199 | 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
16 PNG files occupy 0.38MB with 0.20MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/images/flags@2x.png | 170.28KB | 68.04KB | ▼ 60.04% |
includes/images/mo_firebase.png | 3.22KB | 1.94KB | ▼ 39.72% |
includes/images/mo_support_icon.png | 2.74KB | 1.64KB | ▼ 40.33% |
includes/images/flags.png | 69.20KB | 23.42KB | ▼ 66.16% |
includes/images/mo_aws_sns.png | 6.45KB | 2.96KB | ▼ 54.17% |