Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼141.55ms] Passed 4 tests
Analyzing server-side resources used by Text Local SMS
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.84 ▲0.01 | 30.38 ▼3.47 |
Dashboard /wp-admin | 3.07 ▲0.01 | 47.02 ▲3.80 |
Posts /wp-admin/edit.php | 3.12 ▲0.01 | 45.22 ▼1.08 |
Add New Post /wp-admin/post-new.php | 5.42 ▼0.01 | 89.44 ▼562.03 |
Media Library /wp-admin/upload.php | 3.01 ▲0.01 | 33.43 ▲0.37 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 12 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
A check of browser resources used by Text Local SMS
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,819 ▲223 | 15.95 ▲0.32 | 10.42 ▲0.42 | 47.08 ▼3.19 |
Dashboard /wp-admin | 3,100 ▲169 | 6.14 ▼0.05 | 151.85 ▼2.39 | 128.48 ▲11.70 |
Posts /wp-admin/edit.php | 2,743 ▲4 | 2.71 ▼0.00 | 80.75 ▲12.27 | 89.68 ▲5.17 |
Add New Post /wp-admin/post-new.php | 1,893 ▲389 | 15.87 ▼2.68 | 437.08 ▲64.76 | 111.02 ▲3.24 |
Media Library /wp-admin/upload.php | 1,811 ▲4 | 5.03 ▲0.01 | 152.42 ▼7.28 | 114.43 ▼2.86 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Uninstaller ran successfully
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
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
Almost there! Just fix the following items
- 8× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/tl-sms/settings.php
- > /wp-content/plugins/tl-sms/images/index.php
- > /wp-content/plugins/tl-sms/js/index.php
- > /wp-content/plugins/tl-sms/uninstall.php
- > /wp-content/plugins/tl-sms/css/index.php
- > /wp-content/plugins/tl-sms/dashboard-widget.php
- > /wp-content/plugins/tl-sms/index.php
- > /wp-content/plugins/tl-sms/tl-sms.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 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: sms, ajax, form, mobile, message...
tl-sms/tl-sms.php Passed 13 tests
The main PHP file in "Text Local SMS" ver. 1.0.0 adds more information about the plugin and also serves as the entry point for this plugin
83 characters long description:
Best SMS plugin for WordPress, send SMS in WordPress easily, all countries support.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin224 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 57 | 25 | 151 |
CSS | 1 | 13 | 0 | 50 |
JavaScript | 1 | 12 | 1 | 23 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 7 | |
▷ Named functions | 7 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG files were detected