Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.14MB] [CPU: ▼3.98ms] Passed 4 tests
Server-side resources used by Bulk SMS - SMSNET24
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 42.97 ▲0.89 |
Dashboard /wp-admin | 3.45 ▲0.15 | 49.42 ▼5.20 |
Posts /wp-admin/edit.php | 3.56 ▲0.21 | 54.26 ▲2.68 |
Add New Post /wp-admin/post-new.php | 6.08 ▲0.19 | 86.62 ▼14.30 |
Media Library /wp-admin/upload.php | 3.37 ▲0.14 | 40.07 ▲4.56 |
Contact /wp-admin/admin.php?page=smsnet-contact | 3.34 | 33.31 |
Guideline /wp-admin/admin.php?page=smsnet-guideline | 3.34 | 34.14 |
Setting /wp-admin/admin.php?page=smsnet-setting | 3.31 | 33.40 |
Server storage [IO: ▲0.40MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 37 new files
Database: 2 new tables, 8 new options
New tables |
---|
wp_smsnet_otps |
wp_smsnet_settings |
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
smsnet_24_version |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
smsnet_24_installed |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Bulk SMS - SMSNET24
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,820 ▲59 | 14.34 ▲0.04 | 1.62 ▼0.40 | 43.73 ▼5.78 |
Dashboard /wp-admin | 2,226 ▲46 | 5.55 ▼0.10 | 85.41 ▼8.55 | 41.48 ▼3.25 |
Posts /wp-admin/edit.php | 2,131 ▲28 | 2.01 ▲0.01 | 36.30 ▼0.33 | 34.26 ▼1.83 |
Add New Post /wp-admin/post-new.php | 1,564 ▲38 | 18.38 ▼5.35 | 657.38 ▼36.99 | 48.34 ▼8.47 |
Media Library /wp-admin/upload.php | 1,434 ▲34 | 4.15 ▼0.06 | 101.51 ▼4.12 | 42.51 ▼6.32 |
Contact /wp-admin/admin.php?page=smsnet-contact | 877 | 1.99 | 21.64 | 27.42 |
Guideline /wp-admin/admin.php?page=smsnet-guideline | 943 | 2.13 | 25.58 | 43.40 |
Setting /wp-admin/admin.php?page=smsnet-setting | 1,046 | 2.00 | 23.43 | 31.47 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- The plugin did not uninstall successfully, leaving 2 tables in the database
- wp_smsnet_otps
- wp_smsnet_settings
- Zombie WordPress options were found after uninstall: 8 options
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- smsnet_24_installed
- smsnet_24_version
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
These server-side errors were triggered
- > GET request to /wp-admin/admin.php?page=smsnet-setting
- > User notice in wp-includes/functions.php+5905
Function wpdb::prepare was called incorrectly. The query argument of wpdb::prepare() must have a placeholder. Please see Debugging in WordPress for more information. (This message was added in version 3.9.0.)
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following
- 6× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Trait 'DigitalLab\\SMSNet24\\Traits\\Form_Error' not found in wp-content/plugins/bulk-sms-smsnet24/includes/Admin/Settings.php on line 10
- > PHP Fatal error
Uncaught Error: Class 'WP_REST_Controller' not found in wp-content/plugins/bulk-sms-smsnet24/includes/API/OTP.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/bulk-sms-smsnet24/includes/Admin/views/guideline/guideline.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/bulk-sms-smsnet24/includes/Admin/views/settings/settings.php:4
- > PHP Fatal error
Uncaught Error: Class 'WP_REST_Controller' not found in wp-content/plugins/bulk-sms-smsnet24/includes/API/SMS.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/bulk-sms-smsnet24/includes/Admin/views/contact/contact.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that require attention:
- Tags: Please delete some tags, you are using 12 tag instead of maximum 10
bulk-sms-smsnet24/bulk-sms-smsnet24.php 92% from 13 tests
The principal PHP file in "Bulk SMS - SMSNET24" v. 1.0 is loaded by WordPress automatically on each request
The following require your attention:
- Description: Please don't use more than 140 characters for the plugin description (currently 456 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Good job! No executable or dangerous file extensions detected1,669 lines of code in 28 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 26 | 377 | 728 | 1,644 |
JSON | 2 | 0 | 0 | 25 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 10.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 47.00 |
Average method complexity | 2.78 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 21.00 |
Code structure | ||
---|---|---|
Namespaces | 6 | |
Interfaces | 0 | |
Traits | 1 | |
Classes | 15 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 15 | 100.00% |
▷ Final classes | 1 | 6.67% |
Methods | 82 | |
▷ Static methods | 19 | 23.17% |
▷ Public methods | 75 | 91.46% |
▷ Protected methods | 4 | 4.88% |
▷ Private methods | 3 | 3.66% |
Functions | 10 | |
▷ Named functions | 9 | 90.00% |
▷ Anonymous functions | 1 | 10.00% |
Constants | 6 | |
▷ Global constants | 5 | 83.33% |
▷ Class constants | 1 | 16.67% |
▷ 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
6 PNG files occupy 0.31MB with 0.17MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/icon-128x128.png | 13.44KB | 5.85KB | ▼ 56.48% |
assets/icon-256x256.png | 37.65KB | 16.17KB | ▼ 57.06% |
assets/screenshot-1.png | 43.37KB | 22.46KB | ▼ 48.21% |
assets/banner-1544x500.png | 105.36KB | 35.23KB | ▼ 66.56% |
assets/screenshot-2.png | 68.20KB | 35.61KB | ▼ 47.78% |