Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.03MB] [CPU: ▼5.21ms] Passed 4 tests
A check of server-side resources used by TwiSMS
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 38.81 ▼3.18 |
Dashboard /wp-admin | 3.34 ▲0.03 | 46.76 ▼0.65 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 47.79 ▼5.47 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 90.85 ▼11.52 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 35.04 ▲1.99 |
TwiSMS /wp-admin/admin.php?page=twi-sms | 3.23 | 30.58 |
Settings /wp-admin/admin.php?page=twi-sms-settings | 3.23 | 30.78 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
TwiSMS: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,827 ▲92 | 14.47 ▼0.13 | 1.80 ▼0.43 | 38.99 ▼5.97 |
Dashboard /wp-admin | 2,233 ▲48 | 4.86 ▼1.04 | 109.21 ▲11.10 | 37.86 ▼7.10 |
Posts /wp-admin/edit.php | 2,116 ▲27 | 2.05 ▼0.01 | 39.27 ▼2.24 | 35.36 ▼0.31 |
Add New Post /wp-admin/post-new.php | 1,555 ▲13 | 23.32 ▲5.32 | 664.79 ▲38.89 | 63.99 ▲14.51 |
Media Library /wp-admin/upload.php | 1,415 ▲27 | 4.25 ▲0.04 | 96.13 ▼6.98 | 42.77 ▼0.40 |
TwiSMS /wp-admin/admin.php?page=twi-sms | 813 | 2.06 | 23.09 | 20.71 |
Settings /wp-admin/admin.php?page=twi-sms-settings | 871 | 2.03 | 26.64 | 23.40 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
5 plugin tags: twilio, text, integration, message, sms
twisms/twi-sms.php 92% from 13 tests
The main PHP script in "TwiSMS" version 1.0.1 is automatically included on every request by WordPress
It is important to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("twisms.php" instead of "twi-sms.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected227 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 77 | 26 | 227 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
Average class complexity | 14.00 |
▷ Minimum class complexity | 14.00 |
▷ Maximum class complexity | 14.00 |
Average method complexity | 2.20 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.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 | 9 | |
▷ Static methods | 1 | 11.11% |
▷ Public methods | 1 | 11.11% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 8 | 88.89% |
Functions | 5 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 5 | 100.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
PNG images were not found in this plugin