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.13MB] [CPU: ▼1.30ms] Passed 4 tests
An overview of server-side resources used by BinduSms
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.13 | 46.10 ▲5.24 |
Dashboard /wp-admin | 3.44 ▲0.13 | 43.37 ▼7.88 |
Posts /wp-admin/edit.php | 3.55 ▲0.19 | 42.57 ▼4.74 |
Add New Post /wp-admin/post-new.php | 6.02 ▲0.13 | 91.09 ▲6.47 |
Media Library /wp-admin/upload.php | 3.36 ▲0.13 | 35.20 ▲2.20 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 25 new files
Database: no new tables, 9 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
bindusms_installed |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
bindusms_version |
bindusms_wc_order_notification_settings |
Browser metrics Passed 4 tests
An overview of browser requirements for BinduSms
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.23 ▼1.41 | 5.54 ▲3.72 | 43.21 ▲0.82 |
Dashboard /wp-admin | 2,206 ▲18 | 5.85 ▲0.99 | 96.31 ▼10.31 | 39.77 ▼3.72 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 1.98 ▼0.02 | 39.33 ▼1.43 | 30.65 ▼6.76 |
Add New Post /wp-admin/post-new.php | 1,533 ▼9 | 22.80 ▲4.53 | 623.99 ▲3.32 | 54.23 ▼0.77 |
Media Library /wp-admin/upload.php | 1,385 ▼3 | 4.26 ▲0.02 | 99.23 ▲0.53 | 43.60 ▲2.41 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- The uninstall procedure has failed, leaving 9 options in the database
- bindusms_installed
- bindusms_wc_order_notification_settings
- widget_recent-posts
- widget_theysaidso_widget
- bindusms_version
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means 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
Almost there! Just fix the following items
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Class 'BinduSms\\BinduSms\\Admin\\WCOrderNotification' not found in wp-content/plugins/bindusms/includes/Admin/views/wc-order-notification.php:2
- > 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 on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
5 plugin tags: update, woocommerce, sms, bangladesh, order notify
bindusms/bindusms.php Passed 13 tests
The main PHP script in "BinduSms" version 1.0.0 is automatically included on every request by WordPress
86 characters long description:
BinduSms lets you notify your customers about their WooCommerce order updates via SMS.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
No dangerous file extensions were detected1,143 lines of code in 20 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 17 | 258 | 492 | 1,106 |
JSON | 2 | 0 | 0 | 27 |
Markdown | 1 | 8 | 0 | 10 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 15.67 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 47.00 |
Average method complexity | 3.28 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 4 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 1 | 11.11% |
Methods | 59 | |
▷ Static methods | 19 | 32.20% |
▷ Public methods | 56 | 94.92% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 5.08% |
Functions | 11 | |
▷ Named functions | 10 | 90.91% |
▷ Anonymous functions | 1 | 9.09% |
Constants | 7 | |
▷ Global constants | 6 | 85.71% |
▷ Class constants | 1 | 14.29% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin