Showing 8 of 12 total issues
File index.js
has 291 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
// Generated by CoffeeScript 1.12.7
(function() {
var Args2,
_,
slice = [].slice;
Function get
has 56 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
Args2.prototype.get = function(
typingFn,
argType,
required,
defaultValue,
Function Args2
has 38 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function Args2(args1) {
var args, res;
this.args = args1;
if (this['arguments'] != null) {
args = Array.prototype.slice.call(this['arguments'], 0);
Function assign
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
Args2.assign = function(argu, types) {
var args, res;
args = new Args2(argu);
res = [];
types.forEach(function(type) {
Function get
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
typingFn,
argType,
required,
defaultValue,
last
Avoid too many return
statements within this function. Open
Open
return res.bools.push(item);
Avoid too many return
statements within this function. Open
Open
return res.funcs.push(item);
Avoid too many return
statements within this function. Open
Open
return res.others.push(item);