78% quixchat-button

Code Review | Floating Chat Button : Contact Chat Icons, Telegram Chat, Line Messenger, WeChat, Email, SMS, Call Button – QuixChat

WordPress plugin Floating Chat Button : Contact Chat Icons, Telegram Chat, Line Messenger, WeChat, Email, SMS, Call Button – QuixChat scored 78% from 54 tests.

About plugin

  • Plugin page: quixchat-button
  • Plugin version: 3.5
  • PHP compatiblity: 5.5+
  • PHP version: 7.4.16
  • WordPress version: 6.3.1
  • First release: Mar 27, 2021
  • Latest release: May 25, 2023
  • Number of updates: 160
  • Update frequency: every 4.9 days
  • Top authors: infotheme.com (100%)

Code review

54 tests

User reviews

4 reviews

Install metrics

100+ active / 3,220 total downloads

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
This plugin's installer ran successfully

Server metrics [RAM: ▲0.01MB] [CPU: ▼8.84ms] Passed 4 tests

Server-side resources used by Floating Chat Button : Contact Chat Icons, Telegram Chat, Line Messenger, WeChat, Email, SMS, Call Button – QuixChat
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0136.67 ▼12.71
Dashboard /wp-admin3.32 ▲0.0145.13 ▼16.05
Posts /wp-admin/edit.php3.37 ▲0.0144.17 ▼1.88
Add New Post /wp-admin/post-new.php5.90 ▲0.0184.42 ▼4.70
Media Library /wp-admin/upload.php3.24 ▲0.0136.42 ▼0.03

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

Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options
db_upgraded
widget_recent-comments
widget_theysaidso_widget
theysaidso_admin_options
widget_recent-posts
can_compress_scripts

Browser metrics Passed 4 tests

An overview of browser requirements for Floating Chat Button : Contact Chat Icons, Telegram Chat, Line Messenger, WeChat, Email, SMS, Call Button – QuixChat
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,816 ▲8113.29 ▼1.291.46 ▼0.4140.75 ▼9.70
Dashboard /wp-admin2,222 ▲344.84 ▼0.20106.63 ▼9.6340.01 ▼1.88
Posts /wp-admin/edit.php2,105 ▲162.02 ▲0.0534.35 ▲0.5632.16 ▼5.53
Add New Post /wp-admin/post-new.php1,551 ▲823.29 ▲4.75632.12 ▼20.7961.22 ▲16.83
Media Library /wp-admin/upload.php1,404 ▲194.17 ▲0.0193.97 ▼7.4442.82 ▲0.01

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
  • This plugin does not fully uninstall, leaving 6 options in the database
    • theysaidso_admin_options
    • can_compress_scripts
    • db_upgraded
    • widget_recent-comments
    • widget_theysaidso_widget
    • widget_recent-posts

Smoke tests 50% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested

SRP 0% 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
Please take a closer look at the following
  • 1× PHP files output text when accessed directly:
    • > /wp-content/plugins/quixchat-button/it_quixchat.php
  • 3× PHP files trigger errors when accessed directly with GET requests:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/quixchat-button/inc/quixchat.php:10
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/quixchat-button/inc/backend.php:4
    • > PHP Fatal error
      Uncaught Error: Call to undefined function get_option() in wp-content/plugins/quixchat-button/inc/frontend.php:10

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 90% from 29 tests

readme.txt 88% from 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need your attention:
  • Requires at least: The plugin version is formatted incorrectly
  • Tags: Please reduce the number of tags, currently 13 tag instead of maximum 10
You can take inspiration from this readme.txt

quixchat-button/it_quixchat.php 92% from 13 tests

The primary PHP file in "Floating Chat Button : Contact Chat Icons, Telegram Chat, Line Messenger, WeChat, Email, SMS, Call Button – QuixChat" version 3.5 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
  • Main file name: The principal plugin file should be the same as the plugin slug ("quixchat-button.php" instead of "it_quixchat.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 detected207 lines of code in 6 files:
LanguageFilesBlank linesComment linesLines of code
PHP44024178
CSS26129

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.34
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%
Functions8
▷ Named functions8100.00%
▷ Anonymous functions00.00%
Constants2
▷ Global constants2100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Using a strong compression for your PNG files is a great way to speed-up your plugin
2 compressed PNG files occupy 0.05MB
Potential savings
Compression of 2 random PNG files using pngquant
FileSize - originalSize - compressedSavings
assets/img/brand_logo.png24.11KB24.15KB0.00%
assets/img/quxchat_logo.png23.34KB23.36KB0.00%