Showing 36 of 66 total issues
Avoid deeply nested control flow statements. Open
Open
for (key in cmd.confirmProps) {
self.test.assertAnd(cmd.confirmProps[key], msg[key], 'checking for property: '+key);
}
Avoid deeply nested control flow statements. Open
Open
if (!msg) {
msg = p + ": "+ a[p] + " not in second object";
}
Avoid deeply nested control flow statements. Open
Open
} else if ((cmd.expected !== undefined) && ((cmd.receivedConfirm) || (typeof cmd.confirmProps === 'undefined'))) {
// either confirmation received already, or not expected, continue with
// check
//console.log('actual response: ', message.utf8Data);
Avoid deeply nested control flow statements. Open
Open
if (self.test.result() !== false) {
console.log('RECEIVED CONFIRM');
cmd.receivedConfirm = true;
}
Avoid too many return
statements within this function. Open
Open
return false;
Avoid too many return
statements within this function. Open
Open
return false;
Avoid too many return
statements within this function. Open
Open
return false;
Avoid too many return
statements within this function. Open
Open
return true;
Avoid too many return
statements within this function. Open
Open
return true;
Avoid too many return
statements within this function. Open
Open
return true;
Avoid too many return
statements within this function. Open
Open
return false;
Avoid too many return
statements within this function. Open
Open
return false;
Avoid too many return
statements within this function. Open
Open
return false;
Avoid too many return
statements within this function. Open
Open
return true;
Avoid too many return
statements within this function. Open
Open
return false;
Avoid too many return
statements within this function. Open
Open
return true;