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
Install script ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼3.54ms] Passed 4 tests
Analyzing server-side resources used by HelpCrunch - Live Chat, Chatbot & Knowledge Base for Customer Service
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 43.27 ▲1.92 |
Dashboard /wp-admin | 3.35 ▲0.01 | 56.01 ▼8.43 |
Posts /wp-admin/edit.php | 3.46 ▲0.11 | 46.71 ▲1.03 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 96.68 ▼8.66 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 40.12 ▲2.14 |
HelpCrunch /wp-admin/options-general.php?page=helpcrunch | 3.24 | 32.37 |
Server storage [IO: ▲0.32MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 4 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
helpcrunch |
Browser metrics Passed 4 tests
HelpCrunch - Live Chat, Chatbot & Knowledge Base for Customer Service: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 13.21 ▼1.18 | 1.92 ▲0.20 | 45.90 ▲6.83 |
Dashboard /wp-admin | 2,210 ▲19 | 5.85 ▲0.80 | 107.36 ▼2.38 | 39.47 ▼4.57 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.02 ▼0.00 | 38.22 ▲0.68 | 31.21 ▼9.15 |
Add New Post /wp-admin/post-new.php | 1,517 ▼3 | 17.72 ▼5.53 | 687.12 ▲3.11 | 53.27 ▲4.48 |
Media Library /wp-admin/upload.php | 1,395 ▲4 | 4.15 ▼0.06 | 119.57 ▲2.05 | 49.46 ▲0.52 |
HelpCrunch /wp-admin/options-general.php?page=helpcrunch | 857 | 2.01 | 29.76 | 44.36 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- This plugin does not fully uninstall, leaving 7 options in the database
- helpcrunch
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 75% 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)
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Almost there! Just fix the following items
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/helpcrunch-live-chat/helpcrunch.php:445
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
6 plugin tags: chat, live chat, customer support, chatbot, customer service...
helpcrunch-live-chat/helpcrunch.php 92% from 13 tests
The principal PHP file in "HelpCrunch - Live Chat, Chatbot & Knowledge Base for Customer Service" v. 2.0.4 is loaded by WordPress automatically on each request
It is important to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("helpcrunch-live-chat.php" instead of "helpcrunch.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Everything looks great! No dangerous files found in this plugin265 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 51 | 130 | 265 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
Average class complexity | 4.50 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 5.00 |
Average method complexity | 1.61 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.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 | 23 | |
▷ Static methods | 2 | 8.70% |
▷ Public methods | 23 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
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
All PNG images should be compressed to minimize bandwidth usage for end users
2 compressed PNG files occupy 0.30MB
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/choose-helpcrunch-widget.png | 150.26KB | 155.35KB | 0.00% |
img/copy-helpcrunch-widget-code.png | 152.37KB | 159.90KB | 0.00% |