Benchmarks
Plugin footprint 23% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Please fix the following installer errors
- The plugin cannot be installed
- > User notice in wp-includes/functions.php+5905
Function register_uninstall_hook was called incorrectly. Only a static class method or function can be used in an uninstall hook. Please see Debugging in WordPress for more information. (This message was added in version 3.1.0.)
Server metrics [RAM: ▼1.92MB] [CPU: ▼51.72ms] Passed 4 tests
A check of server-side resources used by Hello24 - Order on Chat, Abandoned cart recovery & Marketing Automation
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.08 ▼1.38 | 4.14 ▼35.58 |
Dashboard /wp-admin | 2.10 ▼1.24 | 5.69 ▼55.98 |
Posts /wp-admin/edit.php | 2.10 ▼1.25 | 6.04 ▼36.87 |
Add New Post /wp-admin/post-new.php | 2.10 ▼3.78 | 5.72 ▼78.46 |
Media Library /wp-admin/upload.php | 2.10 ▼1.13 | 6.07 ▼23.97 |
Server storage [IO: ▲0.20MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 16 new files
Database: 2 new tables, 6 new options
New tables |
---|
wp_h24_abandonment |
wp_h24_setting |
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for Hello24 - Order on Chat, Abandoned cart recovery & Marketing Automation
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,803 ▲56 | 14.13 ▼0.21 | 1.89 ▲0.20 | 42.04 ▼1.99 |
Dashboard /wp-admin | 2,211 ▲34 | 5.62 ▼0.06 | 93.01 ▼6.81 | 39.28 ▼6.56 |
Posts /wp-admin/edit.php | 2,116 ▲16 | 2.10 ▲0.13 | 40.07 ▼0.54 | 36.75 ▲1.38 |
Add New Post /wp-admin/post-new.php | 1,548 ▲17 | 25.51 ▲2.61 | 611.07 ▼41.98 | 76.94 ▲17.42 |
Media Library /wp-admin/upload.php | 1,413 ▲10 | 4.21 ▲0.01 | 99.19 ▲0.27 | 41.45 ▼0.53 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 25% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- Uninstall procedure had uncaught errors
- > User notice in wp-includes/functions.php+5905
Function register_uninstall_hook was called incorrectly. Only a static class method or function can be used in an uninstall hook. Please see Debugging in WordPress for more information. (This message was added in version 3.1.0.)
- This plugin does not fully uninstall, leaving 1 table in the database
- wp_h24_setting
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
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
Please take a closer look at the following
- 10× PHP files trigger errors when accessed directly with GET requests:
- > PHP Warning
Use of undefined constant WP_H24_DIR - assumed 'WP_H24_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/hello24-order-on-chat-abandoned-cart-recovery-marketing-automation/modules/cart-abandonment/class-h24-module-loader.php on line 46
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/hello24-order-on-chat-abandoned-cart-recovery-marketing-automation/classes/class-h24-loader.php:78
- > PHP Warning
Use of undefined constant WP_H24_DIR - assumed 'WP_H24_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/hello24-order-on-chat-abandoned-cart-recovery-marketing-automation/modules/cart-abandonment/class-h24-cart-abandonment.php on line 495
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/hello24-order-on-chat-abandoned-cart-recovery-marketing-automation/classes/class-h24-settings.php:26
- > PHP Warning
Use of undefined constant WP_H24_URL - assumed 'WP_H24_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/hello24-order-on-chat-abandoned-cart-recovery-marketing-automation/modules/cart-abandonment/class-h24-cart-abandonment.php on line 496
- > PHP Warning
include_once(WP_H24_DIRmodules/cart-abandonment/class-h24-cart-abandonment.php): failed to open stream: No such file or directory in wp-content/plugins/hello24-order-on-chat-abandoned-cart-recovery-marketing-automation/modules/cart-abandonment/class-h24-module-loader.php on line 46
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/hello24-order-on-chat-abandoned-cart-recovery-marketing-automation/classes/class-h24-loader.php:78
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html__() in wp-content/plugins/hello24-order-on-chat-abandoned-cart-recovery-marketing-automation/modules/cart-abandonment/includes/admin/h24-admin-settings.php:92
- > PHP Warning
include_once(): Failed opening 'WP_H24_DIRmodules/cart-abandonment/class-h24-cart-abandonment.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/hello24-order-on-chat-abandoned-cart-recovery-marketing-automation/modules/cart-abandonment/class-h24-module-loader.php on line 46
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/hello24-order-on-chat-abandoned-cart-recovery-marketing-automation/modules/cart-abandonment/class-h24-cart-abandonment.php:43
- > PHP Warning
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 90% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
5 plugin tags: woocommerce order on whatsapp, abandoned cart, whatsapp button, whatsapp api, click to chat
hello24-order-on-chat-abandoned-cart-recovery-marketing-automation/hello24-order-on-chat-apps.php 77% from 13 tests
The main file in "Hello24 - Order on Chat, Abandoned cart recovery & Marketing Automation" v. 1.6.7 serves as a complement to information provided in readme.txt and as the entry point to the plugin
It is important to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("hello24-order-on-chat-abandoned-cart-recovery-marketing-automation.php" instead of "hello24-order-on-chat-apps.php")
- Plugin Name: Please don't use more than 70 characters for the plugin name (currently 71 characters long)
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected3,578 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 652 | 385 | 2,959 |
JavaScript | 3 | 111 | 23 | 619 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 37.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 197.00 |
Average method complexity | 3.33 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 31.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 1 | 14.29% |
Methods | 109 | |
▷ Static methods | 13 | 11.93% |
▷ Public methods | 105 | 96.33% |
▷ Protected methods | 3 | 2.75% |
▷ Private methods | 1 | 0.92% |
Functions | 34 | |
▷ Named functions | 1 | 2.94% |
▷ Anonymous functions | 33 | 97.06% |
Constants | 18 | |
▷ Global constants | 18 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin