Showing 10 of 10 total issues
File serialijse.js
has 394 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
(function (exports) {
"use strict";
var assert = require("assert");
var b = require("buffer");
Avoid deeply nested control flow statements. Open
Open
if (propertyName.match(o)) {
return false;
}
Function _serialize_xxx
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function _serialize_xxx(context, options, object, construct, serialize) {
Avoid too many return
statements within this function. Open
Open
if (object instanceof Int32Array) { return "Int32Array"; }
Avoid too many return
statements within this function. Open
Open
if (object instanceof Int16Array) { return "Int16Array"; }
Avoid too many return
statements within this function. Open
Open
return _deserialize_basic_object(context, node.o);
Avoid too many return
statements within this function. Open
Open
return true;
Avoid too many return
statements within this function. Open
Open
if (object instanceof Uint8Array) { return "Uint8Array"; }
Avoid too many return
statements within this function. Open
Open
if (object instanceof Int8Array) { return "Int8Array"; }
Avoid too many return
statements within this function. Open
Open
return node.a.map(deserialize_node_or_value.bind(null, context));