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
Install script ran successfully
Server metrics [RAM: ▼0.01MB] [CPU: ▼11.95ms] Passed 4 tests
Analyzing server-side resources used by BulkGate SMS Plugin for WooCommerce
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 37.23 ▼10.74 |
Dashboard /wp-admin | 3.31 ▼0.04 | 46.46 ▼17.20 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 47.22 ▼2.99 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 82.96 ▼16.86 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 34.66 ▲1.29 |
Server storage [IO: ▲0.26MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 117 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for BulkGate SMS Plugin for WooCommerce
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,790 ▲43 | 14.70 ▲0.35 | 1.58 ▼0.14 | 36.78 ▼6.48 |
Dashboard /wp-admin | 2,192 ▲18 | 5.62 ▲0.07 | 96.09 ▼6.31 | 43.18 ▼3.08 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.02 ▲0.01 | 38.69 ▼0.16 | 35.76 ▲0.77 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.05 ▼0.04 | 656.85 ▲4.01 | 55.51 ▼9.88 |
Media Library /wp-admin/upload.php | 1,400 ▼3 | 4.20 ▲0.01 | 98.37 ▲0.78 | 43.77 ▼1.11 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
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
The following issues need your attention
- 73× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Trait 'BulkGate\\Plugin\\Strict' not found in wp-content/plugins/woosms-sms-module-for-woocommerce/vendor/bulkgate/plugin/src/Eshop/EshopSynchronizer.php on line 12
- > PHP Fatal error
Trait 'BulkGate\\Plugin\\Strict' not found in wp-content/plugins/woosms-sms-module-for-woocommerce/vendor/bulkgate/plugin/src/Debug/Logger.php on line 12
- > PHP Fatal error
Trait 'BulkGate\\Plugin\\Strict' not found in wp-content/plugins/woosms-sms-module-for-woocommerce/src/Template/Init.php on line 14
- > PHP Fatal error
Uncaught Error: Interface 'BulkGate\\Plugin\\Localization\\Language' not found in wp-content/plugins/woosms-sms-module-for-woocommerce/vendor/bulkgate/plugin/src/Localization/LanguageSettings.php:12
- > PHP Fatal error
Trait 'BulkGate\\Plugin\\Strict' not found in wp-content/plugins/woosms-sms-module-for-woocommerce/src/Event/Redirect.php on line 13
- > PHP Fatal error
Uncaught Error: Interface 'BulkGate\\Plugin\\Structure\\Entity' not found in wp-content/plugins/woosms-sms-module-for-woocommerce/vendor/bulkgate/plugin/src/Event/Repository/Entity/Task.php:13
- > PHP Fatal error
Uncaught Error: Class 'BulkGate\\Plugin\\Exception' not found in wp-content/plugins/woosms-sms-module-for-woocommerce/vendor/bulkgate/plugin/src/DI/exceptions.php:12
- > PHP Fatal error
Uncaught Error: Interface 'BulkGate\\Plugin\\Event\\DataLoader' not found in wp-content/plugins/woosms-sms-module-for-woocommerce/src/Event/Loader/Post.php:12
- > PHP Fatal error
Trait 'BulkGate\\Plugin\\Strict' not found in wp-content/plugins/woosms-sms-module-for-woocommerce/vendor/bulkgate/plugin/src/Utils/JsonArray.php on line 13
- > PHP Fatal error
Trait 'BulkGate\\Plugin\\Strict' not found in wp-content/plugins/woosms-sms-module-for-woocommerce/vendor/bulkgate/plugin/src/Settings/Synchronizer.php on line 13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need to be fixed:
- Tags: You are using too many tags: 63 tag instead of maximum 10
- Contributors: Contributors not specified
woosms-sms-module-for-woocommerce/woosms-sms-module-for-woocommerce.php Passed 13 tests
"BulkGate SMS Plugin for WooCommerce" version 3.0.4's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
63 characters long description:
Notify your customers about order status via SMS notifications.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Everything looks great! No dangerous files found in this plugin4,663 lines of code in 113 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 111 | 1,446 | 1,435 | 4,572 |
JSON | 2 | 0 | 0 | 91 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 4.88 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 48.00 |
Average method complexity | 2.63 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 31 | |
Interfaces | 19 | |
Traits | 6 | |
Classes | 88 | |
▷ Abstract classes | 1 | 1.14% |
▷ Concrete classes | 87 | 98.86% |
▷ Final classes | 0 | 0.00% |
Methods | 297 | |
▷ Static methods | 75 | 25.25% |
▷ Public methods | 277 | 93.27% |
▷ Protected methods | 2 | 0.67% |
▷ Private methods | 18 | 6.06% |
Functions | 26 | |
▷ Named functions | 1 | 3.85% |
▷ Anonymous functions | 25 | 96.15% |
Constants | 28 | |
▷ Global constants | 1 | 3.57% |
▷ Class constants | 27 | 96.43% |
▷ Public constants | 16 | 59.26% |
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
No PNG images were found in this plugin