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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.00MB] [CPU: ▼4.52ms] Passed 4 tests
Analyzing server-side resources used by Mobile Enquiry and Alert Message for Woocommerce
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 34.17 ▼11.34 |
Dashboard /wp-admin | 3.31 ▲0.00 | 46.82 ▼2.79 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 44.90 ▼0.88 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 88.45 ▲4.24 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 31.56 ▼3.07 |
Server storage [IO: ▲0.34MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 25 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
Mobile Enquiry and Alert Message for Woocommerce: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,790 ▲28 | 14.10 ▼0.24 | 1.60 ▼0.10 | 39.31 ▼4.98 |
Dashboard /wp-admin | 2,198 ▲21 | 5.56 ▼0.09 | 93.85 ▲0.05 | 41.96 ▼0.12 |
Posts /wp-admin/edit.php | 2,097 ▼0 | 1.97 ▲0.01 | 38.75 ▲0.87 | 38.12 ▲4.49 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.59 ▲0.72 | 575.15 ▼86.40 | 44.91 ▼1.54 |
Media Library /wp-admin/upload.php | 1,397 ▼6 | 4.13 ▼0.10 | 95.39 ▼6.79 | 41.07 ▼0.63 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Almost there! Just fix the following items
- 36× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Warning
include(): Failed opening 'MMWEA_PLUGIN_DIR_PATHadmin/setting/checkout-page-setting.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/mobile-enquiry-and-alert-message-for-woocommerce/admin/options.php on line 6
- > PHP Warning
include(): Failed opening 'MMWEA_PLUGIN_DIR_PATHadmin/setting/thankyou-page-setting.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/mobile-enquiry-and-alert-message-for-woocommerce/admin/options.php on line 7
- > PHP Warning
include(): Failed opening 'MMWEA_PLUGIN_DIR_PATHadmin/setting/design-elements-setting.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/mobile-enquiry-and-alert-message-for-woocommerce/admin/options.php on line 9
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/mobile-enquiry-and-alert-message-for-woocommerce/customizer/styles.php:173
- > PHP Warning
Use of undefined constant MMWEA_PLUGIN_DIR_PATH - assumed 'MMWEA_PLUGIN_DIR_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/mobile-enquiry-and-alert-message-for-woocommerce/admin/options.php on line 4
- > PHP Warning
include(MMWEA_PLUGIN_DIR_PATHadmin/setting/general-setting.php): failed to open stream: No such file or directory in wp-content/plugins/mobile-enquiry-and-alert-message-for-woocommerce/admin/options.php on line 3
- > PHP Warning
Use of undefined constant MMWEA_PLUGIN_DIR_PATH - assumed 'MMWEA_PLUGIN_DIR_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/mobile-enquiry-and-alert-message-for-woocommerce/admin/options.php on line 3
- > PHP Warning
include(MMWEA_PLUGIN_DIR_PATHadmin/setting/account-page-setting.php): failed to open stream: No such file or directory in wp-content/plugins/mobile-enquiry-and-alert-message-for-woocommerce/admin/options.php on line 8
- > PHP Warning
Use of undefined constant MMWEA_PLUGIN_DIR_PATH - assumed 'MMWEA_PLUGIN_DIR_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/mobile-enquiry-and-alert-message-for-woocommerce/admin/options.php on line 6
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/mobile-enquiry-and-alert-message-for-woocommerce/customizer/customizer-library/style-builder.php:267
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 93% 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
These attributes need your attention:
- Screenshots: These screenshots require images: #1 (General setting), #2 (Single product page setting), #3 (Cart page setting), #4 (Checkout page setting), #5 (Order page seting), #6 (Myaccount page setting), #7 (Design element setting), #8 (Whatsapp message body for single product), #9 (Whatsapp message body for Cart & Checkout), #10 (Whatsapp message body for Order), #11 (Whatsapp message body for my account)
mobile-enquiry-and-alert-message-for-woocommerce/mobile-enquiry-and-alert-message-for-woocommerce.php 92% from 13 tests
The principal PHP file in "Mobile Enquiry and Alert Message for Woocommerce" v. 1.5 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 149 characters long)
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
Good job! No executable or dangerous file extensions detected7,500 lines of code in 24 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 3 | 1,298 | 348 | 4,911 |
PHP | 17 | 716 | 273 | 2,425 |
CSS | 3 | 36 | 6 | 163 |
SVG | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.55 |
Average class complexity | 19.50 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 37.00 |
Average method complexity | 3.94 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.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 | 63 | |
▷ Static methods | 2 | 3.17% |
▷ Public methods | 61 | 96.83% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 3.17% |
Functions | 28 | |
▷ Named functions | 18 | 64.29% |
▷ Anonymous functions | 10 | 35.71% |
Constants | 3 | |
▷ Global constants | 3 | 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
There are no PNG files in this plugin