Showing 141 of 225 total issues
Function scanNumericLiteral
has 84 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function scanNumericLiteral() {
var number, start, ch, octal;
ch = source[index];
assert(isDecimalDigit(ch.charCodeAt(0)) || (ch === '.'),
Function tokenize
has 80 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function tokenize(code, options) {
var toString,
token,
tokens;
Function parseMethodDefinition
has 78 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function parseMethodDefinition(existingPropNames) {
var token, key, param, propType, isValidDuplicateProp = false;
if (lookahead.value === 'static') {
propType = ClassPropertyType.static;
Function parse
has 76 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function parse(code, options) {
var program, toString;
toString = String;
if (typeof code !== 'string' && !(code instanceof String)) {
Function YUICompiler
has 74 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var YUICompiler = function($__super) {
'use strict';
var $__proto = $__getProtoParent($__super);
var $YUICompiler = ($__createClass)({
constructor: function() {
Function parseForStatement
has 71 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function parseForStatement(opts) {
var init, test, update, left, right, body, operator, oldInIteration;
init = test = update = null;
expectKeyword('for');
Function parseStatement
has 69 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function parseStatement() {
var type = lookahead.type,
expr,
labeledBody,
key;
Function skipComment
has 66 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function skipComment() {
var ch, blockComment, lineComment;
blockComment = false;
lineComment = false;
Function parseExportDeclaration
has 62 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function parseExportDeclaration() {
var previousAllowDefault, decl, def, src, specifiers;
expectKeyword('export');
Function wrapTrackingFunction
has 60 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function wrapTrackingFunction(range, loc) {
return function (parseFunction) {
function isBinary(node) {
Function 6
has 60 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
},{}],6:[function(require,module,exports){
"use strict";
var $__getDescriptors = function(object) {
var descriptors = {}, name, names = Object.getOwnPropertyNames(object);
for (var i = 0; i < names.length; i++) {
Function parseArrayInitialiser
has 59 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function parseArrayInitialiser() {
var elements = [], blocks = [], filter = null, tmp, possiblecomprehension = true, body;
expect('[');
while (!match(']')) {
Function parsePrimaryExpression
has 55 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function parsePrimaryExpression() {
var type, token;
token = lookahead;
type = lookahead.type;
Function binaryPrecedence
has 54 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function binaryPrecedence(token, allowIn) {
var prec = 0;
if (token.type !== Token.Punctuator && token.type !== Token.Keyword) {
return 0;
Function 10
has 54 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
},{"esprima":1}],10:[function(require,module,exports){
"use strict";
var $__getDescriptors = function(object) {
var descriptors = {}, name, names = Object.getOwnPropertyNames(object);
for (var i = 0; i < names.length; i++) {
Function buildExports
has 53 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
buildExports: function() {
var source = this.source, exports_ = this.exports;
{
var $__2 = traceur.runtime.getIterator(exports_);
try {
Function parseFunctionSourceElements
has 52 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function parseFunctionSourceElements() {
var sourceElement, sourceElements = [], token, directive, firstRestricted,
oldLabelSet, oldInIteration, oldInSwitch, oldInFunctionBody, oldParenthesizedCount;
expect('{');
Function unpatch
has 51 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function unpatch() {
if (typeof extra.skipComment === 'function') {
skipComment = extra.skipComment;
}
Function reinterpretAsCoverFormalsList
has 48 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function reinterpretAsCoverFormalsList(expressions) {
var i, len, param, params, defaults, defaultCount, options, rest;
params = [];
defaults = [];
Function parseFunctionDeclaration
has 48 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function parseFunctionDeclaration() {
var id, body, token, tmp, firstRestricted, message, previousStrict, previousYieldAllowed, generator, expression;
expectKeyword('function');