89% myaliceai

Code Review | Social Live Chat Helpdesk – MyAlice

WordPress plugin Social Live Chat Helpdesk – MyAlice scored89%from 54 tests.

About plugin

  • Plugin page: myaliceai
  • Plugin version: 2.4.0
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-6.4
  • WordPress version: 6.3.1
  • First release: May 26, 2021
  • Latest release: Nov 7, 2023
  • Number of updates: 32
  • Update frequency: every 28.1 days
  • Top authors: rudlinkon (75%)limon213 (28.13%)

Code review

54 tests

User reviews

39 reviews

Install metrics

100+ active /6,529 total downloads

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.33MB] [CPU: ▲3.82ms] Passed 4 tests

A check of server-side resources used by Social Live Chat Helpdesk – MyAlice
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.78 ▲0.3236.35 ▼3.48
Dashboard /wp-admin3.65 ▲0.3550.28 ▲1.59
Posts /wp-admin/edit.php3.75 ▲0.3957.93 ▲9.83
Add New Post /wp-admin/post-new.php6.19 ▲0.30103.55 ▲14.32
Media Library /wp-admin/upload.php3.57 ▲0.3439.97 ▲7.32

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

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

Browser metrics Passed 4 tests

This is an overview of browser requirements for Social Live Chat Helpdesk – MyAlice
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,969 ▲20714.37 ▼0.001.74 ▲0.1229.63 ▼18.02
Dashboard /wp-admin2,359 ▲1815.59 ▼0.0793.26 ▼21.1787.94 ▲43.84
Posts /wp-admin/edit.php2,285 ▲1852.15 ▲0.1439.67 ▲2.4737.64 ▲3.44
Add New Post /wp-admin/post-new.php1,699 ▲17323.23 ▲0.36675.47 ▲24.2550.94 ▼0.89
Media Library /wp-admin/upload.php1,582 ▲1794.44 ▲0.24103.80 ▲4.1579.06 ▲35.62

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
  • Zombie WordPress options were found after uninstall: 6 options
    • db_upgraded
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • widget_recent-posts
    • widget_recent-comments
    • can_compress_scripts

Smoke tests Passed 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)
Even though no errors were found, this is by no means an exhaustive test

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

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 93% 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 (12 tag instead of maximum 10)
You can look at the official readme.txt

myaliceai/myaliceai.php 92% from 13 tests

"Social Live Chat Helpdesk – MyAlice" version 2.4.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
The following require your attention:
  • Description: Keep the plugin description shorter than 140 characters (currently 189 characters long)

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
There were no executable files found in this plugin2,749 lines of code in 15 files:
LanguageFilesBlank linesComment linesLines of code
PHP115383392,605
SVG300116
JavaScript17128

PHP code Passed 2 tests

Analyzing cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.42
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%
Functions43
▷ Named functions2762.79%
▷ Anonymous functions1637.21%
Constants18
▷ Global constants18100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
2 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant
FileSize - originalSize - compressedSavings
images/migration-notice-bg-2.png13.50KB5.42KB▼ 59.85%
images/team-placeholder.png2.49KB1.85KB▼ 25.50%