Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.09MB] [CPU: ▲3.69ms] Passed 4 tests
Analyzing server-side resources used by SEND SMS in Pakistan
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 50.07 ▲4.11 |
Dashboard /wp-admin | 3.39 ▲0.08 | 49.83 ▼3.72 |
Posts /wp-admin/edit.php | 3.50 ▲0.15 | 53.40 ▲2.57 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.10 | 113.49 ▲17.27 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 46.80 ▲11.81 |
Send SMS /wp-admin/options-general.php?page=send_sms | 3.29 | 34.52 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 19 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by SEND SMS in Pakistan
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,835 ▲35 | 13.40 ▼1.00 | 2.10 ▲0.37 | 43.66 ▼1.92 |
Dashboard /wp-admin | 2,213 ▲4 | 5.88 ▲1.04 | 100.27 ▼11.36 | 39.51 ▼2.94 |
Posts /wp-admin/edit.php | 2,099 ▲7 | 2.08 ▲0.03 | 35.96 ▲1.48 | 29.37 ▼5.81 |
Add New Post /wp-admin/post-new.php | 1,527 ▼6 | 23.29 ▲0.04 | 638.13 ▲8.34 | 59.69 ▲2.93 |
Media Library /wp-admin/upload.php | 1,401 ▲13 | 4.29 ▲0.02 | 98.03 ▼5.56 | 41.14 ▼1.31 |
Send SMS /wp-admin/options-general.php?page=send_sms | 955 | 1.91 | 24.63 | 26.69 |
Uninstaller [IO: ✅] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Please fix the following server-side errors
- 5 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=send_sms
- > Notice in wp-content/plugins/send-sms-in-pakistan/includes/admin-ui.php+95
Trying to access array offset on value of type bool
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
The following issues need your attention
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/send-sms-in-pakistan/includes/sms_client_widget.php
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need your attention:
- Tags: Too many tags (11 tag instead of maximum 10); only the first 5 tags are used in your directory listing
send-sms-in-pakistan/send_sms.php 85% from 13 tests
The main PHP file in "SEND SMS in Pakistan" ver. 3.0.4 adds more information about the plugin and also serves as the entry point for this plugin
Please make the necessary changes and fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("send-sms-in-pakistan.php" instead of "send_sms.php")
- Text Domain: The text domain name should consist of only dashes and lowercase characters
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected791 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 94 | 180 | 608 |
JavaScript | 2 | 18 | 22 | 116 |
CSS | 1 | 0 | 0 | 36 |
Markdown | 1 | 13 | 0 | 31 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 1.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 1.00 |
Average method complexity | 1.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 1.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 7 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 5 | 71.43% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 28.57% |
Functions | 14 | |
▷ Named functions | 14 | 100.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
PNG files should be compressed to save space and minimize bandwidth usage
No PNG images were found in this plugin