Showing 623 of 1,229 total issues
Function clone
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
clone: function( elem, dataAndEvents, deepDataAndEvents ) {
var destElements, node, clone, i, srcElements,
inPage = jQuery.contains( elem.ownerDocument, elem );
if ( jQuery.support.html5Clone || jQuery.isXMLDoc(elem) || !rnoshimcache.test( "<" + elem.nodeName + ">" ) ) {
Function access
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
access: function( elems, fn, key, value, chainable, emptyGet, raw ) {
var i = 0,
length = elems.length,
bulk = key == null;
Function _loop
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function _loop() {
var k,
o,
l,
job,
Function multiply
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
sigma.utils.matrices.multiply = function(a, b, m2) {
var l = m2 ? 2 : 3,
a00 = a[0 * l + 0],
a01 = a[0 * l + 1],
a02 = a[0 * l + 2],
Function _killJob
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function _killJob(v1) {
var i,
l,
k,
a,
Function d3_geom_voronoiRemoveBeach
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function d3_geom_voronoiRemoveBeach(beach) {
var circle = beach.circle, x = circle.x, y = circle.cy, vertex = {
x: x,
y: y
}, previous = beach.P, next = beach.N, disappearing = [ beach ];
Function cleanData
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
cleanData: function( elems, /* internal */ acceptData ) {
var elem, type, id, data,
i = 0,
internalKey = jQuery.expando,
cache = jQuery.cache,
Function style
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
style: function( elem, name, value, extra ) {
// Don't set styles on text and comment nodes
if ( !elem || elem.nodeType === 3 || elem.nodeType === 8 || !elem.style ) {
return;
}
Function render
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
res.endpoint.render = function(data) {
var callback = req.endpoint.params && req.endpoint.params.callback;
res.charset = 'utf-8'
res.format({
Function data
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
data: function( key, value ) {
var attrs, name,
elem = this[0],
i = 0,
data = null;
Function _parseDataForTemplate
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
Overview.prototype._parseDataForTemplate = function () {
var i, k, v, _i, _ref, _ref1, _templateDataParsed;
_templateDataParsed = {};
_ref = this._templateData;
for (k in _ref) {
Function _createKeyOverview
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
Overview.prototype._createKeyOverview = function() {
var _finCreating, _keytemplatedata;
this.emit('initStatusUpdate', "Starting to parse information into html pages.");
_finCreating = (function(_this) {
return function() {
Function _parseDataForTemplate
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
Overview.prototype._parseDataForTemplate = function() {
var i, k, v, _i, _ref, _ref1, _templateDataParsed;
_templateDataParsed = {};
_ref = this._templateData;
for (k in _ref) {
Function startPlaceholder
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function startPlaceholder(next, signature) {
return b.functionExpression(b.identifier("placeholder"), [
],
b.blockStatement([
b.returnStatement(
Consider simplifying this complex logical expression. Open
Open
if ((sharing >= 2 && modifiers === 0 && !inSource && definedByRoot)
// + 2 fluxions, the root fluxion doesn't modify the variable : Problem #4
|| (sharing >= 2 && modifiers === 1 && sourcePristine && !inSource)) {
return 'scope';
}
Consider simplifying this complex logical expression. Open
Open
} else if ( useCache && (cache = (elem[ expando ] || (elem[ expando ] = {}))[ type ]) && cache[0] === dirruns ) {
diff = cache[1];
// xml :nth-child(...) or :nth-last-child(...) or :nth(-last)?-of-type(...)
} else {
Function stream
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
albersUsa.stream = function(stream) {
var lower48Stream = lower48.stream(stream), alaskaStream = alaska.stream(stream), hawaiiStream = hawaii.stream(stream);
return {
point: function(x, y) {
lower48Stream.point(x, y);
Function end
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
Context.prototype.end = function() {
function registerDependency(variable, flx, ref){
if (!flx.dependencies[variable.name]) {
flx.dependencies[variable.name] = {
Function Identifier
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_types.Identifier = function(n, c) {
var ids = [];
c.every(function(_c) {
Function benchOneServer
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function benchOneServer(name, connection, parallel, cb) {
function _end(name) {
_parallel--;