Showing 245 of 1,712 total issues
File escodegen.js
has 4097 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
// Generated by CommonJS Everywhere 0.9.7
(function (global) {
function require(file, parentModule) {
if ({}.hasOwnProperty.call(require.cache, file))
return require.cache[file];
File esprima.js
has 2993 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/*
Copyright (C) 2013 Ariya Hidayat <ariya.hidayat@gmail.com>
Copyright (C) 2013 Thaddee Tyl <thaddee.tyl@gmail.com>
Copyright (C) 2013 Mathias Bynens <mathias@qiwi.be>
Copyright (C) 2012 Ariya Hidayat <ariya.hidayat@gmail.com>
File compiler_test.js
has 2057 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
describe("sc.lang.compiler", function() {
"use strict";
var Syntax = sc.lang.compiler.Syntax;
var Token = sc.lang.compiler.Token;
File SequenceableCollection_test.js
has 1631 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
describe("Collections/SequenceableCollection", function() {
"use strict";
var testCase = sc.test.testCase;
var $$ = sc.test.object;
File SequenceableCollection.js
has 1572 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
SCScript.install(function(sc) {
"use strict";
require("./Collection");
File call-expr_test.js
has 1478 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
describe("sc.lang.compiler.Parser", function() {
"use strict";
var Syntax = sc.lang.compiler.Syntax;
var Token = sc.lang.compiler.Token;
File Object_test.js
has 1469 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
describe("Core/Object", function() {
"use strict";
var testCase = sc.test.testCase;
var $$ = sc.test.object;
File ArrayedCollection_test.js
has 1334 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
describe("Collections/ArrayedCollection", function() {
"use strict";
var testCase = sc.test.testCase;
var $$ = sc.test.object;
File Collection_test.js
has 1093 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
describe("Collections/Collection", function() {
"use strict";
var testCase = sc.test.testCase;
var $$ = sc.test.object;
Function generateExpression
has 550 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function generateExpression(expr, option) {
var result, precedence, type, currentPrecedence, i, len, fragment, multiline, leftCharCode, leftSource, rightCharCode, allowIn, allowCall, allowUnparenthesizedNew, property, isGenerator;
precedence = option.precedence;
allowIn = option.allowIn;
allowCall = option.allowCall;
File SimpleNumber_test.js
has 1037 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
describe("Math/SimpleNumber", function() {
"use strict";
var testCase = sc.test.testCase;
var $$ = sc.test.object;
Function generateStatement
has 497 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function generateStatement(stmt, option) {
var i, len, result, node, specifier, allowIn, functionBody, directiveContext, fragment, semicolon, isGenerator;
allowIn = true;
semicolon = ';';
functionBody = false;
File Collection.js
has 895 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
SCScript.install(function(sc) {
"use strict";
require("../Core/Object");
File AbstractFunction_test.js
has 830 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
describe("Core/AbstractFunction", function() {
"use strict";
var testCase = sc.test.testCase;
var $$ = sc.test.object;
File Array_test.js
has 816 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
describe("Collections/Array", function() {
"use strict";
var testCase = sc.test.testCase;
var $$ = sc.test.object;
File ArrayedCollection.js
has 741 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
SCScript.install(function(sc) {
"use strict";
require("./SequenceableCollection");
File generator-expr_test.js
has 712 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
describe("sc.lang.compiler.Parser", function() {
"use strict";
var Syntax = sc.lang.compiler.Syntax;
var Token = sc.lang.compiler.Token;
File bytecode_test.js
has 700 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
describe("sc.lang.bytecode", function() {
"use strict";
var $$ = sc.test.object;
var $ = sc.lang.$;
File mathlib_test.js
has 672 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
describe("sc.libs.mathlib", function() {
"use strict";
var mathlib = sc.libs.mathlib;
var strlib = sc.libs.strlib;
File Object.js
has 668 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
SCScript.install(function(sc) {
"use strict";
var $ = sc.lang.$;
var $nil = $.nil;