Showing 171 of 259 total issues
Function doOption
has 91 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function doOption() {
var b, obj, filter, o = nexttoken.value, t, v;
switch (o) {
case '*/':
error("Unbegun comment.");
Function _getToken
has 91 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_getToken: function(channel){
var c,
reader = this._reader,
token = null,
Function labelled
has 87 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
blockstmt('switch', function () {
var t = nexttoken,
g = false;
funct['(breakage)'] += 1;
advance('(');
Function jsonValue
has 85 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function jsonValue() {
function jsonObject() {
var o = {}, t = nexttoken;
advance('{');
Function labelled
has 81 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
blockstmt('for', function () {
var f = option.forin, s, t = nexttoken;
funct['(breakage)'] += 1;
funct['(loopage)'] += 1;
advance('(');
Function init
has 75 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
init: function(parser, reporter){
var rule = this;
var propertiesToCheck = {
display: 1,
Function init
has 72 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
init: function(parser, reporter){
var rule = this,
widthProperties = {
border: 1,
"border-left": 1,
Function nud
has 72 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
nud: function () {
var v = this.value,
s = scope[v],
f;
if (typeof s === 'function') {
Function statements
has 70 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function statements(begin) {
var a = [], f, p;
if (begin && !use_strict() && option.strict) {
warning('Missing "use strict" statement.', nexttoken);
}
Function data
has 69 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
itself.data = function () {
var data = {functions: []}, fu, globals, implieds = [], f, i, j,
members = [], n, unused = [], v;
if (itself.errors.length) {
Consider simplifying this complex logical expression. Open
Open
if ((i.id === '(number)' && /[.+\-Ee]/.test(i.value)) ||
(i.id === '-' && !i.right) ||
i.id === '(string)' || i.id === '[' ||
i.id === '{' || i.id === 'true' ||
i.id === 'false' ||
Function exps
has 64 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
infix('(', function (left, that) {
adjacent(prevtoken, token);
nospace();
var n = 0,
p = [];
Function styleValue
has 63 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function styleValue(v) {
var i = 0,
n,
once,
match,
Function doAttribute
has 59 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function doAttribute(n, a, v) {
var u, x;
if (a === 'id') {
u = typeof v === 'string' ? v.toUpperCase() : '';
if (ids[u] === true) {
Function cssColor
has 55 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function cssColor() {
var i, number, value;
if (nexttoken.identifier) {
value = nexttoken.value;
if (value === 'rgb' || value === 'rgba') {
Function nud
has 54 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
x.nud = function () {
var b, i, s, seen = {};
b = token.line !== nexttoken.line;
if (b) {
indent += option.indent;
Function init
has 53 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
init: function(parser, reporter){
var rule = this,
lastProperty,
propertiesToCheck = {
color: 1,
Function _simple_selector_sequence
has 53 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_simple_selector_sequence: function(){
/*
* simple_selector_sequence
* : [ type_selector | universal ]
* [ HASH | class | attrib | pseudo | negation ]*
Function init
has 53 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
init: function(parser, reporter){
var rule = this,
prop, i, len,
propertiesToCheck = {},
properties,
Function <bg-position></bg-position>
has 53 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
"<bg-position>": function(expression){
var types = this,
result = false,
numeric = "<percentage> | <length>",
xDir = "left | right",