Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▲0.63ms] Passed 4 tests
This is a short check of server-side resources used by Formidable - Clockwork SMS
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 54.91 ▲16.65 |
Dashboard /wp-admin | 3.35 ▲0.04 | 50.55 ▲2.38 |
Posts /wp-admin/edit.php | 3.46 ▲0.10 | 48.90 ▲0.83 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 95.64 ▼4.66 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 38.99 ▲3.99 |
Test /wp-admin/admin.php?page=clockwork_test_message | 3.27 | 31.35 |
Formidable /wp-admin/admin.php?page=clockwork_formidable | 3.27 | 30.93 |
Clockwork Options /wp-admin/admin.php?page=clockwork_options | 3.26 | 31.68 |
Server storage [IO: ▲0.20MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 17 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Formidable - Clockwork SMS
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,864 ▲118 | 13.18 ▼1.20 | 2.66 ▲0.46 | 53.34 ▲10.99 |
Dashboard /wp-admin | 2,249 ▲61 | 6.00 ▲0.18 | 132.17 ▲29.45 | 44.94 ▼0.15 |
Posts /wp-admin/edit.php | 2,140 ▲48 | 2.02 ▲0.05 | 39.67 ▼6.20 | 41.52 ▲4.99 |
Add New Post /wp-admin/post-new.php | 1,405 ▼139 | 20.70 ▲2.50 | 501.09 ▼118.11 | 112.89 ▲47.96 |
Media Library /wp-admin/upload.php | 1,437 ▲49 | 4.18 ▼0.02 | 98.69 ▼1.64 | 41.65 ▼4.02 |
Test /wp-admin/admin.php?page=clockwork_test_message | 856 | 2.19 | 25.61 | 36.29 |
Formidable /wp-admin/admin.php?page=clockwork_formidable | 898 | 2.04 | 26.62 | 34.05 |
Clockwork Options /wp-admin/admin.php?page=clockwork_options | 891 | 1.68 | 25.64 | 34.77 |
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
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Please fix the following server-side errors
- > GET request to /wp-admin/admin.php?page=clockwork_test_message
- > Notice in wp-content/plugins/formidable-sms/templates/clockwork-test-message.php+8
Undefined index: to
- > GET request to /wp-admin/admin.php?page=clockwork_formidable
- > Notice in wp-content/plugins/formidable-sms/main.php+92
Trying to access array offset on value of type bool
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
- 3× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/formidable-sms/formidable-sms.php:76
- > PHP Fatal error
Uncaught Error: Class 'Clockwork' not found in wp-content/plugins/formidable-sms/lib/clockwork/class-WordPressClockwork.php:15
- > PHP Fatal error
Uncaught Error: Class 'Clockwork_Plugin' not found in wp-content/plugins/formidable-sms/main.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need your attention:
- Screenshots: Screenshot #1 (SMS settings in detail) image not found
formidable-sms/formidable-sms.php Passed 13 tests
The main PHP script in "Formidable - Clockwork SMS" version 1.1.3 is automatically included on every request by WordPress
62 characters long description:
Send SMS notifications when somebody submits your contact form
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected1,242 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 252 | 595 | 1,194 |
CSS | 1 | 4 | 0 | 25 |
JavaScript | 1 | 9 | 3 | 23 |
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.32 |
Average class complexity | 27.60 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 70.00 |
Average method complexity | 3.83 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 34.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 2 | 40.00% |
▷ Concrete classes | 3 | 60.00% |
▷ Final classes | 0 | 0.00% |
Methods | 50 | |
▷ Static methods | 1 | 2.00% |
▷ Public methods | 37 | 74.00% |
▷ Protected methods | 12 | 24.00% |
▷ Private methods | 1 | 2.00% |
Functions | 1 | |
▷ Named functions | 1 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
4 PNG files occupy 0.14MB with 0.08MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/logo_32px_32px.png | 0.76KB | 0.45KB | ▼ 40.95% |
images/badrobot.png | 92.94KB | 10.20KB | ▼ 89.03% |
images/logo_16px_16px.png | 0.43KB | 0.31KB | ▼ 27.56% |
screenshot-1.png | 47.38KB | 14.69KB | ▼ 68.99% |