Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The following installer errors require your attention
- This plugin did not install gracefully
- > Deprecated in wp-content/plugins/wordpress-send-sms/Send-SMS.php+36
Non-static method sendsms_doc::get_doc_pages_name_array() should not be called statically
Server metrics [RAM: ▼1.43MB] [CPU: ▼183.50ms] Passed 4 tests
Server-side resources used by Wordpress Send SMS - Bulk SMS
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.20 ▼0.52 | 8.12 ▼13.09 |
Dashboard /wp-admin | 2.22 ▼0.83 | 8.74 ▼39.14 |
Posts /wp-admin/edit.php | 2.22 ▼0.88 | 9.59 ▼35.18 |
Add New Post /wp-admin/post-new.php | 2.22 ▼3.21 | 9.19 ▼635.97 |
Media Library /wp-admin/upload.php | 2.22 ▼0.78 | 9.96 ▼23.70 |
Server storage [IO: ▲0.95MB] [DB: ▲0.01MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 71 new files
Database: 5 new tables, no new options
New tables |
---|
wp_sms__liste_envoi_details |
wp_sms__liste_envoi |
wp_sms__documentation |
wp_sms__historique |
wp_sms__message |
Browser metrics Passed 4 tests
A check of browser resources used by Wordpress Send SMS - Bulk SMS
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,798 ▲202 | 17.24 ▲1.57 | 11.09 ▲1.25 | 47.41 ▼3.03 |
Dashboard /wp-admin | 3,058 ▲121 | 7.32 ▲1.32 | 149.24 ▼2.43 | 120.79 ▲0.33 |
Posts /wp-admin/edit.php | 2,840 ▲101 | 3.22 ▲0.50 | 94.22 ▲28.83 | 92.90 ▼2.49 |
Add New Post /wp-admin/post-new.php | 1,684 ▲1 | 23.32 ▲4.97 | 323.04 ▼125.96 | 104.69 ▼2.40 |
Media Library /wp-admin/upload.php | 1,902 ▲92 | 6.06 ▲1.05 | 143.56 ▼9.34 | 112.36 ▲5.13 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- This plugin did not uninstall without warnings or errors
- > Deprecated in wp-content/plugins/wordpress-send-sms/Send-SMS.php+36
Non-static method sendsms_doc::get_doc_pages_name_array() should not be called statically
- Zombie tables were found after uninstall: 5 tables
- wp_sms__documentation
- wp_sms__historique
- wp_sms__liste_envoi
- wp_sms__message
- wp_sms__liste_envoi_details
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
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
- 3× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_locale() in wp-content/plugins/wordpress-send-sms/includes/includes.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/wordpress-send-sms/Send-SMS.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/wordpress-send-sms/includes/languages/wp-send-sms-orphelan.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that need to be fixed:
- Screenshots: These screenshots require images: #1 (Interface d'envoi des messages), #2 (Interface de gestion des listes d'utilisateurs), #3 (Interface de modification d'une liste d'utilisateur), #4 (Historique complet des envois), #5 (Historique trié par message)
wordpress-send-sms/Send-SMS.php 92% from 13 tests
The main file in "Wordpress Send SMS - Bulk SMS" v. 1.2.5 serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("wordpress-send-sms.php" instead of "Send-SMS.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Everything looks great! No dangerous files found in this plugin9,454 lines of code in 28 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 6 | 765 | 2,013 | 5,236 |
PHP | 17 | 483 | 265 | 2,877 |
CSS | 4 | 103 | 116 | 898 |
PO File | 1 | 250 | 403 | 443 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 39.90 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 97.00 |
Average method complexity | 8.34 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 67.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 10 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 10 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 53 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 53 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 9 | |
▷ Global constants | 6 | 66.67% |
▷ Class constants | 3 | 33.33% |
▷ Public constants | 3 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
38 PNG files occupy 0.22MB with 0.12MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-3.png | 22.07KB | 9.42KB | ▼ 57.30% |
images/icones/suppr.png | 1.55KB | 1.26KB | ▼ 18.26% |
(invalid) css/ui-lightness/images/ui-icons_ffd27a_256x240.png | 4.27KB | 0.00KB | ▼ 100.00% |
(invalid) css/ui-lightness/images/ui-icons_222222_256x240.png | 4.27KB | 0.00KB | ▼ 100.00% |
css/ui-lightness/images/ui-bg_highlight-soft_75_ffe45c_1x100.png | 0.13KB | 0.18KB | 0.00% |