Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▼3.48MB] [CPU: ▼718,196.20ms] Passed 4 tests
This is a short check of server-side resources used by Powerful SMS
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.66 ▲0.16 | 43.75 ▲2.54 |
Dashboard /wp-admin | 3.51 ▼14.42 | 50.45 ▼2,872,779.21 |
Posts /wp-admin/edit.php | 3.63 ▲0.23 | 50.49 ▲0.59 |
Add New Post /wp-admin/post-new.php | 6.11 ▲0.18 | 92.59 ▼8.72 |
Media Library /wp-admin/upload.php | 3.44 ▲0.16 | 40.98 ▲5.72 |
Powerful SMS /wp-admin/admin.php?page=powerfulsms | 3.40 | 35.04 |
Status de Pedido /wp-admin/admin.php?page=powerfulsms-status | 3.38 | 31.04 |
Server storage [IO: ▲0.11MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 26 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
recovery_mode_email_last_sent |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Powerful SMS
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,820 ▲74 | 14.37 ▼0.27 | 1.78 ▼0.27 | 44.11 ▲1.57 |
Dashboard /wp-admin | 2,220 ▲49 | 5.71 ▲0.10 | 83.81 ▼27.81 | 41.85 ▼11.88 |
Posts /wp-admin/edit.php | 2,131 ▲28 | 2.02 ▲0.05 | 34.70 ▼4.49 | 40.08 ▲2.82 |
Add New Post /wp-admin/post-new.php | 1,553 ▲16 | 23.22 ▲5.09 | 649.92 ▼11.46 | 57.47 ▼18.41 |
Media Library /wp-admin/upload.php | 1,431 ▲31 | 4.25 ▲0.07 | 111.99 ▼0.43 | 47.95 ▲4.66 |
Powerful SMS /wp-admin/admin.php?page=powerfulsms | 834 | 1.90 | 27.70 | 29.14 |
Status de Pedido /wp-admin/admin.php?page=powerfulsms-status | 708 | 1.12 | 6.53 | 20.44 |
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
- Zombie WordPress options detected upon uninstall: 7 options
- widget_theysaidso_widget
- db_upgraded
- recovery_mode_email_last_sent
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
These errors were triggered by the plugin
- 21 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=powerfulsms-status
- > Warning in wp-content/plugins/easy-age-verifier/lib/extras/wpApi.php+48
file_get_contents(): php_network_getaddresses: getaddrinfo failed: Name or service not known
- 21 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=powerfulsms-status
- > Warning in wp-content/plugins/easy-age-verifier/lib/extras/wpApi.php+48
file_get_contents(http://www.fillyourtaproom.com/wp-json/wp/v2/posts?per_page=10): failed to open stream: php_network_getaddresses: getaddrinfo failed: Name or service not known
- > GET request to /wp-admin/admin.php?page=powerfulsms-status
- > Error in wp-content/plugins/powerful-sms/includes/add-ons/class-powerful-sms-wp-woocommerce.php+103
Uncaught Error: Call to undefined function wc_get_order_statuses() in wp-content/plugins/powerful-sms/includes/add-ons/class-powerful-sms-wp-woocommerce.php:103
Stack trace:
#0 wp-content/plugins/powerful-sms/includes/add-ons/class-powerful-sms-wp-woocommerce.php(77): Powerful_Sms_Wp_Woocommerce->load_custom_status()
#1 wp-content/plugins/powerful-sms/includes/add-ons/class-powerful-sms-wp-woocommerce.php(64): Powerful_Sms_Wp_Woocommerce->load_triggers()
#2 wp-content/plugins/powerful-sms/admin/class-powerful-sms-wp-admin.php(145): Powerful_Sms_Wp_Woocommerce->__construct()
#3 wp-includes/class-wp-hook.php(310): Powerful_Sms_Wp_Admin->view_status_order()
#4 wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
#5 wp-includes/plugin.php(517): WP_Hook->do_action()
#6 wp-admin/admin.php(259): do_action()
#7 {main}
thrown
SRP 0% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/powerful-sms/public/partials/powerful-sms-wp-public-display.php
- 4× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Notice
Undefined variable: triggers in wp-content/plugins/powerful-sms/admin/partials/powerful-sms-wp-admin-status-order.php on line 22
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/powerful-sms/admin/partials/powerful-sms-wp-admin-config.php:23
- > PHP Fatal error
Uncaught Error: Call to undefined function is_plugin_active() in wp-content/plugins/powerful-sms/admin/partials/powerful-sms-wp-admin-status-order.php:56
- > PHP Warning
Invalid argument supplied for foreach() in wp-content/plugins/powerful-sms/admin/partials/powerful-sms-wp-admin-status-order.php on line 22
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% 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
- Plugin Name: Please specify the plugin name on the first line (
=== powerful-sms ===
)
powerful-sms/powerful-sms-wp.php 85% from 13 tests
This is the main PHP file of "Powerful SMS" version 1.0.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please take the time to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("powerful-sms.php" instead of "powerful-sms-wp.php")
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected1,718 lines of code in 20 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 15 | 190 | 554 | 933 |
CSS | 3 | 59 | 13 | 770 |
JavaScript | 2 | 4 | 27 | 15 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.51 |
Average class complexity | 16.67 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 100.00 |
Average method complexity | 3.77 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 48.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 49 | |
▷ Static methods | 9 | 18.37% |
▷ Public methods | 43 | 87.76% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 6 | 12.24% |
Functions | 7 | |
▷ Named functions | 4 | 57.14% |
▷ Anonymous functions | 3 | 42.86% |
Constants | 2 | |
▷ Global constants | 2 | 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
There are no PNG files in this plugin