Showing 217 of 365 total issues
Avoid too many return
statements within this function. Open
Open
if (!result) return debug('Received invalid getEventInformation message');
Avoid too many return
statements within this function. Open
Open
if (result.tagNumber !== baEnum.ApplicationTags.SIGNED_INTEGER) return;
Avoid too many return
statements within this function. Open
Open
if (!value) return;
Avoid too many return
statements within this function. Open
Open
if (!baAsn1.decodeIsClosingTagNumber(buffer, offset + len, 0)) return;
Avoid too many return
statements within this function. Open
Open
if (!result) return debug('Received invalid subscribeCOV message');
Avoid too many return
statements within this function. Open
Open
if (!result) return debug('Received invalid TimeSync message');
Avoid too many return
statements within this function. Open
Open
if (!result) return debug('Received invalid EventNotify message');
Avoid too many return
statements within this function. Open
Open
return;
Avoid too many return
statements within this function. Open
Open
return {
len: len,
objectId: objectId,
values: _values
};
Avoid too many return
statements within this function. Open
Open
if (!baAsn1.decodeIsOpeningTagNumber(buffer, offset + len, 2)) return;
Avoid too many return
statements within this function. Open
Open
if (!result) return debug('Received invalid privateTransfer message');
Avoid too many return
statements within this function. Open
Open
if (!baAsn1.decodeIsClosingTagNumber(buffer, offset + len, 1)) return;
Avoid too many return
statements within this function. Open
Open
return;
Avoid too many return
statements within this function. Open
Open
if (!baAsn1.decodeIsClosingTagNumber(buffer, offset + len, 3)) return;
Avoid too many return
statements within this function. Open
Open
if (!baAsn1.decodeIsClosingTagNumber(buffer, offset + len, 3)) return;
Avoid too many return
statements within this function. Open
Open
return value;
Avoid too many return
statements within this function. Open
Open
if (!result) return debug('Received invalid atomicWriteFile message');
Avoid too many return
statements within this function. Open
Open
if (!result) return debug('Received invalid createObject message');
Avoid too many return
statements within this function. Open
Open
return {
len: len,
endOfFile: endOfFile,
isStream: isStream,
position: position,
Avoid too many return
statements within this function. Open
Open
return {
len: len,
isStream: isStream,
objectId: objectId,
position: position,