Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.45MB] [CPU: ▼139.92ms] Passed 4 tests
An overview of server-side resources used by SD SMS Master
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.26 ▲0.43 | 36.36 ▲8.54 |
Dashboard /wp-admin | 3.57 ▲0.51 | 53.96 ▲3.97 |
Posts /wp-admin/edit.php | 3.62 ▲0.51 | 47.22 ▲5.25 |
Add New Post /wp-admin/post-new.php | 5.87 ▲0.44 | 96.42 ▼565.19 |
Media Library /wp-admin/upload.php | 3.45 ▲0.44 | 35.13 ▼3.71 |
Statistics /wp-admin/admin.php?page=sd_sms_master_statistics | 3.40 | 31.59 |
SD SMS Master /wp-admin/admin.php?page=sd_sms_master | 3.67 | 29.19 |
Orders /wp-admin/admin.php?page=sd_sms_master_orders | 3.69 | 31.74 |
Users /wp-admin/admin.php?page=sd_sms_master_users | 3.69 | 28.95 |
Slaves /wp-admin/admin.php?page=sd_sms_master_slaves | 3.69 | 30.70 |
Settings /wp-admin/admin.php?page=sd_sms_master_settings | 3.67 | 28.15 |
Phones /wp-admin/admin.php?page=sd_sms_master_phones | 3.69 | 28.95 |
Tools /wp-admin/admin.php?page=sd_sms_master_tools | 3.67 | 30.29 |
Server storage [IO: ▲0.14MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 4 new files
Database: no new tables, 2 new options
New WordPress options |
---|
recovery_mode_email_last_sent |
SD_SMS_Master_server_url |
Browser metrics Passed 4 tests
A check of browser resources used by SD SMS Master
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,767 ▲171 | 15.84 ▲0.24 | 6.33 ▼2.54 | 49.25 ▲2.46 |
Dashboard /wp-admin | 3,031 ▲97 | 5.92 ▼0.22 | 135.15 ▲1.81 | 104.97 ▼4.75 |
Posts /wp-admin/edit.php | 2,803 ▲67 | 2.70 ▲0.01 | 64.50 ▼0.35 | 88.53 ▲1.85 |
Add New Post /wp-admin/post-new.php | 1,723 ▲51 | 18.77 ▼0.13 | 372.48 ▲2.09 | 108.65 ▼1.36 |
Media Library /wp-admin/upload.php | 1,871 ▲64 | 5.02 ▲0.03 | 153.34 ▲13.45 | 127.68 ▲8.10 |
Statistics /wp-admin/admin.php?page=sd_sms_master_statistics | 933 | 1.85 | 33.18 | 44.71 |
SD SMS Master /wp-admin/admin.php?page=sd_sms_master | 1,116 | 2.08 | 51.71 | 59.80 |
Orders /wp-admin/admin.php?page=sd_sms_master_orders | 1,397 | 2.06 | 57.25 | 82.18 |
Users /wp-admin/admin.php?page=sd_sms_master_users | 938 | 1.85 | 35.22 | 57.78 |
Slaves /wp-admin/admin.php?page=sd_sms_master_slaves | 938 | 1.85 | 34.06 | 52.53 |
Settings /wp-admin/admin.php?page=sd_sms_master_settings | 1,317 | 2.21 | 56.08 | 82.96 |
Phones /wp-admin/admin.php?page=sd_sms_master_phones | 938 | 1.85 | 36.65 | 51.47 |
Tools /wp-admin/admin.php?page=sd_sms_master_tools | 1,317 | 2.09 | 56.00 | 81.21 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- This plugin does not fully uninstall, leaving 2 options in the database
- recovery_mode_email_last_sent
- SD_SMS_Master_server_url
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Smoke test failed, please fix the following
- > GET request to /wp-admin/admin.php?page=sd_sms_master_statistics
- > Error in wp-content/plugins/sd-sms-master/SD_SMS_Master.php+1700
Uncaught Error: Class 'SMS_Master_Status_Request' not found in wp-content/plugins/sd-sms-master/SD_SMS_Master.php:1700
Stack trace:
#0 wp-includes/class-wp-hook.php(303): SD_SMS_Master->admin_statistics()
#1 wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters()
#2 wp-includes/plugin.php(470): WP_Hook->do_action()
#3 wp-admin/admin.php(259): do_action()
#4 {main}
thrown- 14 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=sd_sms_master_tools
- > Warning in wp-content/plugins/sd-sms-master/SD_Form.php+948
"continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"?
- > GET request to /wp-admin/admin.php?page=sd_sms_master_users
- > Error in wp-content/plugins/sd-sms-master/SD_SMS_Master.php+1921
Uncaught Error: Class 'SMS_Master_List_Users_Request' not found in wp-content/plugins/sd-sms-master/SD_SMS_Master.php:1921
Stack trace:
#0 wp-content/plugins/sd-sms-master/SD_SMS_Master_Base.php(1675): SD_SMS_Master->admin_user_overview()
#1 wp-content/plugins/sd-sms-master/SD_SMS_Master.php(1886): SD_SMS_Master_Base->tabs()
#2 wp-includes/class-wp-hook.php(303): SD_SMS_Master->admin_users()
#3 wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters()
#4 wp-includes/plugin.php(470): WP_Hook->do_action()
#5 wp-admin/admin.php(259): do_action()
#6 {main}
thrown- > GET request to /wp-admin/admin.php?page=sd_sms_master_slaves
- > Error in wp-content/plugins/sd-sms-master/SD_SMS_Master.php+1639
Uncaught Error: Class 'SMS_Master_Status_Request' not found in wp-content/plugins/sd-sms-master/SD_SMS_Master.php:1639
Stack trace:
#0 wp-content/plugins/sd-sms-master/SD_SMS_Master_Base.php(1675): SD_SMS_Master->admin_slave_overview()
#1 wp-content/plugins/sd-sms-master/SD_SMS_Master.php(1385): SD_SMS_Master_Base->tabs()
#2 wp-includes/class-wp-hook.php(303): SD_SMS_Master->admin_slaves()
#3 wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters()
#4 wp-includes/plugin.php(470): WP_Hook->do_action()
#5 wp-admin/admin.php(259): do_action()
#6 {main}
thrown- > GET request to /wp-admin/admin.php?page=sd_sms_master_phones
- > Error in wp-content/plugins/sd-sms-master/SD_SMS_Master.php+1130
Uncaught Error: Class 'SMS_Master_Status_Request' not found in wp-content/plugins/sd-sms-master/SD_SMS_Master.php:1130
Stack trace:
#0 wp-content/plugins/sd-sms-master/SD_SMS_Master.php(1194): SD_SMS_Master->admin_new_phone()
#1 wp-content/plugins/sd-sms-master/SD_SMS_Master_Base.php(1675): SD_SMS_Master->admin_phone_overview()
#2 wp-content/plugins/sd-sms-master/SD_SMS_Master.php(918): SD_SMS_Master_Base->tabs()
#3 wp-includes/class-wp-hook.php(303): SD_SMS_Master->admin_phones()
#4 wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters()
#5 wp-includes/plugin.php(470): WP_Hook->do_action()
#6 wp-admin/admin.php(259): do_action()
#7 {main}
thrown
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× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/sd-sms-master/SD_SMS_Master.php
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Warning
"continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in wp-content/plugins/sd-sms-master/SD_Form.php on line 910
- > PHP Warning
"continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in wp-content/plugins/sd-sms-master/SD_Form.php on line 948
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
3 plugin tags: sms, sms master, send sms
sd-sms-master/SD_SMS_Master.php 92% from 13 tests
The principal PHP file in "SD SMS Master" v. 1.2 is loaded by WordPress automatically on each request
You should first fix the following items:
- Main file name: Name the main plugin file the same as the plugin slug ("sd-sms-master.php" instead of "SD_SMS_Master.php")
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
Everything looks great! No dangerous files found in this plugin3,774 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 697 | 869 | 3,774 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 113.25 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 158.00 |
Average method complexity | 4.65 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 29.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 123 | |
▷ Static methods | 5 | 4.07% |
▷ Public methods | 120 | 97.56% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 2.44% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
PNG images were not found in this plugin