Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.02MB] [CPU: ▼1.20ms] Passed 4 tests
This is a short check of server-side resources used by Ace Twilio For Woocommerce
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 40.57 ▲0.50 |
Dashboard /wp-admin | 3.32 ▲0.02 | 42.39 ▼6.93 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 45.30 ▲0.56 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.04 | 90.23 ▲1.25 |
Media Library /wp-admin/upload.php | 3.24 ▲0.02 | 34.50 ▲1.07 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 22 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_theysaidso_widget |
ace-twilio-for-woocommerce-default-status |
widget_recent-comments |
widget_recent-posts |
ace_twilio_setting_data |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
Ace Twilio For Woocommerce: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,924 ▲178 | 13.86 ▼0.51 | 8.45 ▲6.74 | 44.49 ▲0.78 |
Dashboard /wp-admin | 2,222 ▲40 | 5.85 ▲0.97 | 108.37 ▼7.69 | 44.87 ▲2.64 |
Posts /wp-admin/edit.php | 2,105 ▲19 | 2.06 ▲0.06 | 38.59 ▲0.56 | 36.83 ▲1.24 |
Add New Post /wp-admin/post-new.php | 1,533 ▲19 | 23.25 ▲5.71 | 635.05 ▼37.39 | 63.31 ▲9.91 |
Media Library /wp-admin/upload.php | 1,404 ▲16 | 4.24 ▼0.06 | 99.22 ▲3.11 | 44.14 ▲0.50 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- Zombie WordPress options were found after uninstall: 8 options
- ace_twilio_setting_data
- widget_recent-comments
- ace-twilio-for-woocommerce-default-status
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
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 items
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/ace-twilio-for-woocommerce/public/partials/ace-twilio-for-woocommerce-public-display.php
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/ace-twilio-for-woocommerce/admin/class-ace-twilio-for-woocommerce-admin.php:24
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/ace-twilio-for-woocommerce/admin/partials/ace-twilio-for-woocommerce-admin-display.php:28
- > 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 Passed 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
2 plugin tags: sms, twilio
ace-twilio-for-woocommerce/ace-twilio-for-woocommerce.php Passed 13 tests
The main PHP file in "Ace Twilio For Woocommerce" ver. 1.0.2 adds more information about the plugin and also serves as the entry point for this plugin
103 characters long description:
This plugin help us to send sms when user placed order, It send order status notification to customers.
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
Success! There were no dangerous files found in this plugin951 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 13 | 167 | 540 | 851 |
CSS | 2 | 2 | 10 | 94 |
JavaScript | 2 | 4 | 54 | 6 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 7.38 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 42.00 |
Average method complexity | 2.70 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 42.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 30 | |
▷ Static methods | 2 | 6.67% |
▷ Public methods | 24 | 80.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 6 | 20.00% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 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
No PNG images were found in this plugin