89% kp-fastest-tidio-chat

Code Review | KP Fastest Tidio Chat

WordPress plugin KP Fastest Tidio Chat scored89%from 54 tests.

About plugin

  • Plugin page: kp-fastest-tidio-...
  • Plugin version: 1.0.4
  • PHP compatiblity: 5.2.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 3.2-5.7.1
  • WordPress version: 6.3.1
  • First release: Jul 24, 2019
  • Latest release: Apr 15, 2021
  • Number of updates: 14
  • Update frequency: every 45.1 days
  • Top authors: kreativopro (100%)

Code review

54 tests

User reviews

11 reviews

Install metrics

400+ active /5,134 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors

Server metrics [RAM: ▲0.04MB] [CPU: ▼1.75ms] Passed 4 tests

Server-side resources used by KP Fastest Tidio Chat
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.51 ▲0.0538.46 ▼1.75
Dashboard /wp-admin3.34 ▲0.0452.67 ▲0.36
Posts /wp-admin/edit.php3.39 ▲0.0454.48 ▲3.60
Add New Post /wp-admin/post-new.php5.94 ▲0.0691.31 ▼6.67
Media Library /wp-admin/upload.php3.27 ▲0.0440.93 ▲1.07
KP Fastest Tidio Chat /wp-admin/options-general.php?page=kpftc3.2436.52

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

A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 11 new files
Database: no new tables, 12 new options
New WordPress options
widget_theysaidso_widget
widget_recent-posts
kpftc_delay_time
KPFTC_VERSION
kpftc_chat_enabled
theysaidso_admin_options
can_compress_scripts
kpftc_chat_link
db_upgraded
kpftc_excluded_pages
...

Browser metrics Passed 4 tests

KP Fastest Tidio Chat: an overview of browser usage
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,840 ▲7914.57 ▲0.281.77 ▲0.0639.23 ▼4.69
Dashboard /wp-admin2,204 ▲275.70 ▲0.1386.29 ▼16.1939.05 ▼3.87
Posts /wp-admin/edit.php2,109 ▲92.00 ▲0.0140.78 ▲1.6735.10 ▼2.14
Add New Post /wp-admin/post-new.php1,534 ▲323.48 ▲0.33671.97 ▼11.2755.04 ▲0.54
Media Library /wp-admin/upload.php1,403 ▲34.30 ▲0.1096.26 ▼15.5941.29 ▼5.88
KP Fastest Tidio Chat /wp-admin/options-general.php?page=kpftc9212.0224.5843.43

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
You still need to fix the following
  • Zombie WordPress options detected upon uninstall: 6 options
    • can_compress_scripts
    • widget_recent-posts
    • widget_recent-comments
    • db_upgraded
    • theysaidso_admin_options
    • widget_theysaidso_widget

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test

SRP Passed 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
The SRP test was a success

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Please fix the following attributes:
  • Tags: Please delete some tags, you are using 22 tag instead of maximum 10
You can look at the official readme.txt

kp-fastest-tidio-chat/kp-fastest-tidio-chat.php 92% from 13 tests

Analyzing the main PHP file in "KP Fastest Tidio Chat" version 1.0.4
Please make the necessary changes and fix the following:
  • Domain Path: The domain path points to an invalid folder, "/languages" does not exist

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
No dangerous file extensions were detected306 lines of code in 9 files:
LanguageFilesBlank linesComment linesLines of code
PHP77066232
JavaScript14039
CSS17035

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.33
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%
Functions12
▷ Named functions12100.00%
▷ Anonymous functions00.00%
Constants5
▷ Global constants5100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
1 PNG file occupies 0.27MB with 0.18MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant
FileSize - originalSize - compressedSavings
assets/images/kreativo-pro.png280.94KB96.60KB▼ 65.61%