Showing 217 of 365 total issues
Avoid too many return
statements within this function. Open
Open
if (!result) return;
Avoid too many return
statements within this function. Open
Open
if (!decodeIsClosingTagNumber(buffer, offset + len, 4)) return;
Avoid too many return
statements within this function. Open
Open
if (!decodeIsClosingTagNumber(buffer, offset + len, 1)) return;
Avoid too many return
statements within this function. Open
Open
if (result.tagNumber !== 0) return;
Avoid too many return
statements within this function. Open
Open
return {
type: baEnum.ApplicationTags.OBJECT_PROPERTY_REFERENCE,
value: result.value,
len: result.len
};
Avoid too many return
statements within this function. Open
Open
if (result.tagNumber !== 4) return;
Avoid too many return
statements within this function. Open
Open
return {
type: baEnum.ApplicationTags.TIMESTAMP,
value: subEvtResult.value,
len: subEvtResult.len + 2
};
Avoid too many return
statements within this function. Open
Open
if ((len + tmp.value) >= apduLen) return;
Avoid too many return
statements within this function. Open
Open
if (!decodeIsClosingTagNumber(buffer, offset + len, 1)) return;
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 (!decodeIsClosingTagNumber(buffer, offset + len, 1)) return;
Avoid too many return
statements within this function. Open
Open
return {
type: baEnum.ApplicationTags.TIMESTAMP,
value: subEvtResult.value,
len: subEvtResult.len + 1
};
Avoid too many return
statements within this function. Open
Open
return {
type: baEnum.ApplicationTags.UNSIGNED_INTEGER,
value: subEvtResult.value,
len: subEvtResult.len + 1
};
Avoid too many return
statements within this function. Open
Open
if (!result) return;
Avoid too many return
statements within this function. Open
Open
if (!decodeIsClosingTagNumber(buffer, offset + len, 0)) return;
Avoid too many return
statements within this function. Open
Open
if (!subResult) return;
Avoid too many return
statements within this function. Open
Open
if (!result) return;
Avoid too many return
statements within this function. Open
Open
return;
Avoid too many return
statements within this function. Open
Open
if (!result) return;
Avoid too many return
statements within this function. Open
Open
if ((len + offset) > maxOffset) return;