etnbrd/flx-compiler

View on GitHub

Showing 623 of 1,229 total issues

Function clone has 35 lines of code (exceeds 25 allowed). Consider refactoring.
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 + ">" ) ) {
Severity: Minor
Found in test-set/gifsockets-server-master/public/js/jquery.js - About 1 hr to fix

    Function access has 35 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        access: function( elems, fn, key, value, chainable, emptyGet, raw ) {
            var i = 0,
                length = elems.length,
                bulk = key == null;
    
    
    Severity: Minor
    Found in test-set/gifsockets-server-master/public/js/jquery.js - About 1 hr to fix

      Function _loop has 35 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

        function _loop() {
          var k,
              o,
              l,
              job,
      Severity: Minor
      Found in prototypes/express/src/console/sigma/src/conrad.js - About 1 hr to fix

        Function multiply has 35 lines of code (exceeds 25 allowed). Consider refactoring.
        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],
        Severity: Minor
        Found in prototypes/express/src/console/sigma/src/utils/sigma.utils.js - About 1 hr to fix

          Function _killJob has 35 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

            function _killJob(v1) {
              var i,
                  l,
                  k,
                  a,
          Severity: Minor
          Found in prototypes/express/src/console/sigma/src/conrad.js - About 1 hr to fix

            Function d3_geom_voronoiRemoveBeach has 34 lines of code (exceeds 25 allowed). Consider refactoring.
            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 ];
            Severity: Minor
            Found in lib/graph-printer/old/bower_components/d3/d3.js - About 1 hr to fix

              Function cleanData has 34 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

                  cleanData: function( elems, /* internal */ acceptData ) {
                      var elem, type, id, data,
                          i = 0,
                          internalKey = jQuery.expando,
                          cache = jQuery.cache,
              Severity: Minor
              Found in test-set/gifsockets-server-master/public/js/jquery.js - About 1 hr to fix

                Function style has 34 lines of code (exceeds 25 allowed). Consider refactoring.
                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;
                        }
                Severity: Minor
                Found in test-set/gifsockets-server-master/public/js/jquery.js - About 1 hr to fix

                  Function render has 34 lines of code (exceeds 25 allowed). Consider refactoring.
                  Open

                      res.endpoint.render = function(data) {
                        var callback = req.endpoint.params && req.endpoint.params.callback;
                  
                        res.charset = 'utf-8'
                        res.format({
                  Severity: Minor
                  Found in test-set/express-endpoint-master/lib/middleware/render.js - About 1 hr to fix

                    Function data has 34 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                        data: function( key, value ) {
                            var attrs, name,
                                elem = this[0],
                                i = 0,
                                data = null;
                    Severity: Minor
                    Found in test-set/gifsockets-server-master/public/js/jquery.js - About 1 hr to fix

                      Function _parseDataForTemplate has 34 lines of code (exceeds 25 allowed). Consider refactoring.
                      Open

                              Overview.prototype._parseDataForTemplate = function () {
                                var i, k, v, _i, _ref, _ref1, _templateDataParsed;
                                _templateDataParsed = {};
                                _ref = this._templateData;
                                for (k in _ref) {
                      Severity: Minor
                      Found in test-set/redis_key_overview-master/index-flx.js - About 1 hr to fix

                        Function _createKeyOverview has 34 lines of code (exceeds 25 allowed). Consider refactoring.
                        Open

                            Overview.prototype._createKeyOverview = function() {
                              var _finCreating, _keytemplatedata;
                              this.emit('initStatusUpdate', "Starting to parse information into html pages.");
                              _finCreating = (function(_this) {
                                return function() {
                        Severity: Minor
                        Found in test-set/redis_key_overview-master/modules/keyoverview.js - About 1 hr to fix

                          Function _parseDataForTemplate has 34 lines of code (exceeds 25 allowed). Consider refactoring.
                          Open

                              Overview.prototype._parseDataForTemplate = function() {
                                var i, k, v, _i, _ref, _ref1, _templateDataParsed;
                                _templateDataParsed = {};
                                _ref = this._templateData;
                                for (k in _ref) {
                          Severity: Minor
                          Found in test-set/redis_key_overview-master/modules/keyoverview.js - About 1 hr to fix

                            Function startPlaceholder has 34 lines of code (exceeds 25 allowed). Consider refactoring.
                            Open

                            function startPlaceholder(next, signature) {
                              return b.functionExpression(b.identifier("placeholder"), [
                                ],
                                b.blockStatement([
                                  b.returnStatement(
                            Severity: Minor
                            Found in prototypes/shreder/lib/builders.js - About 1 hr to fix

                              Consider simplifying this complex logical expression.
                              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';
                                }
                              Severity: Critical
                              Found in lib/linker/core.js - About 1 hr to fix

                                Consider simplifying this complex logical expression.
                                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 {
                                Severity: Critical
                                Found in test-set/gifsockets-server-master/public/js/jquery.js - About 1 hr to fix

                                  Function stream has 33 lines of code (exceeds 25 allowed). Consider refactoring.
                                  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);
                                  Severity: Minor
                                  Found in lib/graph-printer/old/bower_components/d3/d3.js - About 1 hr to fix

                                    Function end has 33 lines of code (exceeds 25 allowed). Consider refactoring.
                                    Open

                                    Context.prototype.end = function() {
                                    
                                      function registerDependency(variable, flx, ref){
                                        if (!flx.dependencies[variable.name]) {
                                          flx.dependencies[variable.name] = {
                                    Severity: Minor
                                    Found in lib/mapper/context.js - About 1 hr to fix

                                      Function Identifier has 33 lines of code (exceeds 25 allowed). Consider refactoring.
                                      Open

                                      _types.Identifier = function(n, c) {
                                      
                                          var ids = [];
                                      
                                        c.every(function(_c) {
                                      Severity: Minor
                                      Found in prototypes/blender.old/lib/dependency.js - About 1 hr to fix

                                        Function benchOneServer has 33 lines of code (exceeds 25 allowed). Consider refactoring.
                                        Open

                                        function benchOneServer(name, connection, parallel, cb) {
                                        
                                          function _end(name) {
                                            _parallel--;
                                        
                                        
                                        Severity: Minor
                                        Found in prototypes/fluxions/bench/distribution/index.js - About 1 hr to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language