Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Please fix the following installer errors
- The plugin cannot be installed
- > Notice in wp-content/plugins/sms-orders-alertnotifications-for-woocommerce/includes/class-smart-marketing-addon-sms-order-activator.php+172
Trying to access array offset on value of type bool
Server metrics [RAM: ▲0.00MB] [CPU: ▼1.59ms] Passed 4 tests
A check of server-side resources used by E-goi SMS Orders Alert/Notifications
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 39.07 ▼3.81 |
Dashboard /wp-admin | 3.31 ▲0.00 | 47.52 ▲0.53 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 46.99 ▼0.56 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 95.34 ▼2.46 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 35.27 ▲0.49 |
Server storage [IO: ▲0.39MB] [DB: ▲0.01MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 36 new files
Database: 6 new tables, 7 new options
New tables |
---|
wp_egoi_sms_order_billets |
wp_egoi_email_order_reminders |
wp_egoi_sms_order_reminders |
wp_egoi_sms_follow_price |
wp_egoi_sms_abandoned_carts |
wp_egoi_email_order_billets |
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
egoi_activation_data |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
E-goi SMS Orders Alert/Notifications: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.30 ▼1.25 | 1.88 ▼0.18 | 39.39 ▼8.23 |
Dashboard /wp-admin | 2,206 ▲21 | 4.83 ▼1.04 | 107.12 ▲3.45 | 43.12 ▲3.09 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.04 ▲0.02 | 39.20 ▼0.60 | 36.31 ▲0.58 |
Add New Post /wp-admin/post-new.php | 1,538 ▲5 | 23.37 ▲0.27 | 647.49 ▼17.15 | 52.40 ▼7.93 |
Media Library /wp-admin/upload.php | 1,382 ▼9 | 4.19 ▲0.03 | 98.07 ▼2.43 | 44.79 ▲0.17 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 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
- Zombie tables detected upon uninstall: 6 tables
- wp_egoi_sms_follow_price
- wp_egoi_sms_abandoned_carts
- wp_egoi_sms_order_billets
- wp_egoi_email_order_billets
- wp_egoi_email_order_reminders
- wp_egoi_sms_order_reminders
- This plugin did not uninstall successfully, leaving 7 options in the database
- egoi_activation_data
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
Almost there! Just fix the following items
- 2× PHP files output text when accessed directly:
- > /wp-content/plugins/sms-orders-alertnotifications-for-woocommerce/public/partials/smart-marketing-addon-sms-order-public-display.php
- > /wp-content/plugins/sms-orders-alertnotifications-for-woocommerce/uninstall.php
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/sms-orders-alertnotifications-for-woocommerce/admin/partials/smart-marketing-addon-sms-order-admin-config-abandonned-cart.php:19
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/sms-orders-alertnotifications-for-woocommerce/admin/partials/smart-marketing-addon-sms-order-admin-config.php:15
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 79% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that require attention:
- Tags: Too many tags (19 tag instead of maximum 10); only the first 5 tags are used in your directory listing
- Screenshots: No descriptions were found for these screenshots #4, #5 in sms-orders-alertnotifications-for-woocommerce/assets to your readme.txt
sms-orders-alertnotifications-for-woocommerce/smart-marketing-addon-sms-order.php 69% from 13 tests
The main file in "E-goi SMS Orders Alert/Notifications" v. 1.5.7 serves as a complement to information provided in readme.txt and as the entry point to the plugin
You should first fix the following items:
- Description: Keep the plugin description shorter than 140 characters (currently 181 characters long)
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
- Main file name: Name the main plugin file the same as the plugin slug ("sms-orders-alertnotifications-for-woocommerce.php" instead of "smart-marketing-addon-sms-order.php")
- Requires at least: The required version number must match the one declared in readme.txt ("4.7" instead of "3.2")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected5,500 lines of code in 25 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 16 | 740 | 1,048 | 3,415 |
PO File | 3 | 456 | 540 | 1,379 |
JavaScript | 4 | 69 | 7 | 581 |
CSS | 2 | 8 | 3 | 125 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 29.40 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 154.00 |
Average method complexity | 3.56 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 31.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 10 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 10 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 111 | |
▷ Static methods | 15 | 13.51% |
▷ Public methods | 93 | 83.78% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 18 | 16.22% |
Functions | 12 | |
▷ Named functions | 11 | 91.67% |
▷ Anonymous functions | 1 | 8.33% |
Constants | 6 | |
▷ Global constants | 2 | 33.33% |
▷ Class constants | 4 | 66.67% |
▷ Public constants | 4 | 100.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
1 compressed PNG file occupies 0.01MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/img/multibanco-logo.png | 7.82KB | 7.82KB | 0.00% |