Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▼8.74ms] Passed 4 tests
A check of server-side resources used by Live Chat Free for WordPress by Customerly
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 38.25 ▼0.25 |
Dashboard /wp-admin | 3.37 ▲0.03 | 44.75 ▼13.56 |
Posts /wp-admin/edit.php | 3.49 ▲0.13 | 50.32 ▲0.39 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.09 | 86.14 ▼16.53 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 36.26 ▼4.61 |
Server storage [IO: ▲13.66MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 58 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Live Chat Free for WordPress by Customerly
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,903 ▲132 | 16.63 ▲2.25 | 54.18 ▲52.35 | 40.20 ▲0.72 |
Dashboard /wp-admin | 2,298 ▲110 | 5.02 ▼0.83 | 112.06 ▲5.10 | 89.68 ▲46.76 |
Posts /wp-admin/edit.php | 2,183 ▲97 | 2.09 ▲0.11 | 42.03 ▲7.11 | 41.48 ▲9.12 |
Add New Post /wp-admin/post-new.php | 1,758 ▲91 | 22.50 ▲0.30 | 765.50 ▲76.20 | 38.43 ▼36.03 |
Media Library /wp-admin/upload.php | 1,480 ▲92 | 4.23 ▲0.13 | 100.39 ▼19.32 | 71.86 ▲23.79 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 0% 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
Almost there! Just fix the following items
- 4× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/customerly/pages/newsletter.php
- > /wp-content/plugins/customerly/pages/chat-triggers.php
- > /wp-content/plugins/customerly/pages/workflow.php
- > /wp-content/plugins/customerly/pages/crm.php
- 16× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/customerly/pages/integrations.php:3
- > PHP Warning
include_once(): Failed opening 'CUSTOMERLY_CHAT_INCLUDES_PATH/headers.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/customerly/pages/chat-triggers.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/customerly/pages/configured.php:3
- > PHP Warning
include_once(): Failed opening 'CUSTOMERLY_CHAT_INCLUDES_PATH/headers.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/customerly/pages/crm.php on line 2
- > PHP Warning
Use of undefined constant CUSTOMERLY_CHAT_INCLUDES_PATH - assumed 'CUSTOMERLY_CHAT_INCLUDES_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/customerly/pages/crm.php on line 2
- > PHP Warning
include_once(): Failed opening 'CUSTOMERLY_CHAT_INCLUDES_PATH/headers.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/customerly/pages/newsletter.php on line 2
- > PHP Warning
Use of undefined constant CUSTOMERLY_CHAT_INCLUDES_PATH - assumed 'CUSTOMERLY_CHAT_INCLUDES_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/customerly/pages/newsletter.php on line 2
- > PHP Warning
include_once(CUSTOMERLY_CHAT_INCLUDES_PATH/headers.php): failed to open stream: No such file or directory in wp-content/plugins/customerly/pages/newsletter.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/customerly/pages/mobile.php:7
- > PHP Warning
Use of undefined constant CUSTOMERLY_CHAT_INCLUDES_PATH - assumed 'CUSTOMERLY_CHAT_INCLUDES_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/customerly/pages/workflow.php on line 2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Please fix the following attributes:
- Tags: Too many tags (16 tag instead of maximum 10); only the first 5 tags are used in your directory listing
customerly/customerly-plugin.php 92% from 13 tests
The entry point to "Live Chat Free for WordPress by Customerly" version 2.5.3 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("customerly.php" instead of "customerly-plugin.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected1,081 lines of code in 23 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 15 | 222 | 175 | 645 |
CSS | 2 | 56 | 6 | 268 |
JavaScript | 2 | 30 | 2 | 104 |
SVG | 3 | 0 | 2 | 50 |
PO File | 1 | 0 | 0 | 14 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 8.25 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 17.00 |
Average method complexity | 2.21 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 24 | |
▷ Static methods | 1 | 4.17% |
▷ Public methods | 22 | 91.67% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 8.33% |
Functions | 13 | |
▷ Named functions | 13 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 5 | 83.33% |
▷ Class constants | 1 | 16.67% |
▷ Public constants | 1 | 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
10 compressed PNG files occupy 0.43MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/icon@2x.png | 1.77KB | 1.64KB | ▼ 7.24% |
assets/img/customers/Customer_support_live_chat_software_people_customers_feedback_ninjalitics.png | 61.98KB | 67.44KB | 0.00% |
assets/img/customers/Customer_support_live_chat_software_people_customers_feedback_shampora.png | 55.60KB | 59.31KB | 0.00% |
assets/img/download-play.png | 13.63KB | 6.37KB | ▼ 53.29% |
assets/img/customers/Customer_support_live_chat_software_people_customers_feedback_Raffaele_gaito.png | 72.87KB | 79.81KB | 0.00% |