Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼8.36ms] Passed 4 tests
An overview of server-side resources used by Text Message SMS Extension for WooCommerce
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 33.35 ▼10.54 |
Dashboard /wp-admin | 3.31 ▲0.00 | 46.22 ▼0.30 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 47.45 ▼1.31 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 85.14 ▼17.97 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 32.37 ▼3.62 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Text Message SMS Extension for WooCommerce
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.36 ▼0.94 | 4.39 ▲2.66 | 41.15 ▲0.83 |
Dashboard /wp-admin | 2,206 ▲18 | 4.83 ▼0.04 | 107.00 ▼1.45 | 38.98 ▼1.61 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 2.04 ▲0.03 | 38.44 ▲0.47 | 35.16 ▲1.86 |
Add New Post /wp-admin/post-new.php | 1,528 ▼38 | 18.65 ▼0.14 | 629.08 ▲18.14 | 63.78 ▲3.35 |
Media Library /wp-admin/upload.php | 1,388 ▼3 | 4.21 ▲0.02 | 97.24 ▼6.47 | 42.55 ▼2.16 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
4 plugin tags: sms, sms notifications, woocommerce, sms extension
text-message-sms-extension-for-woocommerce/sms-for-woocommerce.php 77% from 13 tests
The primary PHP file in "Text Message SMS Extension for WooCommerce" version 1.1.0 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("text-message-sms-extension-for-woocommerce.php" instead of "sms-for-woocommerce.php")
- Domain Path: The domain path points to a folder that does not exist ("/languages")
- Requires at least: Required version must match the one declared in readme.txt ("4.0" instead of "3.9.1")
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 detected1,372 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 418 | 94 | 1,033 |
JavaScript | 2 | 168 | 8 | 276 |
CSS | 3 | 55 | 0 | 63 |
PHP code Passed 2 tests
Analyzing 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.38 |
Average class complexity | 22.00 |
▷ Minimum class complexity | 22.00 |
▷ Maximum class complexity | 22.00 |
Average method complexity | 5.20 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 5 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 5 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 32 | |
▷ Named functions | 31 | 96.88% |
▷ Anonymous functions | 1 | 3.12% |
Constants | 1 | |
▷ Global constants | 1 | 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
No PNG images were found in this plugin