Uniqueness check
Full path to the JavaScript file
public/src/client/login.js
Function(s)/scope targeted
init()
Relevant Qlty output
public/src/client/login.js
Function with high complexity (count = 13): init
9 Login.init = function () {
10 const errorEl = $('#login-error-notify');
11 const submitEl = $('#login');
12 const formEl = $('#login-form');
13
14 submitEl.on('click', async function (e) {
[hid 83 additional lines]
Uniqueness check
Full path to the JavaScript file
public/src/client/login.js
Function(s)/scope targeted
init()
Relevant Qlty output
public/src/client/login.js Function with high complexity (count = 13): init 9 Login.init = function () { 10 const errorEl = $('#login-error-notify'); 11 const submitEl = $('#login'); 12 const formEl = $('#login-form'); 13 14 submitEl.on('click', async function (e) { [hid 83 additional lines]