Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.24MB] [CPU: ▼0.55ms] Passed 4 tests
Server-side resources used by mNotifySMS WooCommerce
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.65 ▲0.19 | 44.48 ▲0.06 |
Dashboard /wp-admin | 3.62 ▲0.32 | 52.47 ▲0.41 |
Posts /wp-admin/edit.php | 3.67 ▲0.32 | 59.37 ▲12.27 |
Add New Post /wp-admin/post-new.php | 6.12 ▲0.23 | 91.97 ▼5.80 |
Media Library /wp-admin/upload.php | 3.46 ▲0.23 | 42.19 ▲3.12 |
MnotifySMS WooCommerce /wp-admin/options-general.php?page=mnotifysms-woocoommerce-setting | 3.46 | 38.31 |
Server storage [IO: ▲19.73MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 2,251 new files
Database: no new tables, 9 new options
New WordPress options |
---|
mnotifysms_setting |
widget_theysaidso_widget |
customer_setting |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
admin_setting |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for mNotifySMS WooCommerce
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,947 ▲186 | 15.13 ▲0.78 | 1.94 ▲0.14 | 43.32 ▼1.03 |
Dashboard /wp-admin | 2,356 ▲182 | 6.37 ▲0.70 | 117.85 ▲25.71 | 41.07 ▼0.83 |
Posts /wp-admin/edit.php | 2,278 ▲178 | 3.49 ▲1.47 | 57.86 ▲20.10 | 34.76 ▼4.53 |
Add New Post /wp-admin/post-new.php | 1,542 ▲14 | 23.32 ▲0.19 | 624.03 ▼36.16 | 35.48 ▼28.66 |
Media Library /wp-admin/upload.php | 1,415 ▲12 | 4.21 ▼0.02 | 85.50 ▼11.60 | 43.41 ▲0.04 |
MnotifySMS WooCommerce /wp-admin/options-general.php?page=mnotifysms-woocoommerce-setting | 1,267 | 3.39 | 47.44 | 30.80 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- Zombie WordPress options detected upon uninstall: 9 options
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- admin_setting
- customer_setting
- widget_theysaidso_widget
- mnotifysms_setting
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The following issues need your attention
- 58× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit_Framework_TestCase' not found in wp-content/plugins/mnotifysms-for-woo/lib/lp/Tests/libphonenumber/Tests/core/ExampleNumbersTest.php:18
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit_Framework_TestCase' not found in wp-content/plugins/mnotifysms-for-woo/lib/lp/Tests/libphonenumber/Tests/Issues/Issue23Test.php:9
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit_Framework_TestCase' not found in wp-content/plugins/mnotifysms-for-woo/lib/lp/Tests/libphonenumber/Tests/Issues/LocaleTest.php:17
- > PHP Fatal error
Uncaught Error: Interface 'libphonenumber\\MatcherAPIInterface' not found in wp-content/plugins/mnotifysms-for-woo/lib/lp/src/libphonenumber/RegexBasedMatcher.php:10
- > PHP Fatal error
Uncaught Error: Class 'Symfony\\Component\\Console\\Application' not found in wp-content/plugins/mnotifysms-for-woo/lib/lp/build/libphonenumber/buildtools/BuildApplication.php:10
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit_Framework_TestCase' not found in wp-content/plugins/mnotifysms-for-woo/lib/lp/Tests/libphonenumber/Tests/core/PhoneNumberMatchTest.php:8
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit_Framework_TestCase' not found in wp-content/plugins/mnotifysms-for-woo/lib/lp/Tests/libphonenumber/Tests/core/ShortNumberUtilTest.php:10
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit_Framework_TestCase' not found in wp-content/plugins/mnotifysms-for-woo/lib/lp/Tests/libphonenumber/Tests/core/PhoneMetadataTest.php:9
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit_Framework_TestCase' not found in wp-content/plugins/mnotifysms-for-woo/lib/lp/Tests/libphonenumber/Tests/core/PhoneNumberUtilTest.php:19
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit_Framework_TestCase' not found in wp-content/plugins/mnotifysms-for-woo/lib/lp/Tests/libphonenumber/Tests/core/PhoneNumberTest.php:11
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need your attention:
- Screenshots: These screenshots do not have images: #1 (mNotifySMS Settings), #2 (Vendor Settings), #3 (Customer Settings)
mnotifysms-for-woo/mnotifysms-woocommerce.php 77% from 13 tests
The primary PHP file in "mNotifySMS WooCommerce" version 1.0.0 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
- Text Domain: The text domain should only use lowercase characters and dashes
- Main file name: The principal plugin file should be the same as the plugin slug ("mnotifysms-for-woo.php" instead of "mnotifysms-woocommerce.php")
- Domain Path: The domain path folder does not exist ("/languages")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Everything looks great! No dangerous files found in this plugin624,925 lines of code in 2,239 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2,230 | 5,719 | 20,846 | 624,302 |
Ant | 1 | 36 | 0 | 187 |
Markdown | 1 | 75 | 0 | 183 |
JSON | 2 | 1 | 0 | 145 |
YAML | 2 | 8 | 1 | 50 |
JavaScript | 1 | 1 | 0 | 29 |
XML | 1 | 3 | 1 | 24 |
diff | 1 | 0 | 8 | 5 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.13 |
Average class complexity | 13.70 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 369.00 |
Average method complexity | 2.16 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 48.00 |
Code structure | ||
---|---|---|
Namespaces | 14 | |
Interfaces | 3 | |
Traits | 0 | |
Classes | 99 | |
▷ Abstract classes | 1 | 1.01% |
▷ Concrete classes | 98 | 98.99% |
▷ Final classes | 0 | 0.00% |
Methods | 1,109 | |
▷ Static methods | 117 | 10.55% |
▷ Public methods | 953 | 85.93% |
▷ Protected methods | 87 | 7.84% |
▷ Private methods | 69 | 6.22% |
Functions | 6 | |
▷ Named functions | 2 | 33.33% |
▷ Anonymous functions | 4 | 66.67% |
Constants | 181 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 181 | 100.00% |
▷ Public constants | 181 | 100.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