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
Install script ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼1.59ms] Passed 4 tests
Analyzing server-side resources used by Clockwork SMS Notfications
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 38.59 ▼2.00 |
Dashboard /wp-admin | 3.36 ▲0.06 | 50.74 ▲0.98 |
Posts /wp-admin/edit.php | 3.47 ▲0.12 | 48.68 ▼2.53 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 99.43 ▼2.31 |
Media Library /wp-admin/upload.php | 3.28 ▲0.06 | 34.01 ▲0.47 |
Server storage [IO: ▲0.16MB] [DB: ▲0.01MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 32 new files
Database: 3 new tables, 10 new options
New tables |
---|
wp_sms_countries |
wp_sms_subscribers |
wp_sms_networks |
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
clockwork_sms_notifications |
widget_theysaidso_widget |
clockwork_sms_notifications_db_version |
clockwork_sms_notifications_upgraded |
widget_sms_notification_widget |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Clockwork SMS Notfications
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,921 ▲160 | 13.88 ▼0.39 | 8.00 ▲6.14 | 39.95 ▼0.61 |
Dashboard /wp-admin | 2,207 ▲27 | 5.71 ▲0.03 | 86.00 ▼6.67 | 75.00 ▲35.17 |
Posts /wp-admin/edit.php | 2,127 ▲24 | 2.04 ▲0.04 | 34.16 ▼6.29 | 33.12 ▼4.69 |
Add New Post /wp-admin/post-new.php | 1,552 ▲24 | 23.28 ▲0.07 | 618.24 ▼25.45 | 160.27 ▲102.19 |
Media Library /wp-admin/upload.php | 1,424 ▲24 | 4.28 ▲0.12 | 101.99 ▼5.45 | 74.34 ▲27.81 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Zombie tables were found after uninstall: 3 tables
- wp_sms_countries
- wp_sms_subscribers
- wp_sms_networks
- This plugin does not fully uninstall, leaving 10 options in the database
- widget_sms_notification_widget
- clockwork_sms_notifications_upgraded
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- clockwork_sms_notifications_db_version
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- clockwork_sms_notifications
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 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Almost there! Just fix the following items
- 13× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/mediaburst-email-to-sms/lib/class-clockwork-table.php on line 3
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/mediaburst-email-to-sms/lib/class-clockwork-table.php on line 3
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/class-wp-list-table.php' (include_path='.:/usr/share/php') in wp-content/plugins/mediaburst-email-to-sms/lib/class-clockwork-table.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/mediaburst-email-to-sms/main.php:2
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/mediaburst-email-to-sms/clockwork-sms-widget.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/mediaburst-email-to-sms/mediaburst-email-2-sms.php:82
- > PHP Warning
require_once(ABSPATHwp-admin/includes/class-wp-list-table.php): failed to open stream: No such file or directory in wp-content/plugins/mediaburst-email-to-sms/lib/class-clockwork-table.php on line 3
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/mediaburst-email-to-sms/lib/class-clockwork-table.php on line 3
- > PHP Warning
require_once(ABSPATHwp-admin/includes/class-wp-list-table.php): failed to open stream: No such file or directory in wp-content/plugins/mediaburst-email-to-sms/lib/class-clockwork-table.php on line 3
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/class-wp-list-table.php' (include_path='.:/usr/share/php') in wp-content/plugins/mediaburst-email-to-sms/lib/class-clockwork-table.php on line 3
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 93% 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
8 plugin tags: free sms, clockwork, mediaburst, text message, sms...
mediaburst-email-to-sms/mediaburst-email-2-sms.php 85% from 13 tests
The primary PHP file in "Clockwork SMS Notfications" version 3.0.4 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 144 characters long)
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("mediaburst-email-to-sms.php" instead of "mediaburst-email-2-sms.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Good job! No executable or dangerous file extensions detected1,812 lines of code in 22 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 19 | 364 | 822 | 1,695 |
JavaScript | 2 | 30 | 3 | 92 |
CSS | 1 | 4 | 0 | 25 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 22.44 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 70.00 |
Average method complexity | 3.57 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 34.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 3 | 33.33% |
▷ Concrete classes | 6 | 66.67% |
▷ Final classes | 0 | 0.00% |
Methods | 79 | |
▷ Static methods | 2 | 2.53% |
▷ Public methods | 69 | 87.34% |
▷ Protected methods | 9 | 11.39% |
▷ Private methods | 1 | 1.27% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 13 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 13 | 100.00% |
▷ Public constants | 13 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
6 compressed PNG files occupy 0.06MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/logo_16px_16px.png | 0.43KB | 0.31KB | ▼ 27.56% |
screenshot-2.png | 10.06KB | 10.02KB | 0.42% |
screenshot-3.png | 7.75KB | 7.61KB | ▼ 1.84% |
images/logo_32px_32px.png | 0.76KB | 0.45KB | ▼ 40.95% |
screenshot-4.png | 15.78KB | 15.49KB | ▼ 1.87% |