Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.01MB] [CPU: ▼9.65ms] Passed 4 tests
A check of server-side resources used by SendSMS Dashboard
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 39.09 ▼2.85 |
Dashboard /wp-admin | 3.31 ▼0.04 | 57.02 ▼9.21 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 48.81 ▼3.92 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 85.43 ▼22.61 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 36.13 ▲0.68 |
Server storage [IO: ▲1.41MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 53 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for SendSMS Dashboard
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.37 ▼0.05 | 1.85 ▲0.15 | 39.44 ▼4.18 |
Dashboard /wp-admin | 2,189 ▲12 | 5.54 ▼0.14 | 87.93 ▼1.00 | 43.96 ▼6.19 |
Posts /wp-admin/edit.php | 2,103 ▼0 | 1.98 ▲0.04 | 35.83 ▼6.11 | 35.68 ▲0.98 |
Add New Post /wp-admin/post-new.php | 1,535 ▲9 | 24.79 ▲1.78 | 605.08 ▼37.17 | 69.05 ▲12.09 |
Media Library /wp-admin/upload.php | 1,403 ▲6 | 4.08 ▼0.10 | 100.66 ▼1.14 | 43.43 ▼2.88 |
Uninstaller [IO: ▲1.41MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the followingZombie WordPress options were found after uninstall: 6 options
- The plugin did not uninstall successfully, leaving 53 files (1.41MB) in the plugin directory
- (new file) README.txt
- (new file) admin/css/jBox.all.min.css
- (new file) admin/css/index.php
- (new file) admin/extension/sendsms-dashboard-history.php
- (new file) admin/img/logo-test-area.png
- (new file) admin/css/sendsms-dashboard-admin.css
- (new file) admin/class-sendsms-dashboard-admin.php
- (new file) admin/img/index.php
- (new file) admin/extension/sendsms-dashboard-subscribers.php
- (new file) LICENSE.txt
- ...
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 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
Please fix the following
- 22× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Notice
Undefined variable: args in wp-content/plugins/sendsms-dashboard/public/partials/sendsms-dashboard-subscription-widget.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_nonce_field() in wp-content/plugins/sendsms-dashboard/public/partials/sendsms-dashboard-unsubscribe-widget.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html__() in wp-content/plugins/sendsms-dashboard/public/partials/sendsms-dashboard-unsubscribe-widget-admin-form.php:2
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/sendsms-dashboard/public/partials/sendsms-dashboard-unsubscribe-widget.php on line 2
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/sendsms-dashboard/public/extension/sendsms-dashboard-unsubscribe-widget.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/sendsms-dashboard/admin/partials/sendsms-dashboard-history-admin-display.php:2
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/sendsms-dashboard/public/extension/sendsms-dashboard-subscribe-widget.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/sendsms-dashboard/admin/partials/user/sendsms-dashboard-mobile-field-register.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/sendsms-dashboard/admin/extension/sendsms-dashboard-subscribers.php:2
- > PHP Fatal error
Uncaught Error: Class 'WP_List_Table' not found in wp-content/plugins/sendsms-dashboard/admin/extension/sendsms-dashboard-history.php:2
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
- Plugin Name: "Plugin Name" should be replaced with the name of your plugin on the first line (
=== sendsms-dashboard ===
) - Screenshots: These screenshots need descriptions #1, #2, #3, #4, #5, #6, #7 in sendsms-dashboard/assets to your readme.txt
sendsms-dashboard/sendsms-dashboard.php Passed 13 tests
The principal PHP file in "SendSMS Dashboard" v. 1.0.1 is loaded by WordPress automatically on each request
57 characters long description:
Use this plugin to communicate with everyone on your site
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 detected3,426 lines of code in 37 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 30 | 345 | 913 | 2,746 |
JavaScript | 4 | 9 | 17 | 366 |
CSS | 3 | 45 | 18 | 314 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 18.38 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 98.00 |
Average method complexity | 2.66 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 13 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 13 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 136 | |
▷ Static methods | 2 | 1.47% |
▷ Public methods | 130 | 95.59% |
▷ Protected methods | 1 | 0.74% |
▷ Private methods | 5 | 3.68% |
Functions | 8 | |
▷ Named functions | 8 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.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
2 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/img/logo-test-area.png | 23.44KB | 5.26KB | ▼ 77.54% |
admin/img/sendsms-dashboard-setting.png | 0.65KB | 0.63KB | ▼ 3.15% |