etnbrd/flx-compiler

View on GitHub

Showing 623 of 1,229 total issues

Function internalData has 51 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function internalData( elem, name, data, pvt /* Internal Use Only */ ){
    if ( !jQuery.acceptData( elem ) ) {
        return;
    }

Severity: Major
Found in test-set/gifsockets-server-master/public/js/jquery.js - About 2 hrs to fix

    Function exports has 51 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

    module.exports = function (dataDir) {
    
      if( typeof dataDir === 'undefined' ) {
        throw new Error('Missing data directory');
      }
    Severity: Major
    Found in test-set/node.tingo-rest-master/index.js - About 2 hrs to fix

      Function remove has 51 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

          remove: function( elem, types, handler, selector, mappedTypes ) {
              var j, handleObj, tmp,
                  origCount, t, events,
                  special, handlers, type,
                  namespaces, origType,
      Severity: Major
      Found in test-set/gifsockets-server-master/public/js/jquery.js - About 2 hrs to fix

        Function reduce has 51 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

        function reduce(tree) {
        
          // _down = {};
          // _up = {}
        
        
        Severity: Major
        Found in prototypes/blender.old/lib/reduction.js - About 2 hrs to fix

          Function _handleStart has 51 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

              function _handleStart(e) {
                if (_settings('touchEnabled')) {
                  var x0,
                      x1,
                      y0,

            Function gexf has 51 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

              sigma.parsers.gexf = function(target, sig, callback) {
                var i,
                    l,
                    arr,
                    obj;

              Function getNodes has 51 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

                  function getNodes(e) {
                    if (e) {
                      mX = 'x' in e.data ? e.data.x : mX;
                      mY = 'y' in e.data ? e.data.y : mY;
                    }

                Function d3_transitionNode has 50 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                  function d3_transitionNode(node, i, id, inherit) {
                    var lock = node.__transition__ || (node.__transition__ = {
                      active: 0,
                      count: 0
                    }), transition = lock[id];
                Severity: Minor
                Found in lib/graph-printer/old/bower_components/d3/d3.js - About 2 hrs to fix

                  Function chord has 50 lines of code (exceeds 25 allowed). Consider refactoring.
                  Open

                    d3.svg.chord = function() {
                      var source = d3_source, target = d3_target, radius = d3_svg_chordRadius, startAngle = d3_svg_arcStartAngle, endAngle = d3_svg_arcEndAngle;
                      function chord(d, i) {
                        var s = subgroup(this, source, d, i), t = subgroup(this, target, d, i);
                        return "M" + s.p0 + arc(s.r, s.p1, s.a1 - s.a0) + (equals(s, t) ? curve(s.r, s.p1, s.r, s.p0) : curve(s.r, s.p1, t.r, t.p0) + arc(t.r, t.p1, t.a1 - t.a0) + curve(t.r, t.p1, s.r, s.p0)) + "Z";
                  Severity: Minor
                  Found in lib/graph-printer/old/bower_components/d3/d3.js - About 2 hrs to fix

                    Function d3_interpolateTransform has 50 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                      function d3_interpolateTransform(a, b) {
                        var s = [], q = [], n, A = d3.transform(a), B = d3.transform(b), ta = A.translate, tb = B.translate, ra = A.rotate, rb = B.rotate, wa = A.skew, wb = B.skew, ka = A.scale, kb = B.scale;
                        if (ta[0] != tb[0] || ta[1] != tb[1]) {
                          s.push("translate(", null, ",", null, ")");
                          q.push({
                    Severity: Minor
                    Found in lib/graph-printer/old/bower_components/d3/d3.js - About 2 hrs to fix

                      Function d3_scale_linear has 50 lines of code (exceeds 25 allowed). Consider refactoring.
                      Open

                        function d3_scale_linear(domain, range, interpolate, clamp) {
                          var output, input;
                          function rescale() {
                            var linear = Math.min(domain.length, range.length) > 2 ? d3_scale_polylinear : d3_scale_bilinear, uninterpolate = clamp ? d3_uninterpolateClamp : d3_uninterpolateNumber;
                            output = linear(domain, range, uninterpolate, interpolate);
                      Severity: Minor
                      Found in lib/graph-printer/old/bower_components/d3/d3.js - About 2 hrs to fix

                        Function parseArgs has 50 lines of code (exceeds 25 allowed). Consider refactoring.
                        Open

                        function parseArgs(args) {
                        
                        
                          function options() {
                          
                        Severity: Minor
                        Found in lib/lib/interface.js - About 2 hrs to fix

                          Consider simplifying this complex logical expression.
                          Open

                                          if ( ( mappedTypes || origType === handleObj.origType ) &&
                                              ( !handler || handler.guid === handleObj.guid ) &&
                                              ( !tmp || tmp.test( handleObj.namespace ) ) &&
                                              ( !selector || selector === handleObj.selector || selector === "**" && handleObj.selector ) ) {
                                              handlers.splice( j, 1 );
                          Severity: Critical
                          Found in test-set/gifsockets-server-master/public/js/jquery.js - About 2 hrs to fix

                            Function extractUpOnly has 50 lines of code (exceeds 25 allowed). Consider refactoring.
                            Open

                            function extractUpOnly(tree, id) {
                            
                              var _n = {};
                              var __n = {};
                              var _d = {};
                            Severity: Minor
                            Found in prototypes/blender.old/lib/extraction.js - About 2 hrs to fix

                              Function MRQuery has 50 lines of code (exceeds 25 allowed). Consider refactoring.
                              Open

                              module.exports = function MRQuery(model, clientQuery) {
                                  var query = model.find();
                              
                                  //query option object,where we index by method, not by invocation order, useful later when we reexecute the query
                                  var opts = {populate:[]};
                              Severity: Minor
                              Found in test-set/Moonridge-master/query-builder.js - About 2 hrs to fix

                                Function graph has 50 lines of code (exceeds 25 allowed). Consider refactoring.
                                Open

                                function graph(type, options) {
                                  this._options = options;
                                  this._output_pre = _bgraph + "\\begin{" + type + "}";
                                  this._output_post = "\\end{" + type + "}\n"+ _egraph;
                                  this._plots = [];
                                Severity: Minor
                                Found in prototypes/fluxions/bench/diffInstructions/pgfplots.js - About 2 hrs to fix

                                  Function extractUpOnly has 50 lines of code (exceeds 25 allowed). Consider refactoring.
                                  Open

                                  function extractUpOnly(tree, id) {
                                  
                                    var _n = {};
                                    var __n = {};
                                    var _d = {};
                                  Severity: Minor
                                  Found in prototypes/blender/lib/extract.js - About 2 hrs to fix

                                    Function d3_time_scale has 48 lines of code (exceeds 25 allowed). Consider refactoring.
                                    Open

                                      function d3_time_scale(linear, methods, format) {
                                        function scale(x) {
                                          return linear(x);
                                        }
                                        scale.invert = function(x) {
                                    Severity: Minor
                                    Found in lib/graph-printer/old/bower_components/d3/d3.js - About 1 hr to fix

                                      Function internalRemoveData has 48 lines of code (exceeds 25 allowed). Consider refactoring.
                                      Open

                                      function internalRemoveData( elem, name, pvt ) {
                                          if ( !jQuery.acceptData( elem ) ) {
                                              return;
                                          }
                                      
                                      
                                      Severity: Minor
                                      Found in test-set/gifsockets-server-master/public/js/jquery.js - About 1 hr to fix

                                        Function _getTopMembers has 48 lines of code (exceeds 25 allowed). Consider refactoring.
                                        Open

                                                Overview.prototype._getTopMembers = function (collection, type, last) {
                                                  var _element, _foundCount, _foundSize, _i, _j, _k, _len, _len1, _len2, _ref, _ref1, _topcountkey, _topsizekey;
                                                  if (last) {
                                                    this._createOverview();
                                                    return;
                                        Severity: Minor
                                        Found in test-set/redis_key_overview-master/index-flx.js - About 1 hr to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language