Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.20MB] [CPU: ▼4.92ms] Passed 4 tests
This is a short check of server-side resources used by Order SMS Notification - WooCommerce
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.61 ▲0.15 | 35.65 ▼6.45 |
Dashboard /wp-admin | 3.58 ▲0.27 | 47.54 ▼0.67 |
Posts /wp-admin/edit.php | 3.63 ▲0.27 | 51.74 ▲6.24 |
Add New Post /wp-admin/post-new.php | 6.09 ▲0.20 | 81.29 ▼18.79 |
Media Library /wp-admin/upload.php | 3.41 ▲0.19 | 37.85 ▲6.94 |
Server storage [IO: ▲0.26MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 175 new files
Database: no new tables, 9 new options
New WordPress options |
---|
satosms_message |
widget_recent-comments |
satosms_gateway |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
satosms_general |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Order SMS Notification - WooCommerce
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,977 ▲231 | 14.97 ▲0.57 | 1.68 ▼0.10 | 40.75 ▲1.63 |
Dashboard /wp-admin | 2,386 ▲195 | 6.67 ▲0.81 | 133.21 ▲26.75 | 42.19 ▲2.50 |
Posts /wp-admin/edit.php | 2,289 ▲200 | 3.53 ▲1.49 | 70.71 ▲34.57 | 34.15 ▲1.18 |
Add New Post /wp-admin/post-new.php | 1,704 ▲160 | 22.48 ▲4.26 | 609.54 ▼29.71 | 28.81 ▼28.33 |
Media Library /wp-admin/upload.php | 1,431 ▲43 | 4.35 ▲0.15 | 82.47 ▼14.94 | 41.37 ▲0.19 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- This plugin does not fully uninstall, leaving 9 options in the database
- satosms_gateway
- satosms_general
- can_compress_scripts
- satosms_message
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Almost there! Just fix the following items
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/order-sms-notification-woocommerce/lib/infobip/vendor/infobip/oneapi/oneapi-sample-app/push-log-viewer.php
- 165× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
require_once(): Failed opening required 'wp-content/plugins/order-sms-notification-woocommerce/lib/infobip/vendor/infobip/oneapi/oneapi-sample-app/../vendor/autoload.php' (include_path='.:/usr/share/php') in wp-content/plugins/order-sms-notification-woocommerce/lib/infobip/vendor/infobip/oneapi/oneapi-sample-app/app.php on line 5
- > PHP Fatal error
Uncaught Error: Class 'infobip\\models\\AbstractObject' not found in wp-content/plugins/order-sms-notification-woocommerce/lib/infobip/vendor/infobip/oneapi/oneapi/models/two_factor_authentication/TfaIsVerifiedRequest.php:8
- > PHP Fatal error
require_once(): Failed opening required 'wp-content/plugins/order-sms-notification-woocommerce/lib/infobip/vendor/infobip/oneapi/examples/../vendor/autoload.php' (include_path='.:/usr/share/php') in wp-content/plugins/order-sms-notification-woocommerce/lib/infobip/vendor/infobip/oneapi/examples/send_message_with_nli_and_wait_for_delivery_push.php on line 13
- > PHP Fatal error
Uncaught Error: Class 'infobip\\models\\AbstractObject' not found in wp-content/plugins/order-sms-notification-woocommerce/lib/infobip/vendor/infobip/oneapi/oneapi/models/Encoding.php:8
- > PHP Fatal error
Uncaught Error: Class 'infobip\\models\\AbstractObject' not found in wp-content/plugins/order-sms-notification-woocommerce/lib/infobip/vendor/infobip/oneapi/oneapi/models/Network.php:8
- > PHP Fatal error
Uncaught Error: Class 'infobip\\models\\AbstractObject' not found in wp-content/plugins/order-sms-notification-woocommerce/lib/infobip/vendor/infobip/oneapi/oneapi/models/two_factor_authentication/TfaVerifyPinResponse.php:8
- > PHP Fatal error
Uncaught Error: Class 'infobip\\models\\AbstractObject' not found in wp-content/plugins/order-sms-notification-woocommerce/lib/infobip/vendor/infobip/oneapi/oneapi/models/Status.php:7
- > PHP Warning
require_once(wp-content/plugins/order-sms-notification-woocommerce/lib/infobip/vendor/infobip/oneapi/oneapi-sample-app/../vendor/autoload.php): failed to open stream: No such file or directory in wp-content/plugins/order-sms-notification-woocommerce/lib/infobip/vendor/infobip/oneapi/oneapi-sample-app/app.php on line 5
- > PHP Warning
require_once(../vendor/autoload.php): failed to open stream: No such file or directory in wp-content/plugins/order-sms-notification-woocommerce/lib/infobip/vendor/infobip/oneapi/tests/hlr_conversion.php on line 5
- > PHP Warning
require_once(wp-content/plugins/order-sms-notification-woocommerce/lib/infobip/vendor/infobip/oneapi/oneapi-sample-app/../vendor/autoload.php): failed to open stream: No such file or directory in wp-content/plugins/order-sms-notification-woocommerce/lib/infobip/vendor/infobip/oneapi/oneapi-sample-app/app.php on line 5
- > 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)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 79% from 29 tests
readme.txt 81% 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
These attributes need to be fixed:
- Screenshots: Please a description for screenshot #4 in order-sms-notification-woocommerce/assets to your readme.txt
- Tags: Too many tags (16 tag instead of maximum 10); only the first 5 tags are used in your directory listing
- Screenshots: Please add an image for screenshot #3 (SMS Settings panel)
order-sms-notification-woocommerce/sat-wc-order-sms.php 77% from 13 tests
This is the main PHP file of "Order SMS Notification - WooCommerce" version 2.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please make the necessary changes and fix the following:
- Git Repository: There should be no Git repositories present in your plugin
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 145 characters long)
- Main file name: It is recommended to name the main PHP file as the plugin slug ("order-sms-notification-woocommerce.php" instead of "sat-wc-order-sms.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin5,090 lines of code in 154 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 136 | 1,490 | 1,019 | 4,122 |
Markdown | 8 | 171 | 0 | 377 |
HTML | 1 | 38 | 0 | 216 |
PO File | 1 | 87 | 87 | 214 |
JSON | 5 | 0 | 0 | 84 |
CSS | 1 | 12 | 3 | 55 |
JavaScript | 1 | 4 | 3 | 16 |
Bourne Shell | 1 | 0 | 0 | 6 |
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.21 |
Average class complexity | 4.02 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 46.00 |
Average method complexity | 2.15 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 6 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 90 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 90 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 236 | |
▷ Static methods | 34 | 14.41% |
▷ Public methods | 221 | 93.64% |
▷ Protected methods | 10 | 4.24% |
▷ Private methods | 5 | 2.12% |
Functions | 15 | |
▷ Named functions | 15 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 27 | |
▷ Global constants | 21 | 77.78% |
▷ Class constants | 6 | 22.22% |
▷ Public constants | 6 | 100.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
No PNG files were detected