Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.30MB] [CPU: ▼2.55ms] Passed 4 tests
Analyzing server-side resources used by SSL Wireless SMS Notification
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.75 ▲0.29 | 52.38 ▲10.75 |
Dashboard /wp-admin | 3.63 ▲0.28 | 52.15 ▼11.83 |
Posts /wp-admin/edit.php | 3.74 ▲0.38 | 53.58 ▲3.91 |
Add New Post /wp-admin/post-new.php | 6.21 ▲0.32 | 91.61 ▼5.25 |
Media Library /wp-admin/upload.php | 3.55 ▲0.32 | 40.55 ▲2.96 |
SSL Wireless /wp-admin/admin.php?page=sslcare-notification | 3.49 | 33.58 |
SMS Report /wp-admin/admin.php?page=sslcare-report | 3.53 | 35.27 |
Server storage [IO: ▲0.83MB] [DB: ▲0.00MB] 67% from 3 tests
Analyzing filesystem and database footprints of this plugin
Just a few items left to fix
- Illegal file modification found: 1 file (4.00KB) outside of "wp-content/plugins/ssl-wireless-sms-notification/" and "wp-content/uploads/"
- (new file) wp-content/mgd_mirror/mgd_maximinodotpy-gitdown-test-repository
Filesystem: 25 new files
Database: 1 new table, 8 new options
New tables |
---|
wp_sslcare_woo_alert |
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
sslcare_plugin_version |
sslcare_notification |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for SSL Wireless SMS Notification
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,867 ▲81 | 13.33 ▼0.63 | 2.20 ▼0.17 | 41.76 ▼1.01 |
Dashboard /wp-admin | 2,242 ▲39 | 5.81 ▲0.84 | 104.45 ▼1.05 | 38.63 ▼1.87 |
Posts /wp-admin/edit.php | 2,127 ▲27 | 2.01 ▼0.02 | 41.17 ▲4.45 | 35.69 ▼5.19 |
Add New Post /wp-admin/post-new.php | 1,567 ▲26 | 23.31 ▲5.16 | 669.39 ▲33.02 | 63.34 ▲4.81 |
Media Library /wp-admin/upload.php | 1,427 ▲30 | 4.20 ▼0.03 | 109.82 ▲9.40 | 46.62 ▲2.68 |
SSL Wireless /wp-admin/admin.php?page=sslcare-notification | 1,153 | 2.03 | 22.36 | 33.56 |
SMS Report /wp-admin/admin.php?page=sslcare-report | 1,019 | 3.37 | 66.88 | 30.58 |
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 7 options in the database
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- sslcare_notification
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/admin.php?page=sslcare-notification
- > Notice in wp-content/plugins/ssl-wireless-sms-notification/lib/sslcare-admin-setting.php+366
Undefined variable: html
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
- 4× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Warning
Use of undefined constant SSLW_SMS_PATH - assumed 'SSLW_SMS_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/ssl-wireless-sms-notification/lib/sslcare-woo-alert.php on line 8
- > PHP Fatal error
require_once(): Failed opening required 'SSLW_SMS_PATHlib/sslcare-sms-api.php' (include_path='.:/usr/share/php') in wp-content/plugins/ssl-wireless-sms-notification/lib/sslcare-woo-alert.php on line 8
- > PHP Warning
require_once(SSLW_SMS_PATHlib/sslcare-sms-api.php): failed to open stream: No such file or directory in wp-content/plugins/ssl-wireless-sms-notification/lib/sslcare-woo-alert.php on line 8
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_register_style() in wp-content/plugins/ssl-wireless-sms-notification/lib/sslcare-woo-report.php:3
- > PHP Warning
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
These are user-side errors you should fix
- > GET request to /wp-admin/admin.php?page=sslcare-report
- > Network (severe)
wp-content/plugins/ssl-wireless-sms-notification/lib/asset/images/sort_both.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=sslcare-report
- > Network (severe)
wp-content/plugins/ssl-wireless-sms-notification/lib/asset/images/sort_desc.png - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
7 plugin tags: official, isms, bangladesh, woocommerce, notification...
ssl-wireless-sms-notification/sslWireless.php 92% from 13 tests
This is the main PHP file of "SSL Wireless SMS Notification" version 2.0.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
It is important to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("ssl-wireless-sms-notification.php" instead of "sslWireless.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin1,723 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 340 | 52 | 1,416 |
JavaScript | 8 | 13 | 65 | 302 |
CSS | 3 | 0 | 0 | 5 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 53.00 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 115.00 |
Average method complexity | 5.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 57.00 |
Code structure | ||
---|---|---|
Namespaces | 4 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 52 | |
▷ Static methods | 4 | 7.69% |
▷ Public methods | 52 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.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
3 PNG files occupy 0.14MB with 0.06MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/screenshot-3.png | 29.79KB | 15.55KB | ▼ 47.79% |
images/screenshot-1.png | 46.16KB | 25.13KB | ▼ 45.54% |
images/screenshot-2.png | 62.66KB | 30.95KB | ▼ 50.62% |