83% liquid-connect

Code Review | LIQUID CONNECT

WordPress plugin LIQUID CONNECT scored83%from 54 tests.

About plugin

  • Plugin page: liquid-connect
  • Plugin version: 1.1.6
  • PHP version: 7.4.16
  • WordPress compatibility: 4.1-6.1
  • WordPress version: 6.3.1
  • First release: Mar 6, 2018
  • Latest release: Nov 5, 2022
  • Number of updates: 17
  • Update frequency: every 101.1 days
  • Top authors: lqd (100%)

Code review

54 tests

User reviews

1 review

Install metrics

500+ active /4,265 total downloads

Benchmarks

Plugin footprint 82% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors

Server metrics [RAM: ▲0.16MB] [CPU: ▲983.33ms] 50% from 4 tests

This is a short check of server-side resources used by LIQUID CONNECT
It is recommended to improve the following
  • CPU: Total CPU usage should be kept under 500.00ms (currently 1,386.07ms on /wp-admin/options-general.php?page=liquid-connect)
  • Extra CPU: The extra CPU usage should be kept under 200.00ms (currently 983.33ms on /wp-admin/options-general.php?page=liquid-connect)
PageMemory (MB)CPU Time (ms)
Home /3.61 ▲0.1444.19 ▼1.79
Dashboard /wp-admin3.52 ▲0.221,316.78 ▲1,268.81
Posts /wp-admin/edit.php3.57 ▲0.211,373.89 ▲1,319.08
Add New Post /wp-admin/post-new.php6.04 ▲0.151,508.29 ▲1,400.01
Media Library /wp-admin/upload.php3.38 ▲0.151,383.69 ▲1,347.21
LIQUID CONNECT /wp-admin/options-general.php?page=liquid-connect3.351,386.07

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

Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 6 new files
Database: no new tables, 7 new options
New WordPress options
widget_recent-comments
theysaidso_admin_options
widget_recent-posts
widget_theysaidso_widget
db_upgraded
widget_liquid_connect
can_compress_scripts

Browser metrics Passed 4 tests

An overview of browser requirements for LIQUID CONNECT
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,910 ▲16413.58 ▼1.177.77 ▲5.7940.48 ▼4.94
Dashboard /wp-admin2,207 ▲285.81 ▼0.0397.11 ▼13.4440.58 ▼1.57
Posts /wp-admin/edit.php2,093 ▲41.94 ▼0.1033.33 ▼1.6136.99 ▲4.66
Add New Post /wp-admin/post-new.php1,517 ▲317.46 ▼0.27654.73 ▼39.9153.52 ▼14.24
Media Library /wp-admin/upload.php1,392 ▲44.09 ▼0.1691.26 ▼2.8542.04 ▲1.94
LIQUID CONNECT /wp-admin/options-general.php?page=liquid-connect8242.2024.5429.51

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
  • This plugin did not uninstall successfully, leaving 7 options in the database
    • widget_recent-posts
    • can_compress_scripts
    • widget_recent-comments
    • widget_liquid_connect
    • theysaidso_admin_options
    • db_upgraded
    • widget_theysaidso_widget

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
The smoke test was a success, however most plugin functionality was not tested

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
Please take a closer look at the following
  • 1× PHP files trigger server errors when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/liquid-connect/liquid-connect.php:40

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)
No browser errors were detected

Optimizations

Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
  • Tags: You are using too many tags: 20 tag instead of maximum 10
You can look at the official readme.txt

liquid-connect/liquid-connect.php Passed 13 tests

The main PHP file in "LIQUID CONNECT" ver. 1.1.6 adds more information about the plugin and also serves as the entry point for this plugin
51 characters long description:
LIQUID CONNECT is an engagement tool for web sites.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin712 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code
PHP12142504
PO File14754112
CSS16796

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.34
Average class complexity98.00
▷ Minimum class complexity98.00
▷ Maximum class complexity98.00
Average method complexity25.25
▷ Minimum method complexity1.00
▷ Maximum method complexity70.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods4
▷ Static methods00.00%
▷ Public methods4100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions9
▷ Named functions9100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.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
There were not PNG files found in your plugin