Benchmarks
Plugin footprint 48% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▼0.72MB] [CPU: ▼30.84ms] Passed 4 tests
Server-side resources used by Live Chat Marketing Automation
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.68 ▲0.21 | 47.80 ▲9.20 |
Dashboard /wp-admin | 3.23 ▼0.11 | 24.76 ▼31.59 |
Posts /wp-admin/edit.php | 3.23 ▼0.12 | 24.08 ▼24.00 |
Add New Post /wp-admin/post-new.php | 3.23 ▼2.65 | 24.38 ▼61.12 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 24.79 ▼6.65 |
Facebook Chat settings /wp-admin/edit.php?post_type=azr_rule&page=azh-fb-settings | 3.21 | 22.83 |
Server storage [IO: ▲0.05MB] [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: 3 new files
Database: 3 new tables, 6 new options
New tables |
---|
wp_azr_fb_visitors |
wp_azr_fb_history |
wp_azr_fb_campaigns |
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
Live Chat Marketing Automation: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,805 ▲44 | 14.25 ▼0.37 | 1.72 ▼0.03 | 41.66 ▼3.26 |
Dashboard /wp-admin | 2,214 ▲33 | 5.62 ▼0.05 | 83.24 ▼16.50 | 46.47 ▲7.31 |
Posts /wp-admin/edit.php | 2,116 ▲16 | 2.03 ▲0.02 | 35.91 ▼4.85 | 36.70 ▼0.16 |
Add New Post /wp-admin/post-new.php | 1,537 ▲2 | 23.11 ▲4.95 | 672.86 ▲69.99 | 60.09 ▲6.65 |
Media Library /wp-admin/upload.php | 1,419 ▲19 | 4.20 ▼0.03 | 96.41 ▲0.06 | 45.96 ▲3.72 |
Facebook Chat settings /wp-admin/edit.php?post_type=azr_rule&page=azh-fb-settings | 28 | 0.42 | 0.08 | 4.93 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 25% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- This plugin did not uninstall without warnings or errors
- > Notice in wp-content/plugins/azexo-facebook-live-chat/azh_facebook_live_chat.php+475
Undefined index: mode
- This plugin does not fully uninstall, leaving 3 tables in the database
- wp_azr_fb_campaigns
- wp_azr_fb_history
- wp_azr_fb_visitors
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested
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
The following issues need your attention
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/azexo-facebook-live-chat/azh_facebook_live_chat.php:11
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please take a look at the following user-side issues
- > GET request to /wp-admin/edit.php?post_type=azr_rule&page=azh-fb-settings
- > Network (severe)
wp-admin/edit.php?post_type=azr_rule&page=azh-fb-settings - Failed to load resource: the server responded with a status of 403 (Forbidden)
Optimizations
Plugin configuration 90% 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:
- Tags: There are too many tags (13 tag instead of maximum 10)
azexo-facebook-live-chat/azh_facebook_live_chat.php 85% from 13 tests
The primary PHP file in "Live Chat Marketing Automation" version 1.27.4 is used by WordPress to initiate all plugin functionality
You should first fix the following items:
- Main file name: The principal plugin file should be the same as the plugin slug ("azexo-facebook-live-chat.php" instead of "azh_facebook_live_chat.php")
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Everything looks great! No dangerous files found in this plugin1,113 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 98 | 12 | 1,113 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.50 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 44 | |
▷ Named functions | 39 | 88.64% |
▷ Anonymous functions | 5 | 11.36% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
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
There were not PNG files found in your plugin