Showing 217 of 365 total issues
Avoid too many return
statements within this function. Open
Open
return {
len: len,
objectId: objectId,
property: property,
values: values
Avoid too many return
statements within this function. Open
Open
if (!result) return debug('Received invalid deleteObject message');
Avoid too many return
statements within this function. Open
Open
if (result.tagNumber !== 1) return;
Avoid too many return
statements within this function. Open
Open
if (!baAsn1.decodeIsOpeningTagNumber(buffer, offset + len, 4)) return;
Avoid too many return
statements within this function. Open
Open
if (!result) return debug('Received invalid lifeSafetyOperation message');
Avoid too many return
statements within this function. Open
Open
if (result.tagNumber !== baEnum.ApplicationTags.UNSIGNED_INTEGER) return;
Avoid too many return
statements within this function. Open
Open
if (!result) return debug('Received invalid getEntrollmentSummary message');
Avoid too many return
statements within this function. Open
Open
if (!result) return debug('Received invalid removeListElement message');
Avoid too many return
statements within this function. Open
Open
if (!decodedValue) return;
Avoid too many return
statements within this function. Open
Open
return;
Avoid too many return
statements within this function. Open
Open
if (len < apduLen) return;
Avoid too many return
statements within this function. Open
Open
if (!result) return debug('Received invalid TimeSyncUTC message');
Avoid too many return
statements within this function. Open
Open
if (result.tagNumber !== baEnum.ApplicationTags.UNSIGNED_INTEGER) return;
Avoid too many return
statements within this function. Open
Open
if (eventData.priority > 0xFF) return;
Avoid too many return
statements within this function. Open
Open
return {
len: len,
isStream: isStream,
objectId: objectId,
position: position,
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, 1)) return;
Avoid too many return
statements within this function. Open
Open
if (result.value > baEnum.Segmentation.NO_SEGMENTATION) return;
Avoid too many return
statements within this function. Open
Open
if (!baAsn1.decodeIsContextTag(buffer, offset + len, 0)) return;
Avoid too many return
statements within this function. Open
Open
if (result.tagNumber !== baEnum.ApplicationTags.UNSIGNED_INTEGER) return;