Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼6.25ms] Passed 4 tests
Server-side resources used by WooCommerce Transmit SMS
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 37.42 ▲2.58 |
Dashboard /wp-admin | 3.32 ▲0.02 | 44.82 ▼16.26 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 44.84 ▼1.67 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 89.82 ▼9.64 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 37.32 ▲3.44 |
Server storage [IO: ▲1.49MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 55 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WooCommerce Transmit SMS
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.63 ▼0.64 | 4.21 ▲2.41 | 41.35 ▼2.92 |
Dashboard /wp-admin | 2,206 ▲21 | 4.85 ▼1.01 | 108.12 ▼9.26 | 42.15 ▼7.44 |
Posts /wp-admin/edit.php | 2,089 ▼3 | 2.02 ▼0.01 | 39.16 ▲1.74 | 36.48 ▲0.73 |
Add New Post /wp-admin/post-new.php | 1,533 ▲13 | 23.22 ▲0.17 | 603.75 ▼66.78 | 50.49 ▼1.92 |
Media Library /wp-admin/upload.php | 1,382 ▼6 | 4.16 ▼0.04 | 95.87 ▼1.26 | 42.20 ▼1.92 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- The plugin did not uninstall gracefully
- > Notice in wp-content/plugins/woocommerce-transmit-sms/uninstall.php+6
Undefined variable: option_name
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following items
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'WC_Integration' not found in wp-content/plugins/woocommerce-transmit-sms/admin/admin_integration.php:12
- > PHP Fatal error
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 97% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Attributes that require attention:
- Donate link: Invalid url: ""
woocommerce-transmit-sms/woocommerce-transmit-sms.php Passed 13 tests
The primary PHP file in "WooCommerce Transmit SMS" version 2.6 is used by WordPress to initiate all plugin functionality
127 characters long description:
Send SMS updates to customers when their order status is updated and receive an SMS message when a customer places a new order.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Good job! No executable or dangerous file extensions detected25,225 lines of code in 26 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 6 | 3,032 | 2,060 | 15,460 |
CSS | 9 | 43 | 82 | 7,339 |
PHP | 10 | 216 | 428 | 2,197 |
SVG | 1 | 0 | 0 | 229 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 46.50 |
▷ Minimum class complexity | 11.00 |
▷ Maximum class complexity | 68.00 |
Average method complexity | 3.43 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 33.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 75 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 69 | 92.00% |
▷ Protected methods | 6 | 8.00% |
▷ Private methods | 0 | 0.00% |
Functions | 13 | |
▷ Named functions | 13 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 26 | |
▷ Global constants | 26 | 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
20 PNG files occupy 0.04MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
jquery-ui/css/ui-lightness/images/ui-icons_ef8c08_256x240.png | 4.44KB | 4.17KB | ▼ 6.02% |
jquery-ui/css/ui-lightness/images/ui-icons_222222_256x240.png | 6.76KB | 4.17KB | ▼ 38.24% |
jquery-ui/css/ui-lightness/images/ui-bg_flat_10_000000_40x100.png | 0.20KB | 0.08KB | ▼ 57.56% |
jquery-ui/css/ui-lightness/images/ui-icons_228ef1_256x240.png | 4.44KB | 4.17KB | ▼ 6.02% |
images/success.png | 1.71KB | 1.62KB | ▼ 5.19% |