Jupiterrr/Vorlesungsverzeichnis

View on GitHub

Showing 260 of 474 total issues

Function add has 71 lines of code (exceeds 25 allowed). Consider refactoring.
Open

        add: function( elem, types, handler, data, selector ) {

                var elemData, eventHandle, events,
                        t, tns, type, namespaces, handleObj,
                        handleObjIn, handlers, special;
Severity: Major
Found in app/assets/components/jquery/jquery.js - About 2 hrs to fix

    Function formatXml has 70 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        OperationView.prototype.formatXml = function(xml) {
          var contexp, formatted, indent, lastType, lines, ln, pad, reg, transitions, wsexp, _fn, _i, _len;
          reg = /(>)(<)(\/*)/g;
          wsexp = /[ ]*(.*)[ ]+\n/g;
          contexp = /(<.+>)(.+\n)/g;
    Severity: Major
    Found in public/api/swagger-ui.js - About 2 hrs to fix

      Function str has 70 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

          function str(key, holder) {
      
      // Produce a string from holder[key].
      
              var i,          // The loop counter.
      Severity: Major
      Found in app/assets/javascripts/lib/json2.js - About 2 hrs to fix

        Function matcherFromGroupMatchers has 69 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

        function matcherFromGroupMatchers( elementMatchers, setMatchers ) {
                var bySet = setMatchers.length > 0,
                        byElement = elementMatchers.length > 0,
                        superMatcher = function( seed, context, xml, results, expandContext ) {
                                var elem, j, matcher,
        Severity: Major
        Found in app/assets/components/jquery/jquery.js - About 2 hrs to fix

          Function setMatcher has 66 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

          function setMatcher( preFilter, selector, matcher, postFilter, postFinder, postSelector ) {
                  if ( postFilter && !postFilter[ expando ] ) {
                          postFilter = setMatcher( postFilter );
                  }
                  if ( postFinder && !postFinder[ expando ] ) {
          Severity: Major
          Found in app/assets/components/jquery/jquery.js - About 2 hrs to fix

            Function anonymous has 66 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

            lexer.performAction = function anonymous(yy,yy_,$avoiding_name_collisions,YY_START) {
            
            var YYSTATE=YY_START
            switch($avoiding_name_collisions) {
            case 0:
            Severity: Major
            Found in public/api/lib/handlebars-1.0.rc.1.js - About 2 hrs to fix

              Function done has 65 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

                              function done( status, nativeStatusText, responses, headers ) {
                                      var isSuccess, success, error, response, modified,
                                              statusText = nativeStatusText;
              
                                      // Called once
              Severity: Major
              Found in app/assets/components/jquery/jquery.js - About 2 hrs to fix

                Function domManip has 64 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                        domManip: function( args, table, callback ) {
                
                                // Flatten any nested arrays
                                args = [].concat.apply( [], args );
                
                
                Severity: Major
                Found in app/assets/components/jquery/jquery.js - About 2 hrs to fix

                  Function dispatch has 63 lines of code (exceeds 25 allowed). Consider refactoring.
                  Open

                          dispatch: function( event ) {
                  
                                  // Make a writable jQuery.Event from the native event object
                                  event = jQuery.event.fix( event || window.event );
                  
                  
                  Severity: Major
                  Found in app/assets/components/jquery/jquery.js - About 2 hrs to fix

                    Function superMatcher has 61 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                                    superMatcher = function( seed, context, xml, results, expandContext ) {
                                            var elem, j, matcher,
                                                    setMatched = [],
                                                    matchedCount = 0,
                                                    i = "0",
                    Severity: Major
                    Found in app/assets/components/jquery/jquery.js - About 2 hrs to fix

                      Function initWith has 61 lines of code (exceeds 25 allowed). Consider refactoring.
                      Open

                        $.fn.twipsy.initWith = function (options, Constructor, name) {
                          var twipsy
                            , binder
                            , eventIn
                            , eventOut
                      Severity: Major
                      Found in app/assets/javascripts/twitter/bootstrap-twipsy.js - About 2 hrs to fix

                        Function Deferred has 60 lines of code (exceeds 25 allowed). Consider refactoring.
                        Open

                                Deferred: function( func ) {
                                        var tuples = [
                                                        // action, add listener, listener list, final state
                                                        [ "resolve", "done", jQuery.Callbacks("once memory"), "resolved" ],
                                                        [ "reject", "fail", jQuery.Callbacks("once memory"), "rejected" ],
                        Severity: Major
                        Found in app/assets/components/jquery/jquery.js - About 2 hrs to fix

                          Function createInfoBoxDiv_ has 58 lines of code (exceeds 25 allowed). Consider refactoring.
                          Open

                          InfoBox.prototype.createInfoBoxDiv_ = function () {
                          
                            var i;
                            var events;
                            var bw;
                          Severity: Major
                          Found in app/assets/javascripts/map/infobox.js - About 2 hrs to fix

                            Function Week has 52 lines of code (exceeds 25 allowed). Consider refactoring.
                            Open

                            var Week = (function (_React$Component) {
                              _inherits(Week, _React$Component);
                            
                              function Week() {
                                _classCallCheck(this, Week);
                            Severity: Major
                            Found in react_renderer/build/Week.js - About 2 hrs to fix

                              File dialog-polyfill.js has 252 lines of code (exceeds 250 allowed). Consider refactoring.
                              Open

                              var dialogPolyfill = (function() {
                              
                                var addEventListenerFn = (window.document.addEventListener
                                    ? function(element, type, fn) { element.addEventListener(type, fn); }
                                    : function(element, type, fn) { element.attachEvent('on' + type, fn); });
                              Severity: Minor
                              Found in app/assets/components/dialog-polyfill/dialog-polyfill.js - About 2 hrs to fix

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

                                function ajaxConvert( s, response ) {
                                
                                        var conv, conv2, current, tmp,
                                                // Work with a copy of dataTypes in case we need to modify it for conversion
                                                dataTypes = s.dataTypes.slice(),
                                Severity: Major
                                Found in app/assets/components/jquery/jquery.js - About 2 hrs to fix

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

                                          data: function( elem, name, data, pvt /* Internal Use Only */ ) {
                                                  if ( !jQuery.acceptData( elem ) ) {
                                                          return;
                                                  }
                                  
                                  
                                  Severity: Major
                                  Found in app/assets/components/jquery/jquery.js - About 2 hrs to fix

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

                                          _setupEventCreationForWeekDay : function($weekDay) {
                                             var self = this;
                                             var options = this.options;
                                             $weekDay.mousedown(function(event) {
                                                var $target = $(event.target);
                                    Severity: Major
                                    Found in lib/assets/weekcalendar/jquery.weekcalendar.js - About 2 hrs to fix

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

                                          SwaggerApi.prototype.build = function() {
                                            var _this = this;
                                            this.progress('fetching resource list: ' + this.discoveryUrl);
                                            return jQuery.getJSON(this.discoveryUrl, function(response) {
                                              var res, resource, _i, _j, _len, _len1, _ref, _ref1;
                                      Severity: Minor
                                      Found in public/api/lib/swagger.js - About 2 hrs to fix

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

                                        next:function () {
                                                if (this.done) {
                                                    return this.EOF;
                                                }
                                                if (!this._input) this.done = true;
                                        Severity: Minor
                                        Found in public/api/lib/handlebars-1.0.rc.1.js - About 2 hrs to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language