Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.15MB] [CPU: ▼3.01ms] Passed 4 tests
Analyzing server-side resources used by Facebook Chat Plugin - Live Chat Plugin for WordPress
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.14 | 38.68 ▼3.12 |
Dashboard /wp-admin | 3.44 ▲0.14 | 52.74 ▲1.95 |
Posts /wp-admin/edit.php | 3.56 ▲0.20 | 43.81 ▼1.68 |
Add New Post /wp-admin/post-new.php | 6.04 ▲0.16 | 89.61 ▼7.16 |
Media Library /wp-admin/upload.php | 3.37 ▲0.14 | 35.43 ▼0.07 |
Facebook Chat /wp-admin/options-general.php?page=facebook-messenger-customer-chat | 3.35 | 33.97 |
Server storage [IO: ▲0.42MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 66 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Facebook Chat Plugin - Live Chat Plugin for WordPress
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,828 ▲93 | 13.62 ▼0.76 | 4.79 ▲3.07 | 43.05 ▲4.17 |
Dashboard /wp-admin | 2,234 ▲45 | 4.85 ▼0.05 | 109.48 ▼11.24 | 39.48 ▼6.90 |
Posts /wp-admin/edit.php | 2,117 ▲31 | 2.06 ▲0.00 | 35.27 ▼4.29 | 32.73 ▼1.89 |
Add New Post /wp-admin/post-new.php | 1,536 ▲22 | 23.35 ▲5.63 | 710.21 ▲75.84 | 62.68 ▲1.56 |
Media Library /wp-admin/upload.php | 1,413 ▲31 | 4.27 ▲0.03 | 98.28 ▲3.29 | 41.01 ▼0.97 |
Facebook Chat /wp-admin/options-general.php?page=facebook-messenger-customer-chat | 977 | 2.11 | 27.00 | 27.04 |
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: 6 options
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
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
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following items
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/facebook-messenger-customer-chat/facebook-messenger-customer-chat.php:44
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/facebook-messenger-customer-chat/options.php:19
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
6 plugin tags: chat plugin, messaging, customer care, chat, facebook...
facebook-messenger-customer-chat/facebook-messenger-customer-chat.php 92% from 13 tests
The entry point to "Facebook Chat Plugin - Live Chat Plugin for WordPress" version 2.5 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 476 characters long)
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
Good job! No executable or dangerous file extensions detected4,748 lines of code in 35 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 25 | 1,234 | 1,242 | 3,222 |
PHP | 4 | 191 | 351 | 898 |
JavaScript | 2 | 19 | 19 | 268 |
CSS | 1 | 42 | 7 | 223 |
Markdown | 2 | 39 | 0 | 110 |
JSON | 1 | 0 | 0 | 27 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 39.00 |
▷ Minimum class complexity | 13.00 |
▷ Maximum class complexity | 65.00 |
Average method complexity | 4.12 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 25 | |
▷ Static methods | 7 | 28.00% |
▷ Public methods | 25 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 8 | |
▷ Named functions | 7 | 87.50% |
▷ Anonymous functions | 1 | 12.50% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
3 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/chevron-down.png | 1.86KB | 0.18KB | ▼ 90.09% |
images/chevron-right.png | 1.85KB | 0.19KB | ▼ 89.72% |
images/chevron.png | 1.96KB | 0.29KB | ▼ 85.44% |