83% atonce-live-chat-crm-helpdesk-help-center-customer-service-automation

Code Review | AtOnce - Live Chat, CRM & Helpdesk - Help Center & Customer Service Automation

WordPress plugin AtOnce - Live Chat, CRM & Helpdesk - Help Center & Customer Service Automation scored83%from 54 tests.

About plugin

  • Plugin page: atonce-live-chat-...
  • Plugin version: 1.0
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.7-6.0
  • WordPress version: 6.3.1
  • First release: Sep 23, 2022
  • Latest release: Oct 22, 2022
  • Number of updates: 7
  • Update frequency: every 4.1 days
  • Top authors: atonce (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /221 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully

Server metrics [RAM: ▲0.03MB] [CPU: ▼2.40ms] Passed 4 tests

Server-side resources used by AtOnce - Live Chat, CRM & Helpdesk - Help Center & Customer Service Automation
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.49 ▲0.0342.84 ▼1.96
Dashboard /wp-admin3.34 ▲0.0447.16 ▼2.04
Posts /wp-admin/edit.php3.39 ▲0.0451.61 ▼0.24
Add New Post /wp-admin/post-new.php5.92 ▲0.0387.65 ▼5.37
Media Library /wp-admin/upload.php3.26 ▲0.0334.56 ▲2.92

Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests

Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options
widget_theysaidso_widget
widget_recent-posts
can_compress_scripts
theysaidso_admin_options
db_upgraded
widget_recent-comments

Browser metrics Passed 4 tests

AtOnce - Live Chat, CRM & Helpdesk - Help Center & Customer Service Automation: an overview of browser usage
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,816 ▲8113.72 ▼0.581.61 ▼0.3237.64 ▼10.89
Dashboard /wp-admin2,225 ▲345.86 ▲0.98110.58 ▲5.4936.83 ▼9.52
Posts /wp-admin/edit.php2,108 ▲192.02 ▼0.0039.44 ▲3.5434.73 ▼2.25
Add New Post /wp-admin/post-new.php1,533 ▲1423.41 ▲0.36630.36 ▲8.8456.76 ▲12.03
Media Library /wp-admin/upload.php1,401 ▲164.28 ▲0.0597.74 ▼3.2041.00 ▼2.37

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • widget_recent-posts
    • theysaidso_admin_options
    • db_upgraded
    • widget_theysaidso_widget
    • can_compress_scripts
    • widget_recent-comments

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
Everything seems fine, however this is by no means an exhaustive test

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
Please fix the following
  • 1× PHP files trigger errors when accessed directly with GET requests:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/atonce-live-chat-crm-helpdesk-help-center-customer-service-automation/atonce-live-chat.php:54

User-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration 90% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that require attention:
  • Tags: Too many tags (11 tag instead of maximum 10); only the first 5 tags are used in your directory listing
Please take inspiration from this readme.txt

atonce-live-chat-crm-helpdesk-help-center-customer-service-automation/atonce-live-chat.php 85% from 13 tests

The primary PHP file in "AtOnce - Live Chat, CRM & Helpdesk - Help Center & Customer Service Automation" version 1.0 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
  • Plugin Name: It is recommended to keep the plugin name shorter than 70 characters (currently 78 characters long)
  • Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("atonce-live-chat-crm-helpdesk-help-center-customer-service-automation.php" instead of "atonce-live-chat.php")

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
There were no executable files found in this plugin172 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP15974172

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.39
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes0
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
Methods0
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions10
▷ Named functions10100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin