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.11MB] [CPU: ▲0.13ms] Passed 4 tests
A check of server-side resources used by Bulk SMS Notification
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.61 ▲0.10 | 44.95 ▼1.73 |
Dashboard /wp-admin | 3.45 ▲0.10 | 55.07 ▲2.55 |
Posts /wp-admin/edit.php | 3.56 ▲0.16 | 50.97 ▲3.03 |
Add New Post /wp-admin/post-new.php | 6.05 ▲0.12 | 90.70 ▼3.32 |
Media Library /wp-admin/upload.php | 3.37 ▲0.10 | 40.46 ▲5.28 |
Account /wp-admin/admin.php?page=mobsms_account | 3.39 | 37.25 |
Send Bulk SMS /wp-admin/admin.php?page=mobsms_send_bulk_sms | 3.35 | 35.94 |
Configuration /wp-admin/admin.php?page=mobsms_menu | 3.35 | 32.37 |
Server storage [IO: ▲0.37MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 40 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Bulk SMS Notification
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,846 ▲85 | 14.25 ▼0.31 | 1.94 ▲0.12 | 43.63 ▲2.24 |
Dashboard /wp-admin | 2,212 ▲35 | 5.55 ▼0.12 | 92.48 ▲0.53 | 81.63 ▲40.22 |
Posts /wp-admin/edit.php | 2,132 ▲32 | 1.96 ▼0.04 | 37.93 ▲0.69 | 34.46 ▼3.33 |
Add New Post /wp-admin/post-new.php | 1,706 ▲180 | 22.49 ▼1.16 | 747.63 ▲53.84 | 61.29 ▲2.31 |
Media Library /wp-admin/upload.php | 1,435 ▲38 | 4.18 ▼0.02 | 98.40 ▼11.45 | 75.95 ▲28.29 |
Account /wp-admin/admin.php?page=mobsms_account | 1,010 | 1.99 | 26.77 | 40.06 |
Send Bulk SMS /wp-admin/admin.php?page=mobsms_send_bulk_sms | 988 | 1.90 | 25.00 | 35.38 |
Configuration /wp-admin/admin.php?page=mobsms_menu | 951 | 1.97 | 26.45 | 39.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
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% 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
Please fix the following items
- 20× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function register_deactivation_hook() in wp-content/plugins/bulk-sms-notification/miniorange-bulk-sms-settings.php:20
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/bulk-sms-notification/views/send-bulk-sms.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function current_user_can() in wp-content/plugins/bulk-sms-notification/controllers/main_controller.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_create_nonce() in wp-content/plugins/bulk-sms-notification/views/configuration.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/bulk-sms-notification/handler/feedback_form.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function add_query_arg() in wp-content/plugins/bulk-sms-notification/controllers/navbar.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function current_user_can() in wp-content/plugins/bulk-sms-notification/controllers/account.php:5
- > PHP Fatal error
Uncaught Error: Call to a member function get_names() on null in wp-content/plugins/bulk-sms-notification/controllers/send-bulk-sms.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/bulk-sms-notification/controllers/ajax.php:6
- > PHP Fatal error
Uncaught Error: Class 'MOBSMS_DATABASE' not found in wp-content/plugins/bulk-sms-notification/helper/constants.php:17
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 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
9 plugin tags: notify, bulk notification, bulk alert, send sms, marketing...
bulk-sms-notification/miniorange-bulk-sms-settings.php 92% from 13 tests
Analyzing the main PHP file in "Bulk SMS Notification" version 2.0.0
Please make the necessary changes and fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("bulk-sms-notification.php" instead of "miniorange-bulk-sms-settings.php")
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
There were no executable files found in this plugin3,421 lines of code in 29 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 4 | 353 | 2 | 2,008 |
PHP | 22 | 171 | 14 | 1,230 |
JavaScript | 3 | 5 | 17 | 183 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 8.29 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 22.00 |
Average method complexity | 2.55 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 33 | |
▷ Static methods | 5 | 15.15% |
▷ Public methods | 33 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 10 | |
▷ Named functions | 10 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 16 | |
▷ Global constants | 3 | 18.75% |
▷ Class constants | 13 | 81.25% |
▷ Public constants | 13 | 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
10 PNG files occupy 0.11MB with 0.05MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/images/smile.png | 17.89KB | 8.79KB | ▼ 50.86% |
includes/images/sad.png | 18.16KB | 8.79KB | ▼ 51.62% |
includes/images/miniorange_icon.png | 0.44KB | 0.35KB | ▼ 18.61% |
includes/images/angry.png | 20.40KB | 9.65KB | ▼ 52.68% |
includes/images/normal.png | 15.74KB | 7.91KB | ▼ 49.78% |