Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▲1.97ms] Passed 4 tests
An overview of server-side resources used by Connect, Communicate, Expand with text messaging through WooCommerce
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.04 | 53.24 ▲9.86 |
Dashboard /wp-admin | 3.35 ▲0.05 | 55.03 ▲2.20 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 48.41 ▼2.70 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 120.93 ▼1.47 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 60.37 ▲25.04 |
Quick send /wp-admin/admin.php?page=dexatel-sms-sendsms | 3.27 | 39.73 |
Events /wp-admin/admin.php?page=dexatel-sms-events | 3.38 | 40.10 |
How to use /wp-admin/admin.php?page=dexatel-sms-howtouse | 3.27 | 26.42 |
Home /wp-admin/admin.php?page=dexatel-sms | 3.29 | 29.17 |
Settings /wp-admin/admin.php?page=dexatel-sms-settings | 3.29 | 33.50 |
Server storage [IO: ▲0.41MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 38 new files
Database: 2 new tables, 7 new options
New tables |
---|
wp_dexatel_sms_register |
wp_dexatel_sms_settings |
New WordPress options |
---|
db_upgraded |
dexatel_sms_db_version |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
Connect, Communicate, Expand with text messaging through WooCommerce: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,871 ▲125 | 14.78 ▲0.51 | 2.16 ▲0.34 | 52.74 ▲6.84 |
Dashboard /wp-admin | 2,237 ▲52 | 5.05 ▲0.18 | 134.75 ▲22.80 | 81.28 ▲41.11 |
Posts /wp-admin/edit.php | 2,141 ▲52 | 2.30 ▲0.30 | 46.62 ▲3.07 | 35.66 ▼1.27 |
Add New Post /wp-admin/post-new.php | 1,585 ▲65 | 23.86 ▲0.75 | 969.40 ▲345.23 | 43.29 ▼21.37 |
Media Library /wp-admin/upload.php | 1,431 ▲46 | 4.35 ▲0.16 | 125.15 ▲20.22 | 94.80 ▲47.83 |
Quick send /wp-admin/admin.php?page=dexatel-sms-sendsms | 898 | 2.09 | 29.14 | 67.83 |
Events /wp-admin/admin.php?page=dexatel-sms-events | 1,017 | 1.98 | 34.18 | 54.50 |
How to use /wp-admin/admin.php?page=dexatel-sms-howtouse | 920 | 1.86 | 32.25 | 47.46 |
Home /wp-admin/admin.php?page=dexatel-sms | 996 | 1.84 | 37.04 | 40.78 |
Settings /wp-admin/admin.php?page=dexatel-sms-settings | 911 | 2.02 | 35.98 | 40.11 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
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 to be fixed:
- Contributors: Plugin contributors not specified
dexatel-for-woocommerce/dexatel-sms.php 85% from 13 tests
The main PHP file in "Connect, Communicate, Expand with text messaging through WooCommerce" ver. 1.0.1 adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("dexatel-for-woocommerce.php" instead of "dexatel-sms.php")
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
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 plugin2,244 lines of code in 29 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 24 | 357 | 588 | 1,864 |
CSS | 2 | 52 | 7 | 348 |
JavaScript | 3 | 5 | 36 | 32 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.70 |
Average class complexity | 35.75 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 147.00 |
Average method complexity | 5.63 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 63.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 60 | |
▷ Static methods | 17 | 28.33% |
▷ Public methods | 54 | 90.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 6 | 10.00% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
2 compressed PNG files occupy 0.00MB
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/images/favicon-blue.png | 0.60KB | 0.59KB | ▼ 1.47% |
admin/images/right-arrow.png | 0.61KB | 0.58KB | ▼ 5.25% |