alexwilkinson/filmetric

View on GitHub
public/assets/application-e6172b5f1ce821f01cad495ada62ddf1.js

Summary

Maintainability
F
2 yrs
Test Coverage

File application-e6172b5f1ce821f01cad495ada62ddf1.js has 9442 lines of code (exceeds 250 allowed). Consider refactoring.
Open

if(!window['googleLT_']){window['googleLT_']=(new Date()).getTime();}if (!window['google']) {
window['google'] = {};
}
if (!window['google']['loader']) {
window['google']['loader'] = {};
Severity: Major
Found in public/assets/application-e6172b5f1ce821f01cad495ada62ddf1.js - About 3 wks to fix

    Function Sizzle has 1335 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

    (function( window ) {
    
    var i,
        support,
        Expr,
    Severity: Major
    Found in public/assets/application-e6172b5f1ce821f01cad495ada62ddf1.js - About 6 days to fix

      Consider simplifying this complex logical expression.
      Open

      if (!window['google']['loader']) {
      window['google']['loader'] = {};
      google.loader.ServiceBase = 'https://www.google.com/uds';
      google.loader.GoogleApisBase = 'https://ajax.googleapis.com/ajax';
      google.loader.ApiKey = 'notsupplied';
      Severity: Critical
      Found in public/assets/application-e6172b5f1ce821f01cad495ada62ddf1.js - About 1 day to fix

        Function ajax has 240 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

            ajax: function( url, options ) {
        
                // If url is an object, simulate pre-1.5 signature
                if ( typeof url === "object" ) {
                    options = url;
        Severity: Major
        Found in public/assets/application-e6172b5f1ce821f01cad495ada62ddf1.js - About 1 day to fix

          Function setDocument has 215 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

          setDocument = Sizzle.setDocument = function( node ) {
              var hasCompare,
                  doc = node ? node.ownerDocument || node : preferredDoc,
                  parent = doc.defaultView;
          
          
          Severity: Major
          Found in public/assets/application-e6172b5f1ce821f01cad495ada62ddf1.js - About 1 day to fix

            Function Callbacks has 128 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

            jQuery.Callbacks = function( options ) {
            
                // Convert options from String-formatted to Object-formatted if needed
                // (we check in cache first)
                options = typeof options === "string" ?
            Severity: Major
            Found in public/assets/application-e6172b5f1ce821f01cad495ada62ddf1.js - About 5 hrs to fix

              Consider simplifying this complex logical expression.
              Open

                          if ( event.pageX == null && original.clientX != null ) {
                              eventDoc = event.target.ownerDocument || document;
                              doc = eventDoc.documentElement;
                              body = eventDoc.body;
              
              
              Severity: Critical
              Found in public/assets/application-e6172b5f1ce821f01cad495ada62ddf1.js - About 5 hrs to fix

                Function defaultPrefilter has 104 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                function defaultPrefilter( elem, props, opts ) {
                    /* jshint validthis: true */
                    var prop, value, toggle, tween, hooks, oldfire, display, dDisplay,
                        anim = this,
                        orig = {},
                Severity: Major
                Found in public/assets/application-e6172b5f1ce821f01cad495ada62ddf1.js - About 4 hrs to fix

                  Function trigger has 89 lines of code (exceeds 25 allowed). Consider refactoring.
                  Open

                      trigger: function( event, data, elem, onlyHandlers ) {
                          var handle, ontype, cur,
                              bubbleType, special, tmp, i,
                              eventPath = [ elem || document ],
                              type = hasOwn.call( event, "type" ) ? event.type : event,
                  Severity: Major
                  Found in public/assets/application-e6172b5f1ce821f01cad495ada62ddf1.js - About 3 hrs to fix

                    Function Animation has 84 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                    function Animation( elem, properties, options ) {
                        var result,
                            stopped,
                            index = 0,
                            length = animationPrefilters.length,
                    Severity: Major
                    Found in public/assets/application-e6172b5f1ce821f01cad495ada62ddf1.js - About 3 hrs to fix

                      Function Sizzle has 76 lines of code (exceeds 25 allowed). Consider refactoring.
                      Open

                      function Sizzle( selector, context, results, seed ) {
                          var match, elem, m, nodeType,
                              // QSA vars
                              i, groups, old, nid, newContext, newSelector;
                      
                      
                      Severity: Major
                      Found in public/assets/application-e6172b5f1ce821f01cad495ada62ddf1.js - About 3 hrs to fix

                        Function buildFragment has 74 lines of code (exceeds 25 allowed). Consider refactoring.
                        Open

                            buildFragment: function( elems, context, scripts, selection ) {
                                var j, elem, contains,
                                    tmp, tag, tbody, wrap,
                                    l = elems.length,
                        
                        
                        Severity: Major
                        Found in public/assets/application-e6172b5f1ce821f01cad495ada62ddf1.js - About 2 hrs to fix

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

                              add: function( elem, types, handler, data, selector ) {
                                  var tmp, events, t, handleObjIn,
                                      special, eventHandle, handleObj,
                                      handlers, type, namespaces, origType,
                                      elemData = jQuery._data( elem );
                          Severity: Major
                          Found in public/assets/application-e6172b5f1ce821f01cad495ada62ddf1.js - About 2 hrs to fix

                            Function matcherFromGroupMatchers has 68 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, outermost ) {
                                        var elem, j, matcher,
                            Severity: Major
                            Found in public/assets/application-e6172b5f1ce821f01cad495ada62ddf1.js - About 2 hrs to fix

                              Function done has 67 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 public/assets/application-e6172b5f1ce821f01cad495ada62ddf1.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 public/assets/application-e6172b5f1ce821f01cad495ada62ddf1.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, outermost ) {
                                              var elem, j, matcher,
                                                  matchedCount = 0,
                                                  i = "0",
                                                  unmatched = seed && [],
                                  Severity: Major
                                  Found in public/assets/application-e6172b5f1ce821f01cad495ada62ddf1.js - About 2 hrs to fix

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

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

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

                                          init = jQuery.fn.init = function( selector, context ) {
                                              var match, elem;
                                      
                                              // HANDLE: $(""), $(null), $(undefined), $(false)
                                              if ( !selector ) {
                                      Severity: Major
                                      Found in public/assets/application-e6172b5f1ce821f01cad495ada62ddf1.js - About 2 hrs to fix

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

                                                        send: function( headers, complete ) {
                                                            var i,
                                                                xhr = options.xhr(),
                                                                id = ++xhrId;
                                        
                                        
                                        Severity: Major
                                        Found in public/assets/application-e6172b5f1ce821f01cad495ada62ddf1.js - About 2 hrs to fix

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

                                              handleRemote: function(element) {
                                                var method, url, data, elCrossDomain, crossDomain, withCredentials, dataType, options;
                                          
                                                if (rails.fire(element, 'ajax:before')) {
                                                  elCrossDomain = element.data('cross-domain');
                                          Severity: Major
                                          Found in public/assets/application-e6172b5f1ce821f01cad495ada62ddf1.js - About 2 hrs to fix

                                            Function Deferred has 59 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 public/assets/application-e6172b5f1ce821f01cad495ada62ddf1.js - About 2 hrs to fix

                                              Function CHILD has 59 lines of code (exceeds 25 allowed). Consider refactoring.
                                              Open

                                                      "CHILD": function( type, what, argument, first, last ) {
                                                          var simple = type.slice( 0, 3 ) !== "nth",
                                                              forward = type.slice( -4 ) !== "last",
                                                              ofType = what === "of-type";
                                              
                                              
                                              Severity: Major
                                              Found in public/assets/application-e6172b5f1ce821f01cad495ada62ddf1.js - About 2 hrs to fix

                                                Consider simplifying this complex logical expression.
                                                Open

                                                                        if ( forward && useCache ) {
                                                                            // Seek `elem` from a previously-cached index
                                                                            outerCache = parent[ expando ] || (parent[ expando ] = {});
                                                                            cache = outerCache[ type ] || [];
                                                                            nodeIndex = cache[0] === dirruns && cache[1];
                                                Severity: Critical
                                                Found in public/assets/application-e6172b5f1ce821f01cad495ada62ddf1.js - About 2 hrs to fix

                                                  Consider simplifying this complex logical expression.
                                                  Open

                                                  l(U[x],function(a,b){var c=this.t(b),e=b&&null!=b.callback;if(e)var f=new W(b.callback);for(var k=[],p=c[w]-1;0<=p;p--){var s=c[p];e&&f.B(s);if(this.e[":"+s])c.splice(p,1),e&&this.f[":"+s][m](f);else k[m](s)}if(c[w]){b&&b.packages&&(b.packages=c.sort()[B](","));for(p=0;p<k[w];p++)s=k[p],this.f[":"+s]=[],e&&this.f[":"+s][m](f);if(b||null==N[":"+this.b]||null==N[":"+this.b].versions[":"+a]||google[z].AdditionalParams||!this.j)b&&b.autoloaded||google[z].d("script",this.g(a,b),e);else{c=N[":"+this.b];
                                                  google[this.b]=google[this.b]||{};for(var R in c.properties)R&&":"==R[q](0)&&(google[this.b][R[A](1)]=c.properties[R]);google[z].d("script",google[z][t]+c.path+c.js,e);c.css&&google[z].d("css",google[z][t]+c.path+c.css,e)}this.j&&(this.j=!1,this.c=(new Date)[v](),1!=this.c%100&&(this.c=-1));for(p=0;p<k[w];p++)s=k[p],this.e[":"+s]=!0}});
                                                  Severity: Critical
                                                  Found in public/assets/application-e6172b5f1ce821f01cad495ada62ddf1.js - About 2 hrs to fix

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

                                                    function ajaxConvert( s, response, jqXHR, isSuccess ) {
                                                        var conv2, current, conv, tmp, prev,
                                                            converters = {},
                                                            // Work with a copy of dataTypes in case we need to modify it for conversion
                                                            dataTypes = s.dataTypes.slice();
                                                    Severity: Major
                                                    Found in public/assets/application-e6172b5f1ce821f01cad495ada62ddf1.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 public/assets/application-e6172b5f1ce821f01cad495ada62ddf1.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 public/assets/application-e6172b5f1ce821f01cad495ada62ddf1.js - About 2 hrs to fix

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

                                                            Tooltip.prototype.show = function () {
                                                              var e = $.Event('show.bs.' + this.type)
                                                          
                                                              if (this.hasContent() && this.enabled) {
                                                                this.$element.trigger(e)
                                                          Severity: Minor
                                                          Found in public/assets/application-e6172b5f1ce821f01cad495ada62ddf1.js - About 2 hrs to fix

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

                                                            function internalRemoveData( elem, name, pvt ) {
                                                                if ( !jQuery.acceptData( elem ) ) {
                                                                    return;
                                                                }
                                                            
                                                            
                                                            Severity: Minor
                                                            Found in public/assets/application-e6172b5f1ce821f01cad495ada62ddf1.js - About 1 hr to fix

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

                                                              function internalData( elem, name, data, pvt /* Internal Use Only */ ) {
                                                                  if ( !jQuery.acceptData( elem ) ) {
                                                                      return;
                                                                  }
                                                              
                                                              
                                                              Severity: Minor
                                                              Found in public/assets/application-e6172b5f1ce821f01cad495ada62ddf1.js - About 1 hr to fix

                                                                Function tokenize has 46 lines of code (exceeds 25 allowed). Consider refactoring.
                                                                Open

                                                                function tokenize( selector, parseOnly ) {
                                                                    var matched, match, tokens, type,
                                                                        soFar, groups, preFilters,
                                                                        cached = tokenCache[ selector + " " ];
                                                                
                                                                
                                                                Severity: Minor
                                                                Found in public/assets/application-e6172b5f1ce821f01cad495ada62ddf1.js - About 1 hr to fix

                                                                  Function select has 45 lines of code (exceeds 25 allowed). Consider refactoring.
                                                                  Open

                                                                  function select( selector, context, results, seed ) {
                                                                      var i, tokens, token, type, find,
                                                                          match = tokenize( selector );
                                                                  
                                                                      if ( !seed ) {
                                                                  Severity: Minor
                                                                  Found in public/assets/application-e6172b5f1ce821f01cad495ada62ddf1.js - About 1 hr to fix

                                                                    Function matcherFromTokens has 44 lines of code (exceeds 25 allowed). Consider refactoring.
                                                                    Open

                                                                    function matcherFromTokens( tokens ) {
                                                                        var checkContext, matcher, j,
                                                                            len = tokens.length,
                                                                            leadingRelative = Expr.relative[ tokens[0].type ],
                                                                            implicitRelative = leadingRelative || Expr.relative[" "],
                                                                    Severity: Minor
                                                                    Found in public/assets/application-e6172b5f1ce821f01cad495ada62ddf1.js - About 1 hr to fix

                                                                      Function slide has 44 lines of code (exceeds 25 allowed). Consider refactoring.
                                                                      Open

                                                                        Carousel.prototype.slide = function (type, next) {
                                                                          var $active   = this.$element.find('.item.active')
                                                                          var $next     = next || $active[type]()
                                                                          var isCycling = this.interval
                                                                          var direction = type == 'next' ? 'left' : 'right'
                                                                      Severity: Minor
                                                                      Found in public/assets/application-e6172b5f1ce821f01cad495ada62ddf1.js - About 1 hr to fix

                                                                        Consider simplifying this complex logical expression.
                                                                        Open

                                                                                    if ( typeof value === "string" && !rnoInnerhtml.test( value ) &&
                                                                                        ( support.htmlSerialize || !rnoshimcache.test( value )  ) &&
                                                                                        ( support.leadingWhitespace || !rleadingWhitespace.test( value ) ) &&
                                                                                        !wrapMap[ (rtagName.exec( value ) || [ "", "" ])[ 1 ].toLowerCase() ] ) {
                                                                        
                                                                        
                                                                        Severity: Critical
                                                                        Found in public/assets/application-e6172b5f1ce821f01cad495ada62ddf1.js - About 1 hr to fix

                                                                          Function stop has 40 lines of code (exceeds 25 allowed). Consider refactoring.
                                                                          Open

                                                                              stop: function( type, clearQueue, gotoEnd ) {
                                                                                  var stopQueue = function( hooks ) {
                                                                                      var stop = hooks.stop;
                                                                                      delete hooks.stop;
                                                                                      stop( gotoEnd );
                                                                          Severity: Minor
                                                                          Found in public/assets/application-e6172b5f1ce821f01cad495ada62ddf1.js - About 1 hr to fix

                                                                            Function extend has 40 lines of code (exceeds 25 allowed). Consider refactoring.
                                                                            Open

                                                                            jQuery.extend = jQuery.fn.extend = function() {
                                                                                var src, copyIsArray, copy, name, options, clone,
                                                                                    target = arguments[0] || {},
                                                                                    i = 1,
                                                                                    length = arguments.length,
                                                                            Severity: Minor
                                                                            Found in public/assets/application-e6172b5f1ce821f01cad495ada62ddf1.js - About 1 hr to fix

                                                                              Function on has 40 lines of code (exceeds 25 allowed). Consider refactoring.
                                                                              Open

                                                                                  on: function( types, selector, data, fn, /*INTERNAL*/ one ) {
                                                                                      var type, origFn;
                                                                              
                                                                                      // Types can be a map of types/handlers
                                                                                      if ( typeof types === "object" ) {
                                                                              Severity: Minor
                                                                              Found in public/assets/application-e6172b5f1ce821f01cad495ada62ddf1.js - About 1 hr to fix

                                                                                Function val has 40 lines of code (exceeds 25 allowed). Consider refactoring.
                                                                                Open

                                                                                    val: function( value ) {
                                                                                        var hooks, ret, isFunction,
                                                                                            elem = this[0];
                                                                                
                                                                                        if ( !arguments.length ) {
                                                                                Severity: Minor
                                                                                Found in public/assets/application-e6172b5f1ce821f01cad495ada62ddf1.js - About 1 hr to fix

                                                                                  Function addCombinator has 39 lines of code (exceeds 25 allowed). Consider refactoring.
                                                                                  Open

                                                                                  function addCombinator( matcher, combinator, base ) {
                                                                                      var dir = combinator.dir,
                                                                                          checkNonElements = base && dir === "parentNode",
                                                                                          doneName = done++;
                                                                                  
                                                                                  
                                                                                  Severity: Minor
                                                                                  Found in public/assets/application-e6172b5f1ce821f01cad495ada62ddf1.js - About 1 hr to fix

                                                                                    Function applyPlacement has 39 lines of code (exceeds 25 allowed). Consider refactoring.
                                                                                    Open

                                                                                      Tooltip.prototype.applyPlacement = function (offset, placement) {
                                                                                        var replace
                                                                                        var $tip   = this.tip()
                                                                                        var width  = $tip[0].offsetWidth
                                                                                        var height = $tip[0].offsetHeight
                                                                                    Severity: Minor
                                                                                    Found in public/assets/application-e6172b5f1ce821f01cad495ada62ddf1.js - About 1 hr to fix

                                                                                      Function each has 38 lines of code (exceeds 25 allowed). Consider refactoring.
                                                                                      Open

                                                                                          each: function( obj, callback, args ) {
                                                                                              var value,
                                                                                                  i = 0,
                                                                                                  length = obj.length,
                                                                                                  isArray = isArraylike( obj );
                                                                                      Severity: Minor
                                                                                      Found in public/assets/application-e6172b5f1ce821f01cad495ada62ddf1.js - About 1 hr to fix

                                                                                        Function ajaxHandleResponses has 37 lines of code (exceeds 25 allowed). Consider refactoring.
                                                                                        Open

                                                                                        function ajaxHandleResponses( s, jqXHR, responses ) {
                                                                                            var firstDataType, ct, finalDataType, type,
                                                                                                contents = s.contents,
                                                                                                dataTypes = s.dataTypes;
                                                                                        
                                                                                        
                                                                                        Severity: Minor
                                                                                        Found in public/assets/application-e6172b5f1ce821f01cad495ada62ddf1.js - About 1 hr to fix

                                                                                          Function showHide has 37 lines of code (exceeds 25 allowed). Consider refactoring.
                                                                                          Open

                                                                                          function showHide( elements, show ) {
                                                                                              var display, elem, hidden,
                                                                                                  values = [],
                                                                                                  index = 0,
                                                                                                  length = elements.length;
                                                                                          Severity: Minor
                                                                                          Found in public/assets/application-e6172b5f1ce821f01cad495ada62ddf1.js - About 1 hr to fix

                                                                                            Function when has 36 lines of code (exceeds 25 allowed). Consider refactoring.
                                                                                            Open

                                                                                                when: function( subordinate /* , ..., subordinateN */ ) {
                                                                                                    var i = 0,
                                                                                                        resolveValues = slice.call( arguments ),
                                                                                                        length = resolveValues.length,
                                                                                            
                                                                                            
                                                                                            Severity: Minor
                                                                                            Found in public/assets/application-e6172b5f1ce821f01cad495ada62ddf1.js - About 1 hr to fix

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

                                                                                              var access = jQuery.access = function( elems, fn, key, value, chainable, emptyGet, raw ) {
                                                                                                  var i = 0,
                                                                                                      length = elems.length,
                                                                                                      bulk = key == null;
                                                                                              
                                                                                              
                                                                                              Severity: Minor
                                                                                              Found in public/assets/application-e6172b5f1ce821f01cad495ada62ddf1.js - About 1 hr to fix

                                                                                                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 ( support.html5Clone || jQuery.isXMLDoc(elem) || !rnoshimcache.test( "<" + elem.nodeName + ">" ) ) {
                                                                                                Severity: Minor
                                                                                                Found in public/assets/application-e6172b5f1ce821f01cad495ada62ddf1.js - About 1 hr to fix

                                                                                                  Function style has 35 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 public/assets/application-e6172b5f1ce821f01cad495ada62ddf1.js - About 1 hr to fix

                                                                                                    Function dispatch has 35 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 );
                                                                                                    
                                                                                                    
                                                                                                    Severity: Minor
                                                                                                    Found in public/assets/application-e6172b5f1ce821f01cad495ada62ddf1.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 public/assets/application-e6172b5f1ce821f01cad495ada62ddf1.js - About 1 hr to fix

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

                                                                                                            setOffset: function( elem, options, i ) {
                                                                                                                var curPosition, curLeft, curCSSTop, curTop, curOffset, curCSSLeft, calculatePosition,
                                                                                                                    position = jQuery.css( elem, "position" ),
                                                                                                                    curElem = jQuery( elem ),
                                                                                                                    props = {};
                                                                                                        Severity: Minor
                                                                                                        Found in public/assets/application-e6172b5f1ce821f01cad495ada62ddf1.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 public/assets/application-e6172b5f1ce821f01cad495ada62ddf1.js - About 1 hr to fix

                                                                                                            Consider simplifying this complex logical expression.
                                                                                                            Open

                                                                                                            l(google,function(a,b,c){function e(a){var b=a.split(".");if(2<b[w])throw H("Module: '"+a+"' not found!");"undefined"!=typeof b[1]&&(f=b[0],c.packages=c.packages||[],c.packages[m](b[1]))}var f=a;c=c||{};if(a instanceof Array||a&&"object"==typeof a&&"function"==typeof a[B]&&"function"==typeof a.reverse)for(var k=0;k<a[w];k++)e(a[k]);else e(a);if(a=M[":"+f]){c&&!c.language&&c.locale&&(c.language=c.locale);c&&"string"==typeof c.callback&&(k=c.callback,k.match(/^[[\]A-Za-z0-9._]+$/)&&(k=g.eval(k),c.callback=
                                                                                                            k));if((k=c&&null!=c.callback)&&!a.s(b))throw H("Module: '"+f+"' must be loaded before DOM onLoad!");k?a.m(b,c)?g[y](c.callback,0):a.load(b,c):a.m(b,c)||a.load(b,c)}else throw H("Module: '"+f+"' not found!");});K("google.load",google.load);
                                                                                                            Severity: Critical
                                                                                                            Found in public/assets/application-e6172b5f1ce821f01cad495ada62ddf1.js - About 1 hr to fix

                                                                                                              Consider simplifying this complex logical expression.
                                                                                                              Open

                                                                                                                          if ( start && start[ 3 ] !== unit ) {
                                                                                                                              // Trust units reported by jQuery.css
                                                                                                                              unit = unit || start[ 3 ];
                                                                                                              
                                                                                                                              // Make sure we update the tween properties later on
                                                                                                              Severity: Critical
                                                                                                              Found in public/assets/application-e6172b5f1ce821f01cad495ada62ddf1.js - About 1 hr to fix

                                                                                                                Function fixCloneNodeIssues has 32 lines of code (exceeds 25 allowed). Consider refactoring.
                                                                                                                Open

                                                                                                                function fixCloneNodeIssues( src, dest ) {
                                                                                                                    var nodeName, e, data;
                                                                                                                
                                                                                                                    // We do not need to do anything for non-Elements
                                                                                                                    if ( dest.nodeType !== 1 ) {
                                                                                                                Severity: Minor
                                                                                                                Found in public/assets/application-e6172b5f1ce821f01cad495ada62ddf1.js - About 1 hr to fix

                                                                                                                  Function removeClass has 32 lines of code (exceeds 25 allowed). Consider refactoring.
                                                                                                                  Open

                                                                                                                      removeClass: function( value ) {
                                                                                                                          var classes, elem, cur, clazz, j, finalValue,
                                                                                                                              i = 0,
                                                                                                                              len = this.length,
                                                                                                                              proceed = arguments.length === 0 || typeof value === "string" && value;
                                                                                                                  Severity: Minor
                                                                                                                  Found in public/assets/application-e6172b5f1ce821f01cad495ada62ddf1.js - About 1 hr to fix

                                                                                                                    Function addClass has 32 lines of code (exceeds 25 allowed). Consider refactoring.
                                                                                                                    Open

                                                                                                                        addClass: function( value ) {
                                                                                                                            var classes, elem, cur, clazz, j, finalValue,
                                                                                                                                i = 0,
                                                                                                                                len = this.length,
                                                                                                                                proceed = typeof value === "string" && value;
                                                                                                                    Severity: Minor
                                                                                                                    Found in public/assets/application-e6172b5f1ce821f01cad495ada62ddf1.js - About 1 hr to fix

                                                                                                                      Function load has 32 lines of code (exceeds 25 allowed). Consider refactoring.
                                                                                                                      Open

                                                                                                                      jQuery.fn.load = function( url, params, callback ) {
                                                                                                                          if ( typeof url !== "string" && _load ) {
                                                                                                                              return _load.apply( this, arguments );
                                                                                                                          }
                                                                                                                      
                                                                                                                      
                                                                                                                      Severity: Minor
                                                                                                                      Found in public/assets/application-e6172b5f1ce821f01cad495ada62ddf1.js - About 1 hr to fix

                                                                                                                        Function show has 31 lines of code (exceeds 25 allowed). Consider refactoring.
                                                                                                                        Open

                                                                                                                          Collapse.prototype.show = function () {
                                                                                                                            if (this.transitioning || this.$element.hasClass('in')) return
                                                                                                                        
                                                                                                                            var startEvent = $.Event('show.bs.collapse')
                                                                                                                            this.$element.trigger(startEvent)
                                                                                                                        Severity: Minor
                                                                                                                        Found in public/assets/application-e6172b5f1ce821f01cad495ada62ddf1.js - About 1 hr to fix

                                                                                                                          Function show has 31 lines of code (exceeds 25 allowed). Consider refactoring.
                                                                                                                          Open

                                                                                                                            Modal.prototype.show = function (_relatedTarget) {
                                                                                                                              var that = this
                                                                                                                              var e    = $.Event('show.bs.modal', { relatedTarget: _relatedTarget })
                                                                                                                          
                                                                                                                              this.$element.trigger(e)
                                                                                                                          Severity: Minor
                                                                                                                          Found in public/assets/application-e6172b5f1ce821f01cad495ada62ddf1.js - About 1 hr to fix

                                                                                                                            Function attr has 30 lines of code (exceeds 25 allowed). Consider refactoring.
                                                                                                                            Open

                                                                                                                                attr: function( elem, name, value ) {
                                                                                                                                    var hooks, ret,
                                                                                                                                        nType = elem.nodeType;
                                                                                                                            
                                                                                                                                    // don't get/set attributes on text, comment and attribute nodes
                                                                                                                            Severity: Minor
                                                                                                                            Found in public/assets/application-e6172b5f1ce821f01cad495ada62ddf1.js - About 1 hr to fix

                                                                                                                              Function promise has 30 lines of code (exceeds 25 allowed). Consider refactoring.
                                                                                                                              Open

                                                                                                                              jQuery.ready.promise = function( obj ) {
                                                                                                                                  if ( !readyList ) {
                                                                                                                              
                                                                                                                                      readyList = jQuery.Deferred();
                                                                                                                              
                                                                                                                              
                                                                                                                              Severity: Minor
                                                                                                                              Found in public/assets/application-e6172b5f1ce821f01cad495ada62ddf1.js - About 1 hr to fix

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

                                                                                                                                    data: function( key, value ) {
                                                                                                                                        var i, name, data,
                                                                                                                                            elem = this[0],
                                                                                                                                            attrs = elem && elem.attributes;
                                                                                                                                
                                                                                                                                
                                                                                                                                Severity: Minor
                                                                                                                                Found in public/assets/application-e6172b5f1ce821f01cad495ada62ddf1.js - About 1 hr to fix

                                                                                                                                  Function handlers has 30 lines of code (exceeds 25 allowed). Consider refactoring.
                                                                                                                                  Open

                                                                                                                                      handlers: function( event, handlers ) {
                                                                                                                                          var sel, handleObj, matches, i,
                                                                                                                                              handlerQueue = [],
                                                                                                                                              delegateCount = handlers.delegateCount,
                                                                                                                                              cur = event.target;
                                                                                                                                  Severity: Minor
                                                                                                                                  Found in public/assets/application-e6172b5f1ce821f01cad495ada62ddf1.js - About 1 hr to fix

                                                                                                                                    Function checkPosition has 29 lines of code (exceeds 25 allowed). Consider refactoring.
                                                                                                                                    Open

                                                                                                                                      Affix.prototype.checkPosition = function () {
                                                                                                                                        if (!this.$element.is(':visible')) return
                                                                                                                                    
                                                                                                                                        var scrollHeight = $(document).height()
                                                                                                                                        var scrollTop    = this.$window.scrollTop()
                                                                                                                                    Severity: Minor
                                                                                                                                    Found in public/assets/application-e6172b5f1ce821f01cad495ada62ddf1.js - About 1 hr to fix

                                                                                                                                      Function toggleClass has 29 lines of code (exceeds 25 allowed). Consider refactoring.
                                                                                                                                      Open

                                                                                                                                          toggleClass: function( value, stateVal ) {
                                                                                                                                              var type = typeof value;
                                                                                                                                      
                                                                                                                                              if ( typeof stateVal === "boolean" && type === "string" ) {
                                                                                                                                                  return stateVal ? this.addClass( value ) : this.removeClass( value );
                                                                                                                                      Severity: Minor
                                                                                                                                      Found in public/assets/application-e6172b5f1ce821f01cad495ada62ddf1.js - About 1 hr to fix

                                                                                                                                        Function backdrop has 29 lines of code (exceeds 25 allowed). Consider refactoring.
                                                                                                                                        Open

                                                                                                                                          Modal.prototype.backdrop = function (callback) {
                                                                                                                                            var animate = this.$element.hasClass('fade') ? 'fade' : ''
                                                                                                                                        
                                                                                                                                            if (this.isShown && this.options.backdrop) {
                                                                                                                                              var doAnimate = $.support.transition && animate
                                                                                                                                        Severity: Minor
                                                                                                                                        Found in public/assets/application-e6172b5f1ce821f01cad495ada62ddf1.js - About 1 hr to fix

                                                                                                                                          Function html has 29 lines of code (exceeds 25 allowed). Consider refactoring.
                                                                                                                                          Open

                                                                                                                                              html: function( value ) {
                                                                                                                                                  return access( this, function( value ) {
                                                                                                                                                      var elem = this[ 0 ] || {},
                                                                                                                                                          i = 0,
                                                                                                                                                          l = this.length;
                                                                                                                                          Severity: Minor
                                                                                                                                          Found in public/assets/application-e6172b5f1ce821f01cad495ada62ddf1.js - About 1 hr to fix

                                                                                                                                            Function fix has 28 lines of code (exceeds 25 allowed). Consider refactoring.
                                                                                                                                            Open

                                                                                                                                                fix: function( event ) {
                                                                                                                                                    if ( event[ jQuery.expando ] ) {
                                                                                                                                                        return event;
                                                                                                                                                    }
                                                                                                                                            
                                                                                                                                            
                                                                                                                                            Severity: Minor
                                                                                                                                            Found in public/assets/application-e6172b5f1ce821f01cad495ada62ddf1.js - About 1 hr to fix

                                                                                                                                              Function finish has 28 lines of code (exceeds 25 allowed). Consider refactoring.
                                                                                                                                              Open

                                                                                                                                                  finish: function( type ) {
                                                                                                                                                      if ( type !== false ) {
                                                                                                                                                          type = type || "fx";
                                                                                                                                                      }
                                                                                                                                                      return this.each(function() {
                                                                                                                                              Severity: Minor
                                                                                                                                              Found in public/assets/application-e6172b5f1ce821f01cad495ada62ddf1.js - About 1 hr to fix

                                                                                                                                                Function setup has 27 lines of code (exceeds 25 allowed). Consider refactoring.
                                                                                                                                                Open

                                                                                                                                                        setup: function() {
                                                                                                                                                
                                                                                                                                                            if ( rformElems.test( this.nodeName ) ) {
                                                                                                                                                                // IE doesn't fire change on a check/radio until blur; trigger it on click
                                                                                                                                                                // after a propertychange. Eat the blur-change in special.change.handle.
                                                                                                                                                Severity: Minor
                                                                                                                                                Found in public/assets/application-e6172b5f1ce821f01cad495ada62ddf1.js - About 1 hr to fix

                                                                                                                                                  Function propFilter has 27 lines of code (exceeds 25 allowed). Consider refactoring.
                                                                                                                                                  Open

                                                                                                                                                  function propFilter( props, specialEasing ) {
                                                                                                                                                      var index, name, easing, value, hooks;
                                                                                                                                                  
                                                                                                                                                      // camelCase, specialEasing and expand cssHook pass
                                                                                                                                                      for ( index in props ) {
                                                                                                                                                  Severity: Minor
                                                                                                                                                  Found in public/assets/application-e6172b5f1ce821f01cad495ada62ddf1.js - About 1 hr to fix

                                                                                                                                                    Function parseISO8601 has 27 lines of code (exceeds 25 allowed). Consider refactoring.
                                                                                                                                                    Open

                                                                                                                                                      function parseISO8601(input) {
                                                                                                                                                        var day, hour, matches, milliseconds, minutes, month, offset, result, seconds, type, year;
                                                                                                                                                        type = Object.prototype.toString.call(input);
                                                                                                                                                        if (type === '[object Date]') {
                                                                                                                                                          return input;
                                                                                                                                                    Severity: Minor
                                                                                                                                                    Found in public/assets/application-e6172b5f1ce821f01cad495ada62ddf1.js - About 1 hr to fix

                                                                                                                                                      Function activate has 27 lines of code (exceeds 25 allowed). Consider refactoring.
                                                                                                                                                      Open

                                                                                                                                                        Tab.prototype.activate = function (element, container, callback) {
                                                                                                                                                          var $active    = container.find('> .active')
                                                                                                                                                          var transition = callback
                                                                                                                                                            && $.support.transition
                                                                                                                                                            && $active.hasClass('fade')
                                                                                                                                                      Severity: Minor
                                                                                                                                                      Found in public/assets/application-e6172b5f1ce821f01cad495ada62ddf1.js - About 1 hr to fix

                                                                                                                                                        Function offset has 26 lines of code (exceeds 25 allowed). Consider refactoring.
                                                                                                                                                        Open

                                                                                                                                                            offset: function( options ) {
                                                                                                                                                                if ( arguments.length ) {
                                                                                                                                                                    return options === undefined ?
                                                                                                                                                                        this :
                                                                                                                                                                        this.each(function( i ) {
                                                                                                                                                        Severity: Minor
                                                                                                                                                        Found in public/assets/application-e6172b5f1ce821f01cad495ada62ddf1.js - About 1 hr to fix

                                                                                                                                                          Function * has 26 lines of code (exceeds 25 allowed). Consider refactoring.
                                                                                                                                                          Open

                                                                                                                                                                  "*": [ function( prop, value ) {
                                                                                                                                                                      var tween = this.createTween( prop, value ),
                                                                                                                                                                          target = tween.cur(),
                                                                                                                                                                          parts = rfxnum.exec( value ),
                                                                                                                                                                          unit = parts && parts[ 3 ] || ( jQuery.cssNumber[ prop ] ? "" : "px" ),
                                                                                                                                                          Severity: Minor
                                                                                                                                                          Found in public/assets/application-e6172b5f1ce821f01cad495ada62ddf1.js - About 1 hr to fix

                                                                                                                                                            Function computeStyleTests has 26 lines of code (exceeds 25 allowed). Consider refactoring.
                                                                                                                                                            Open

                                                                                                                                                                function computeStyleTests() {
                                                                                                                                                                    var container, div,
                                                                                                                                                                        body = document.getElementsByTagName( "body" )[ 0 ];
                                                                                                                                                            
                                                                                                                                                                    if ( !body ) {
                                                                                                                                                            Severity: Minor
                                                                                                                                                            Found in public/assets/application-e6172b5f1ce821f01cad495ada62ddf1.js - About 1 hr to fix

                                                                                                                                                              Function off has 26 lines of code (exceeds 25 allowed). Consider refactoring.
                                                                                                                                                              Open

                                                                                                                                                                  off: function( types, selector, fn ) {
                                                                                                                                                                      var handleObj, type;
                                                                                                                                                                      if ( types && types.preventDefault && types.handleObj ) {
                                                                                                                                                                          // ( event )  dispatched jQuery.Event
                                                                                                                                                                          handleObj = types.handleObj;
                                                                                                                                                              Severity: Minor
                                                                                                                                                              Found in public/assets/application-e6172b5f1ce821f01cad495ada62ddf1.js - About 1 hr to fix

                                                                                                                                                                Consider simplifying this complex logical expression.
                                                                                                                                                                Open

                                                                                                                                                                            if ( tokens.length > 2 && (token = tokens[0]).type === "ID" &&
                                                                                                                                                                                    support.getById && context.nodeType === 9 && documentIsHTML &&
                                                                                                                                                                                    Expr.relative[ tokens[1].type ] ) {
                                                                                                                                                                
                                                                                                                                                                                context = ( Expr.find["ID"]( token.matches[0].replace(runescape, funescape), context ) || [] )[0];
                                                                                                                                                                Severity: Major
                                                                                                                                                                Found in public/assets/application-e6172b5f1ce821f01cad495ada62ddf1.js - About 1 hr to fix

                                                                                                                                                                  Function access has 7 arguments (exceeds 4 allowed). Consider refactoring.
                                                                                                                                                                  Open

                                                                                                                                                                  var access = jQuery.access = function( elems, fn, key, value, chainable, emptyGet, raw ) {
                                                                                                                                                                  Severity: Major
                                                                                                                                                                  Found in public/assets/application-e6172b5f1ce821f01cad495ada62ddf1.js - About 50 mins to fix

                                                                                                                                                                    Avoid deeply nested control flow statements.
                                                                                                                                                                    Open

                                                                                                                                                                                        if ( context.ownerDocument && (elem = context.ownerDocument.getElementById( m )) &&
                                                                                                                                                                                            contains( context, elem ) && elem.id === m ) {
                                                                                                                                                                                            results.push( elem );
                                                                                                                                                                                            return results;
                                                                                                                                                                                        }
                                                                                                                                                                    Severity: Major
                                                                                                                                                                    Found in public/assets/application-e6172b5f1ce821f01cad495ada62ddf1.js - About 45 mins to fix

                                                                                                                                                                      Avoid deeply nested control flow statements.
                                                                                                                                                                      Open

                                                                                                                                                                                              while ( j-- ) {
                                                                                                                                                                                                  if ( jQuery.nodeName( (tbody = elem.childNodes[j]), "tbody" ) && !tbody.childNodes.length ) {
                                                                                                                                                                                                      elem.removeChild( tbody );
                                                                                                                                                                                                  }
                                                                                                                                                                                              }
                                                                                                                                                                      Severity: Major
                                                                                                                                                                      Found in public/assets/application-e6172b5f1ce821f01cad495ada62ddf1.js - About 45 mins to fix

                                                                                                                                                                        Avoid deeply nested control flow statements.
                                                                                                                                                                        Open

                                                                                                                                                                                                        if ( typeof xhr.responseText === "string" ) {
                                                                                                                                                                                                            responses.text = xhr.responseText;
                                                                                                                                                                                                        }
                                                                                                                                                                        Severity: Major
                                                                                                                                                                        Found in public/assets/application-e6172b5f1ce821f01cad495ada62ddf1.js - About 45 mins to fix

                                                                                                                                                                          Avoid deeply nested control flow statements.
                                                                                                                                                                          Open

                                                                                                                                                                                                          if ( !status && options.isLocal && !options.crossDomain ) {
                                                                                                                                                                                                              status = responses.text ? 200 : 404;
                                                                                                                                                                                                          // IE - #1450: sometimes returns 1223 when it should be 204
                                                                                                                                                                                                          } else if ( status === 1223 ) {
                                                                                                                                                                                                              status = 204;
                                                                                                                                                                          Severity: Major
                                                                                                                                                                          Found in public/assets/application-e6172b5f1ce821f01cad495ada62ddf1.js - About 45 mins to fix

                                                                                                                                                                            Avoid deeply nested control flow statements.
                                                                                                                                                                            Open

                                                                                                                                                                                                if ( copyIsArray ) {
                                                                                                                                                                                                    copyIsArray = false;
                                                                                                                                                                                                    clone = src && jQuery.isArray(src) ? src : [];
                                                                                                                                                                            
                                                                                                                                                                                                } else {
                                                                                                                                                                            Severity: Major
                                                                                                                                                                            Found in public/assets/application-e6172b5f1ce821f01cad495ada62ddf1.js - About 45 mins to fix

                                                                                                                                                                              Avoid deeply nested control flow statements.
                                                                                                                                                                              Open

                                                                                                                                                                                                  if ( elem && elem.parentNode ) {
                                                                                                                                                                                                      // Handle the case where IE, Opera, and Webkit return items
                                                                                                                                                                                                      // by name instead of ID
                                                                                                                                                                                                      if ( elem.id === m ) {
                                                                                                                                                                                                          results.push( elem );
                                                                                                                                                                              Severity: Major
                                                                                                                                                                              Found in public/assets/application-e6172b5f1ce821f01cad495ada62ddf1.js - About 45 mins to fix

                                                                                                                                                                                Avoid deeply nested control flow statements.
                                                                                                                                                                                Open

                                                                                                                                                                                                                    if ( ofType ? node.nodeName.toLowerCase() === name : node.nodeType === 1 ) {
                                                                                                                                                                                                                        return false;
                                                                                                                                                                                                                    }
                                                                                                                                                                                Severity: Major
                                                                                                                                                                                Found in public/assets/application-e6172b5f1ce821f01cad495ada62ddf1.js - About 45 mins to fix

                                                                                                                                                                                  Avoid deeply nested control flow statements.
                                                                                                                                                                                  Open

                                                                                                                                                                                                          if ( deleteExpando ) {
                                                                                                                                                                                                              delete elem[ internalKey ];
                                                                                                                                                                                  
                                                                                                                                                                                                          } else if ( typeof elem.removeAttribute !== strundefined ) {
                                                                                                                                                                                                              elem.removeAttribute( internalKey );
                                                                                                                                                                                  Severity: Major
                                                                                                                                                                                  Found in public/assets/application-e6172b5f1ce821f01cad495ada62ddf1.js - About 45 mins to fix

                                                                                                                                                                                    Avoid deeply nested control flow statements.
                                                                                                                                                                                    Open

                                                                                                                                                                                                            if ( (event.result = ret) === false ) {
                                                                                                                                                                                                                event.preventDefault();
                                                                                                                                                                                                                event.stopPropagation();
                                                                                                                                                                                                            }
                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                    Found in public/assets/application-e6172b5f1ce821f01cad495ada62ddf1.js - About 45 mins to fix

                                                                                                                                                                                      Avoid deeply nested control flow statements.
                                                                                                                                                                                      Open

                                                                                                                                                                                                                      if ( ( ofType ? node.nodeName.toLowerCase() === name : node.nodeType === 1 ) && ++diff ) {
                                                                                                                                                                                                                          // Cache the index of each encountered element
                                                                                                                                                                                                                          if ( useCache ) {
                                                                                                                                                                                                                              (node[ expando ] || (node[ expando ] = {}))[ type ] = [ dirruns, diff ];
                                                                                                                                                                                                                          }
                                                                                                                                                                                      Severity: Major
                                                                                                                                                                                      Found in public/assets/application-e6172b5f1ce821f01cad495ada62ddf1.js - About 45 mins to fix

                                                                                                                                                                                        Avoid deeply nested control flow statements.
                                                                                                                                                                                        Open

                                                                                                                                                                                                  if (!rows[key]) {
                                                                                                                                                                                                    rows[key] = new Array(series.length);
                                                                                                                                                                                                  }
                                                                                                                                                                                        Severity: Major
                                                                                                                                                                                        Found in public/assets/application-e6172b5f1ce821f01cad495ada62ddf1.js - About 45 mins to fix

                                                                                                                                                                                          Avoid deeply nested control flow statements.
                                                                                                                                                                                          Open

                                                                                                                                                                                                                  if ( (elem = matcherOut[i]) ) {
                                                                                                                                                                                                                      // Restore matcherIn since elem is not yet a final match
                                                                                                                                                                                                                      temp.push( (matcherIn[i] = elem) );
                                                                                                                                                                                                                  }
                                                                                                                                                                                          Severity: Major
                                                                                                                                                                                          Found in public/assets/application-e6172b5f1ce821f01cad495ada62ddf1.js - About 45 mins to fix

                                                                                                                                                                                            Avoid deeply nested control flow statements.
                                                                                                                                                                                            Open

                                                                                                                                                                                                                    for ( match in context ) {
                                                                                                                                                                                                                        // Properties of context are called as methods if possible
                                                                                                                                                                                                                        if ( jQuery.isFunction( this[ match ] ) ) {
                                                                                                                                                                                                                            this[ match ]( context[ match ] );
                                                                                                                                                                                            
                                                                                                                                                                                            
                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                            Found in public/assets/application-e6172b5f1ce821f01cad495ada62ddf1.js - About 45 mins to fix

                                                                                                                                                                                              Avoid deeply nested control flow statements.
                                                                                                                                                                                              Open

                                                                                                                                                                                                                      if ( name.indexOf("data-") === 0 ) {
                                                                                                                                                                                                                          name = jQuery.camelCase( name.slice(5) );
                                                                                                                                                                                              
                                                                                                                                                                                                                          dataAttr( elem, name, data[ name ] );
                                                                                                                                                                                                                      }
                                                                                                                                                                                              Severity: Major
                                                                                                                                                                                              Found in public/assets/application-e6172b5f1ce821f01cad495ada62ddf1.js - About 45 mins to fix

                                                                                                                                                                                                Avoid deeply nested control flow statements.
                                                                                                                                                                                                Open

                                                                                                                                                                                                                    if ( name in thisCache ) {
                                                                                                                                                                                                                        name = [ name ];
                                                                                                                                                                                                                    } else {
                                                                                                                                                                                                                        name = name.split(" ");
                                                                                                                                                                                                                    }
                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                Found in public/assets/application-e6172b5f1ce821f01cad495ada62ddf1.js - About 45 mins to fix

                                                                                                                                                                                                  Avoid deeply nested control flow statements.
                                                                                                                                                                                                  Open

                                                                                                                                                                                                                          if ( hasScripts ) {
                                                                                                                                                                                                                              jQuery.merge( scripts, getAll( node, "script" ) );
                                                                                                                                                                                                                          }
                                                                                                                                                                                                  Severity: Major
                                                                                                                                                                                                  Found in public/assets/application-e6172b5f1ce821f01cad495ada62ddf1.js - About 45 mins to fix

                                                                                                                                                                                                    Avoid deeply nested control flow statements.
                                                                                                                                                                                                    Open

                                                                                                                                                                                                                                    if ( xhr.readyState !== 4 ) {
                                                                                                                                                                                                                                        xhr.abort();
                                                                                                                                                                                                                                    }
                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                    Found in public/assets/application-e6172b5f1ce821f01cad495ada62ddf1.js - About 45 mins to fix

                                                                                                                                                                                                      Avoid deeply nested control flow statements.
                                                                                                                                                                                                      Open

                                                                                                                                                                                                                                  if ( !(unmatched[i] || setMatched[i]) ) {
                                                                                                                                                                                                                                      setMatched[i] = pop.call( results );
                                                                                                                                                                                                                                  }
                                                                                                                                                                                                      Severity: Major
                                                                                                                                                                                                      Found in public/assets/application-e6172b5f1ce821f01cad495ada62ddf1.js - About 45 mins to fix

                                                                                                                                                                                                        Avoid deeply nested control flow statements.
                                                                                                                                                                                                        Open

                                                                                                                                                                                                                                if ( matches[ sel ] ) {
                                                                                                                                                                                                                                    matches.push( handleObj );
                                                                                                                                                                                                                                }
                                                                                                                                                                                                        Severity: Major
                                                                                                                                                                                                        Found in public/assets/application-e6172b5f1ce821f01cad495ada62ddf1.js - About 45 mins to fix

                                                                                                                                                                                                          Avoid deeply nested control flow statements.
                                                                                                                                                                                                          Open

                                                                                                                                                                                                                                  for ( type in data.events ) {
                                                                                                                                                                                                                                      if ( special[ type ] ) {
                                                                                                                                                                                                                                          jQuery.event.remove( elem, type );
                                                                                                                                                                                                          
                                                                                                                                                                                                                                      // This is a shortcut to avoid jQuery.event.remove's overhead
                                                                                                                                                                                                          Severity: Major
                                                                                                                                                                                                          Found in public/assets/application-e6172b5f1ce821f01cad495ada62ddf1.js - About 45 mins to fix

                                                                                                                                                                                                            Avoid deeply nested control flow statements.
                                                                                                                                                                                                            Open

                                                                                                                                                                                                                      if (element.data('params')) data = data + "&" + element.data('params');
                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                            Found in public/assets/application-e6172b5f1ce821f01cad495ada62ddf1.js - About 45 mins to fix

                                                                                                                                                                                                              Function setMatcher has 6 arguments (exceeds 4 allowed). Consider refactoring.
                                                                                                                                                                                                              Open

                                                                                                                                                                                                              function setMatcher( preFilter, selector, matcher, postFilter, postFinder, postSelector ) {
                                                                                                                                                                                                              Severity: Minor
                                                                                                                                                                                                              Found in public/assets/application-e6172b5f1ce821f01cad495ada62ddf1.js - About 45 mins to fix

                                                                                                                                                                                                                Avoid deeply nested control flow statements.
                                                                                                                                                                                                                Open

                                                                                                                                                                                                                                        if ( elem.id !== match[2] ) {
                                                                                                                                                                                                                                            return rootjQuery.find( selector );
                                                                                                                                                                                                                                        }
                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                Found in public/assets/application-e6172b5f1ce821f01cad495ada62ddf1.js - About 45 mins to fix

                                                                                                                                                                                                                  Avoid deeply nested control flow statements.
                                                                                                                                                                                                                  Open

                                                                                                                                                                                                                                          if ( matches[ sel ] === undefined ) {
                                                                                                                                                                                                                                              matches[ sel ] = handleObj.needsContext ?
                                                                                                                                                                                                                                                  jQuery( sel, this ).index( cur ) >= 0 :
                                                                                                                                                                                                                                                  jQuery.find( sel, this, null, [ cur ] ).length;
                                                                                                                                                                                                                                          }
                                                                                                                                                                                                                  Severity: Major
                                                                                                                                                                                                                  Found in public/assets/application-e6172b5f1ce821f01cad495ada62ddf1.js - About 45 mins to fix

                                                                                                                                                                                                                    Avoid deeply nested control flow statements.
                                                                                                                                                                                                                    Open

                                                                                                                                                                                                                                        if ( Expr.relative[ tokens[j].type ] ) {
                                                                                                                                                                                                                                            break;
                                                                                                                                                                                                                                        }
                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                    Found in public/assets/application-e6172b5f1ce821f01cad495ada62ddf1.js - About 45 mins to fix

                                                                                                                                                                                                                      Function init has 6 arguments (exceeds 4 allowed). Consider refactoring.
                                                                                                                                                                                                                      Open

                                                                                                                                                                                                                          init: function( elem, options, prop, end, easing, unit ) {
                                                                                                                                                                                                                      Severity: Minor
                                                                                                                                                                                                                      Found in public/assets/application-e6172b5f1ce821f01cad495ada62ddf1.js - About 45 mins to fix

                                                                                                                                                                                                                        Avoid deeply nested control flow statements.
                                                                                                                                                                                                                        Open

                                                                                                                                                                                                                                                if ( rscriptType.test( node.type || "" ) &&
                                                                                                                                                                                                                                                    !jQuery._data( node, "globalEval" ) && jQuery.contains( doc, node ) ) {
                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                    if ( node.src ) {
                                                                                                                                                                                                                                                        // Optional AJAX dependency, but won't run scripts if not present
                                                                                                                                                                                                                        Severity: Major
                                                                                                                                                                                                                        Found in public/assets/application-e6172b5f1ce821f01cad495ada62ddf1.js - About 45 mins to fix

                                                                                                                                                                                                                          Avoid deeply nested control flow statements.
                                                                                                                                                                                                                          Open

                                                                                                                                                                                                                                                      if ( (newCache[ 2 ] = matcher( elem, context, xml )) ) {
                                                                                                                                                                                                                                                          return true;
                                                                                                                                                                                                                                                      }
                                                                                                                                                                                                                          Severity: Major
                                                                                                                                                                                                                          Found in public/assets/application-e6172b5f1ce821f01cad495ada62ddf1.js - About 45 mins to fix

                                                                                                                                                                                                                            Avoid deeply nested control flow statements.
                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                for ( conv2 in converters ) {
                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                    // If conv2 outputs current
                                                                                                                                                                                                                                                    tmp = conv2.split( " " );
                                                                                                                                                                                                                                                    if ( tmp[ 1 ] === current ) {
                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                            Found in public/assets/application-e6172b5f1ce821f01cad495ada62ddf1.js - About 45 mins to fix

                                                                                                                                                                                                                              Avoid deeply nested control flow statements.
                                                                                                                                                                                                                              Open

                                                                                                                                                                                                                                                  if ( conv && s[ "throws" ] ) {
                                                                                                                                                                                                                                                      response = conv( response );
                                                                                                                                                                                                                                                  } else {
                                                                                                                                                                                                                                                      try {
                                                                                                                                                                                                                                                          response = conv( response );
                                                                                                                                                                                                                              Severity: Major
                                                                                                                                                                                                                              Found in public/assets/application-e6172b5f1ce821f01cad495ada62ddf1.js - About 45 mins to fix

                                                                                                                                                                                                                                Avoid deeply nested control flow statements.
                                                                                                                                                                                                                                Open

                                                                                                                                                                                                                                                        if ( cur.indexOf( " " + clazz + " " ) < 0 ) {
                                                                                                                                                                                                                                                            cur += clazz + " ";
                                                                                                                                                                                                                                                        }
                                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                                Found in public/assets/application-e6172b5f1ce821f01cad495ada62ddf1.js - About 45 mins to fix

                                                                                                                                                                                                                                  Avoid deeply nested control flow statements.
                                                                                                                                                                                                                                  Open

                                                                                                                                                                                                                                                  } else if ( copy !== undefined ) {
                                                                                                                                                                                                                                                      target[ name ] = copy;
                                                                                                                                                                                                                                                  }
                                                                                                                                                                                                                                  Severity: Major
                                                                                                                                                                                                                                  Found in public/assets/application-e6172b5f1ce821f01cad495ada62ddf1.js - About 45 mins to fix

                                                                                                                                                                                                                                    Avoid deeply nested control flow statements.
                                                                                                                                                                                                                                    Open

                                                                                                                                                                                                                                                            while ( cur.indexOf( " " + clazz + " " ) >= 0 ) {
                                                                                                                                                                                                                                                                cur = cur.replace( " " + clazz + " ", " " );
                                                                                                                                                                                                                                                            }
                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                    Found in public/assets/application-e6172b5f1ce821f01cad495ada62ddf1.js - About 45 mins to fix

                                                                                                                                                                                                                                      Avoid deeply nested control flow statements.
                                                                                                                                                                                                                                      Open

                                                                                                                                                                                                                                                          if ( (seed = find(
                                                                                                                                                                                                                                                              token.matches[0].replace( runescape, funescape ),
                                                                                                                                                                                                                                                              rsibling.test( tokens[0].type ) && testContext( context.parentNode ) || context
                                                                                                                                                                                                                                                          )) ) {
                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                      Severity: Major
                                                                                                                                                                                                                                      Found in public/assets/application-e6172b5f1ce821f01cad495ada62ddf1.js - About 45 mins to fix

                                                                                                                                                                                                                                        Consider simplifying this complex logical expression.
                                                                                                                                                                                                                                        Open

                                                                                                                                                                                                                                        l(U[x],function(a,b){var c=this.t(b),e=b&&null!=b.callback;if(e)var f=new W(b.callback);for(var k=[],p=c[w]-1;0<=p;p--){var s=c[p];e&&f.B(s);if(this.e[":"+s])c.splice(p,1),e&&this.f[":"+s][m](f);else k[m](s)}if(c[w]){b&&b.packages&&(b.packages=c.sort()[B](","));for(p=0;p<k[w];p++)s=k[p],this.f[":"+s]=[],e&&this.f[":"+s][m](f);if(b||null==N[":"+this.b]||null==N[":"+this.b].versions[":"+a]||google[z].AdditionalParams||!this.j)b&&b.autoloaded||google[z].d("script",this.g(a,b),e);else{c=N[":"+this.b];
                                                                                                                                                                                                                                        google[this.b]=google[this.b]||{};for(var R in c.properties)R&&":"==R[q](0)&&(google[this.b][R[A](1)]=c.properties[R]);google[z].d("script",google[z][t]+c.path+c.js,e);c.css&&google[z].d("css",google[z][t]+c.path+c.css,e)}this.j&&(this.j=!1,this.c=(new Date)[v](),1!=this.c%100&&(this.c=-1));for(p=0;p<k[w];p++)s=k[p],this.e[":"+s]=!0}});
                                                                                                                                                                                                                                        Severity: Major
                                                                                                                                                                                                                                        Found in public/assets/application-e6172b5f1ce821f01cad495ada62ddf1.js - About 40 mins to fix

                                                                                                                                                                                                                                          Consider simplifying this complex logical expression.
                                                                                                                                                                                                                                          Open

                                                                                                                                                                                                                                          if ( !support.opacity ) {
                                                                                                                                                                                                                                              jQuery.cssHooks.opacity = {
                                                                                                                                                                                                                                                  get: function( elem, computed ) {
                                                                                                                                                                                                                                                      // IE uses filters for opacity
                                                                                                                                                                                                                                                      return ropacity.test( (computed && elem.currentStyle ? elem.currentStyle.filter : elem.style.filter) || "" ) ?
                                                                                                                                                                                                                                          Severity: Major
                                                                                                                                                                                                                                          Found in public/assets/application-e6172b5f1ce821f01cad495ada62ddf1.js - About 40 mins to fix

                                                                                                                                                                                                                                            Consider simplifying this complex logical expression.
                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                    if ( s.crossDomain == null ) {
                                                                                                                                                                                                                                                        parts = rurl.exec( s.url.toLowerCase() );
                                                                                                                                                                                                                                                        s.crossDomain = !!( parts &&
                                                                                                                                                                                                                                                            ( parts[ 1 ] !== ajaxLocParts[ 1 ] || parts[ 2 ] !== ajaxLocParts[ 2 ] ||
                                                                                                                                                                                                                                                                ( parts[ 3 ] || ( parts[ 1 ] === "http:" ? "80" : "443" ) ) !==
                                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                                            Found in public/assets/application-e6172b5f1ce821f01cad495ada62ddf1.js - About 40 mins to fix

                                                                                                                                                                                                                                              Consider simplifying this complex logical expression.
                                                                                                                                                                                                                                              Open

                                                                                                                                                                                                                                                  if ( (!id || !cache[id] || (!pvt && !cache[id].data)) && data === undefined && typeof name === "string" ) {
                                                                                                                                                                                                                                                      return;
                                                                                                                                                                                                                                                  }
                                                                                                                                                                                                                                              Severity: Major
                                                                                                                                                                                                                                              Found in public/assets/application-e6172b5f1ce821f01cad495ada62ddf1.js - About 40 mins to fix

                                                                                                                                                                                                                                                Consider simplifying this complex logical expression.
                                                                                                                                                                                                                                                Open

                                                                                                                                                                                                                                                    if ( support.matchesSelector && documentIsHTML &&
                                                                                                                                                                                                                                                        ( !rbuggyMatches || !rbuggyMatches.test( expr ) ) &&
                                                                                                                                                                                                                                                        ( !rbuggyQSA     || !rbuggyQSA.test( expr ) ) ) {
                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                        try {
                                                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                                                Found in public/assets/application-e6172b5f1ce821f01cad495ada62ddf1.js - About 40 mins to fix

                                                                                                                                                                                                                                                  Consider simplifying this complex logical expression.
                                                                                                                                                                                                                                                  Open

                                                                                                                                                                                                                                                      if ( src && src.type ) {
                                                                                                                                                                                                                                                          this.originalEvent = src;
                                                                                                                                                                                                                                                          this.type = src.type;
                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                          // Events bubbling up the document may have been marked as prevented
                                                                                                                                                                                                                                                  Severity: Major
                                                                                                                                                                                                                                                  Found in public/assets/application-e6172b5f1ce821f01cad495ada62ddf1.js - About 40 mins to fix

                                                                                                                                                                                                                                                    Consider simplifying this complex logical expression.
                                                                                                                                                                                                                                                    Open

                                                                                                                                                                                                                                                    U[x].g=function(a,b){var c="";void 0!=b&&(void 0!=b.language&&(c+="&hl="+d(b.language)),void 0!=b.nocss&&(c+="&output="+d("nocss="+b.nocss)),void 0!=b.nooldnames&&(c+="&nooldnames="+d(b.nooldnames)),void 0!=b.packages&&(c+="&packages="+d(b.packages)),null!=b.callback&&(c+="&async=2"),void 0!=b.style&&(c+="&style="+d(b.style)),void 0!=b.noexp&&(c+="&noexp=true"),void 0!=b.other_params&&(c+="&"+b.other_params));if(!this.j){google[this.b]&&google[this.b].JSHash&&(c+="&sig="+d(google[this.b].JSHash));
                                                                                                                                                                                                                                                    var e=[],f;for(f in this.n)":"==f[q](0)&&e[m](f[A](1));for(f in this.e)":"==f[q](0)&&this.e[f]&&e[m](f[A](1));c+="&have="+d(e[B](","))}return google[z][t]+"/?file="+this.b+"&v="+a+google[z].AdditionalParams+c};U[x].t=function(a){var b=null;a&&(b=a.packages);var c=null;if(b)if("string"==typeof b)c=[a.packages];else if(b[w])for(c=[],a=0;a<b[w];a++)"string"==typeof b[a]&&c[m](b[a][n](/^\s*|\s*$/,"")[C]());c||(c=["default"]);b=[];for(a=0;a<c[w];a++)this.n[":"+c[a]]||b[m](c[a]);return b};
                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                    Found in public/assets/application-e6172b5f1ce821f01cad495ada62ddf1.js - About 40 mins to fix

                                                                                                                                                                                                                                                      Consider simplifying this complex logical expression.
                                                                                                                                                                                                                                                      Open

                                                                                                                                                                                                                                                                  if ( matcher[ expando ] ) {
                                                                                                                                                                                                                                                                      // Find the next relative operator (if any) for proper handling
                                                                                                                                                                                                                                                                      j = ++i;
                                                                                                                                                                                                                                                                      for ( ; j < len; j++ ) {
                                                                                                                                                                                                                                                                          if ( Expr.relative[ tokens[j].type ] ) {
                                                                                                                                                                                                                                                      Severity: Major
                                                                                                                                                                                                                                                      Found in public/assets/application-e6172b5f1ce821f01cad495ada62ddf1.js - About 40 mins to fix

                                                                                                                                                                                                                                                        Consider simplifying this complex logical expression.
                                                                                                                                                                                                                                                        Open

                                                                                                                                                                                                                                                              if (autoPlace) {
                                                                                                                                                                                                                                                                var $parent = this.$element.parent()
                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                var orgPlacement = placement
                                                                                                                                                                                                                                                                var docScroll    = document.documentElement.scrollTop || document.body.scrollTop
                                                                                                                                                                                                                                                        Severity: Major
                                                                                                                                                                                                                                                        Found in public/assets/application-e6172b5f1ce821f01cad495ada62ddf1.js - About 40 mins to fix

                                                                                                                                                                                                                                                          Function condense has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                                                                                                                                                                                                                                          Open

                                                                                                                                                                                                                                                          function condense( unmatched, map, filter, context, xml ) {
                                                                                                                                                                                                                                                          Severity: Minor
                                                                                                                                                                                                                                                          Found in public/assets/application-e6172b5f1ce821f01cad495ada62ddf1.js - About 35 mins to fix

                                                                                                                                                                                                                                                            Function CHILD has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                    "CHILD": function( type, what, argument, first, last ) {
                                                                                                                                                                                                                                                            Severity: Minor
                                                                                                                                                                                                                                                            Found in public/assets/application-e6172b5f1ce821f01cad495ada62ddf1.js - About 35 mins to fix

                                                                                                                                                                                                                                                              Function superMatcher has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                                                                                                                                                                                                                                              Open

                                                                                                                                                                                                                                                                      superMatcher = function( seed, context, xml, results, outermost ) {
                                                                                                                                                                                                                                                              Severity: Minor
                                                                                                                                                                                                                                                              Found in public/assets/application-e6172b5f1ce821f01cad495ada62ddf1.js - About 35 mins to fix

                                                                                                                                                                                                                                                                Function jsOptionsFunc has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                                                                                                                                                                                                                                                Open

                                                                                                                                                                                                                                                                  function jsOptionsFunc(defaultOptions, hideLegend, setMin, setMax, setStacked) {
                                                                                                                                                                                                                                                                Severity: Minor
                                                                                                                                                                                                                                                                Found in public/assets/application-e6172b5f1ce821f01cad495ada62ddf1.js - About 35 mins to fix

                                                                                                                                                                                                                                                                  Function augmentWidthOrHeight has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                                                                                                                                                                                                                                                  Open

                                                                                                                                                                                                                                                                  function augmentWidthOrHeight( elem, name, extra, isBorderBox, styles ) {
                                                                                                                                                                                                                                                                  Severity: Minor
                                                                                                                                                                                                                                                                  Found in public/assets/application-e6172b5f1ce821f01cad495ada62ddf1.js - About 35 mins to fix

                                                                                                                                                                                                                                                                    Function Tween has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                                                                                                                                                                                                                                                    Open

                                                                                                                                                                                                                                                                    function Tween( elem, options, prop, end, easing ) {
                                                                                                                                                                                                                                                                    Severity: Minor
                                                                                                                                                                                                                                                                    Found in public/assets/application-e6172b5f1ce821f01cad495ada62ddf1.js - About 35 mins to fix

                                                                                                                                                                                                                                                                      Function add has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                                                                                                                                                                                                                                                      Open

                                                                                                                                                                                                                                                                          add: function( elem, types, handler, data, selector ) {
                                                                                                                                                                                                                                                                      Severity: Minor
                                                                                                                                                                                                                                                                      Found in public/assets/application-e6172b5f1ce821f01cad495ada62ddf1.js - About 35 mins to fix

                                                                                                                                                                                                                                                                        Function on has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                                                                                                                                                                                                                                                        Open

                                                                                                                                                                                                                                                                            on: function( types, selector, data, fn, /*INTERNAL*/ one ) {
                                                                                                                                                                                                                                                                        Severity: Minor
                                                                                                                                                                                                                                                                        Found in public/assets/application-e6172b5f1ce821f01cad495ada62ddf1.js - About 35 mins to fix

                                                                                                                                                                                                                                                                          Function remove has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                                                                                                                                                                                                                                                          Open

                                                                                                                                                                                                                                                                              remove: function( elem, types, handler, selector, mappedTypes ) {
                                                                                                                                                                                                                                                                          Severity: Minor
                                                                                                                                                                                                                                                                          Found in public/assets/application-e6172b5f1ce821f01cad495ada62ddf1.js - About 35 mins to fix

                                                                                                                                                                                                                                                                            Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                    return key === undefined || hasOwn.call( obj, key );
                                                                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                                                                            Found in public/assets/application-e6172b5f1ce821f01cad495ada62ddf1.js - About 30 mins to fix

                                                                                                                                                                                                                                                                              Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                              Open

                                                                                                                                                                                                                                                                                  return select( selector.replace( rtrim, "$1" ), context, results, seed );
                                                                                                                                                                                                                                                                              Severity: Major
                                                                                                                                                                                                                                                                              Found in public/assets/application-e6172b5f1ce821f01cad495ada62ddf1.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                Open

                                                                                                                                                                                                                                                                                        return compare & 4 ? -1 : 1;
                                                                                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                                                                                Found in public/assets/application-e6172b5f1ce821f01cad495ada62ddf1.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                  Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                  Open

                                                                                                                                                                                                                                                                                                  return this.constructor( context ).find( selector );
                                                                                                                                                                                                                                                                                  Severity: Major
                                                                                                                                                                                                                                                                                  Found in public/assets/application-e6172b5f1ce821f01cad495ada62ddf1.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                    Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                    Open

                                                                                                                                                                                                                                                                                                return typeof rootjQuery.ready !== "undefined" ?
                                                                                                                                                                                                                                                                                                    rootjQuery.ready( selector ) :
                                                                                                                                                                                                                                                                                                    // Execute immediately if ready is not present
                                                                                                                                                                                                                                                                                                    selector( jQuery );
                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                    Found in public/assets/application-e6172b5f1ce821f01cad495ada62ddf1.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                      Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                      Open

                                                                                                                                                                                                                                                                                                      return results;
                                                                                                                                                                                                                                                                                      Severity: Major
                                                                                                                                                                                                                                                                                      Found in public/assets/application-e6172b5f1ce821f01cad495ada62ddf1.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                        Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                        Open

                                                                                                                                                                                                                                                                                                return jQuery.makeArray( selector, this );
                                                                                                                                                                                                                                                                                        Severity: Major
                                                                                                                                                                                                                                                                                        Found in public/assets/application-e6172b5f1ce821f01cad495ada62ddf1.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                          Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                          Open

                                                                                                                                                                                                                                                                                                          return ( context || rootjQuery ).find( selector );
                                                                                                                                                                                                                                                                                          Severity: Major
                                                                                                                                                                                                                                                                                          Found in public/assets/application-e6172b5f1ce821f01cad495ada62ddf1.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                            Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                            Open

                                                                                                                                                                                                                                                                                                        return this;
                                                                                                                                                                                                                                                                                            Severity: Major
                                                                                                                                                                                                                                                                                            Found in public/assets/application-e6172b5f1ce821f01cad495ada62ddf1.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                              Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                              Open

                                                                                                                                                                                                                                                                                                                      return results;
                                                                                                                                                                                                                                                                                              Severity: Major
                                                                                                                                                                                                                                                                                              Found in public/assets/application-e6172b5f1ce821f01cad495ada62ddf1.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                                Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                                Open

                                                                                                                                                                                                                                                                                                            return ret;
                                                                                                                                                                                                                                                                                                Severity: Major
                                                                                                                                                                                                                                                                                                Found in public/assets/application-e6172b5f1ce821f01cad495ada62ddf1.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                                  Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                                  Open

                                                                                                                                                                                                                                                                                                                      return results;
                                                                                                                                                                                                                                                                                                  Severity: Major
                                                                                                                                                                                                                                                                                                  Found in public/assets/application-e6172b5f1ce821f01cad495ada62ddf1.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                                    Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                                    Open

                                                                                                                                                                                                                                                                                                                return ret == null ?
                                                                                                                                                                                                                                                                                                                    undefined :
                                                                                                                                                                                                                                                                                                                    ret;
                                                                                                                                                                                                                                                                                                    Severity: Major
                                                                                                                                                                                                                                                                                                    Found in public/assets/application-e6172b5f1ce821f01cad495ada62ddf1.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                                      Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                                      Open

                                                                                                                                                                                                                                                                                                                      return results;
                                                                                                                                                                                                                                                                                                      Severity: Major
                                                                                                                                                                                                                                                                                                      Found in public/assets/application-e6172b5f1ce821f01cad495ada62ddf1.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                                        Avoid too many return statements within this function.
                                                                                                                                                                                                                                                                                                        Open

                                                                                                                                                                                                                                                                                                                    return sortInput ?
                                                                                                                                                                                                                                                                                                                        ( indexOf.call( sortInput, a ) - indexOf.call( sortInput, b ) ) :
                                                                                                                                                                                                                                                                                                                        0;
                                                                                                                                                                                                                                                                                                        Severity: Major
                                                                                                                                                                                                                                                                                                        Found in public/assets/application-e6172b5f1ce821f01cad495ada62ddf1.js - About 30 mins to fix

                                                                                                                                                                                                                                                                                                          Similar blocks of code found in 4 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                          Open

                                                                                                                                                                                                                                                                                                          (function( global, factory ) {
                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                              if ( typeof module === "object" && typeof module.exports === "object" ) {
                                                                                                                                                                                                                                                                                                                  // For CommonJS and CommonJS-like environments where a proper window is present,
                                                                                                                                                                                                                                                                                                                  // execute the factory and get jQuery
                                                                                                                                                                                                                                                                                                          public/assets/application-639413713c0d8d65733da467bb9772c5.js on lines 735..11057
                                                                                                                                                                                                                                                                                                          public/assets/application-a6fd188a646c5094522c3dec15f8444c.js on lines 735..11057
                                                                                                                                                                                                                                                                                                          public/assets/application-f5d029e8e6771e9068f1f27069782ebe.js on lines 16..10338

                                                                                                                                                                                                                                                                                                          Duplicated Code

                                                                                                                                                                                                                                                                                                          Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                          Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                          When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                          Tuning

                                                                                                                                                                                                                                                                                                          This issue has a mass of 72389.

                                                                                                                                                                                                                                                                                                          We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                          The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                          If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                          See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                          Refactorings

                                                                                                                                                                                                                                                                                                          Further Reading

                                                                                                                                                                                                                                                                                                          Identical blocks of code found in 3 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                          Open

                                                                                                                                                                                                                                                                                                          if (!window['google']['loader']) {
                                                                                                                                                                                                                                                                                                          window['google']['loader'] = {};
                                                                                                                                                                                                                                                                                                          google.loader.ServiceBase = 'https://www.google.com/uds';
                                                                                                                                                                                                                                                                                                          google.loader.GoogleApisBase = 'https://ajax.googleapis.com/ajax';
                                                                                                                                                                                                                                                                                                          google.loader.ApiKey = 'notsupplied';
                                                                                                                                                                                                                                                                                                          public/assets/application-639413713c0d8d65733da467bb9772c5.js on lines 4..39
                                                                                                                                                                                                                                                                                                          public/assets/application-a6fd188a646c5094522c3dec15f8444c.js on lines 4..39

                                                                                                                                                                                                                                                                                                          Duplicated Code

                                                                                                                                                                                                                                                                                                          Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                          Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                          When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                          Tuning

                                                                                                                                                                                                                                                                                                          This issue has a mass of 10685.

                                                                                                                                                                                                                                                                                                          We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                          The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                          If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                          See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                          Refactorings

                                                                                                                                                                                                                                                                                                          Further Reading

                                                                                                                                                                                                                                                                                                          Identical blocks of code found in 3 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                          Open

                                                                                                                                                                                                                                                                                                          (function () {
                                                                                                                                                                                                                                                                                                            'use strict';
                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                            var Chartkick, ISO8601_PATTERN, DECIMAL_SEPARATOR, defaultOptions, hideLegend,
                                                                                                                                                                                                                                                                                                              setMin, setMax, setStacked, jsOptions, loaded, waitForLoaded, setBarMin, setBarMax, createDataTable, resize;
                                                                                                                                                                                                                                                                                                          public/assets/application-639413713c0d8d65733da467bb9772c5.js on lines 53..719
                                                                                                                                                                                                                                                                                                          public/assets/application-a6fd188a646c5094522c3dec15f8444c.js on lines 53..719

                                                                                                                                                                                                                                                                                                          Duplicated Code

                                                                                                                                                                                                                                                                                                          Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                          Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                          When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                          Tuning

                                                                                                                                                                                                                                                                                                          This issue has a mass of 5150.

                                                                                                                                                                                                                                                                                                          We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                          The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                          If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                          See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                          Refactorings

                                                                                                                                                                                                                                                                                                          Further Reading

                                                                                                                                                                                                                                                                                                          Similar blocks of code found in 4 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                          Open

                                                                                                                                                                                                                                                                                                          (function() {
                                                                                                                                                                                                                                                                                                            var CSRFToken, allowLinkExtensions, anchoredLink, browserCompatibleDocumentParser, browserIsntBuggy, browserSupportsCustomEvents, browserSupportsPushState, browserSupportsTurbolinks, bypassOnLoadPopstate, cacheCurrentPage, cacheSize, changePage, constrainPageCacheTo, createDocument, crossOriginLink, currentState, enableTransitionCache, executeScriptTags, extractLink, extractTitleAndBody, fetch, fetchHistory, fetchReplacement, handleClick, historyStateIsDefined, htmlExtensions, ignoreClick, initializeTurbolinks, installClickHandlerLast, installDocumentReadyPageEventTriggers, installHistoryChangeHandler, installJqueryAjaxSuccessPageUpdateTrigger, loadedAssets, noTurbolink, nonHtmlLink, nonStandardClick, pageCache, pageChangePrevented, pagesCached, popCookie, processResponse, recallScrollPosition, referer, reflectNewUrl, reflectRedirectedUrl, rememberCurrentState, rememberCurrentUrl, rememberReferer, removeHash, removeHashForIE10compatiblity, removeNoscriptTags, requestMethodIsSafe, resetScrollPosition, targetLink, transitionCacheEnabled, transitionCacheFor, triggerEvent, visit, xhr, _ref,
                                                                                                                                                                                                                                                                                                              __indexOf = [].indexOf || function(item) { for (var i = 0, l = this.length; i < l; i++) { if (i in this && this[i] === item) return i; } return -1; },
                                                                                                                                                                                                                                                                                                              __slice = [].slice;
                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                          public/assets/application-639413713c0d8d65733da467bb9772c5.js on lines 11456..11976
                                                                                                                                                                                                                                                                                                          public/assets/application-a6fd188a646c5094522c3dec15f8444c.js on lines 11456..11976
                                                                                                                                                                                                                                                                                                          public/assets/application-f5d029e8e6771e9068f1f27069782ebe.js on lines 10737..11257

                                                                                                                                                                                                                                                                                                          Duplicated Code

                                                                                                                                                                                                                                                                                                          Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                          Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                          When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                          Tuning

                                                                                                                                                                                                                                                                                                          This issue has a mass of 4838.

                                                                                                                                                                                                                                                                                                          We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                          The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                          If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                          See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                          Refactorings

                                                                                                                                                                                                                                                                                                          Further Reading

                                                                                                                                                                                                                                                                                                          Similar blocks of code found in 4 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                          Open

                                                                                                                                                                                                                                                                                                          +function ($) {
                                                                                                                                                                                                                                                                                                            'use strict';
                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                            // TOOLTIP PUBLIC CLASS DEFINITION
                                                                                                                                                                                                                                                                                                            // ===============================
                                                                                                                                                                                                                                                                                                          public/assets/application-639413713c0d8d65733da467bb9772c5.js on lines 13449..13837
                                                                                                                                                                                                                                                                                                          public/assets/application-a6fd188a646c5094522c3dec15f8444c.js on lines 13428..13816
                                                                                                                                                                                                                                                                                                          public/assets/application-f5d029e8e6771e9068f1f27069782ebe.js on lines 12722..13110

                                                                                                                                                                                                                                                                                                          Duplicated Code

                                                                                                                                                                                                                                                                                                          Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                          Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                          When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                          Tuning

                                                                                                                                                                                                                                                                                                          This issue has a mass of 4252.

                                                                                                                                                                                                                                                                                                          We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                          The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                          If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                          See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                          Refactorings

                                                                                                                                                                                                                                                                                                          Further Reading

                                                                                                                                                                                                                                                                                                          Similar blocks of code found in 4 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                          Open

                                                                                                                                                                                                                                                                                                          (function($, undefined) {
                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                          /**
                                                                                                                                                                                                                                                                                                           * Unobtrusive scripting adapter for jQuery
                                                                                                                                                                                                                                                                                                           * https://github.com/rails/jquery-ujs
                                                                                                                                                                                                                                                                                                          public/assets/application-639413713c0d8d65733da467bb9772c5.js on lines 11058..11455
                                                                                                                                                                                                                                                                                                          public/assets/application-a6fd188a646c5094522c3dec15f8444c.js on lines 11058..11455
                                                                                                                                                                                                                                                                                                          public/assets/application-f5d029e8e6771e9068f1f27069782ebe.js on lines 10339..10736

                                                                                                                                                                                                                                                                                                          Duplicated Code

                                                                                                                                                                                                                                                                                                          Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                          Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                          When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                          Tuning

                                                                                                                                                                                                                                                                                                          This issue has a mass of 3280.

                                                                                                                                                                                                                                                                                                          We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                          The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                          If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                          See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                          Refactorings

                                                                                                                                                                                                                                                                                                          Further Reading

                                                                                                                                                                                                                                                                                                          Similar blocks of code found in 4 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                          Open

                                                                                                                                                                                                                                                                                                          +function ($) {
                                                                                                                                                                                                                                                                                                            'use strict';
                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                            // MODAL CLASS DEFINITION
                                                                                                                                                                                                                                                                                                            // ======================
                                                                                                                                                                                                                                                                                                          public/assets/application-639413713c0d8d65733da467bb9772c5.js on lines 13204..13437
                                                                                                                                                                                                                                                                                                          public/assets/application-a6fd188a646c5094522c3dec15f8444c.js on lines 13183..13416
                                                                                                                                                                                                                                                                                                          public/assets/application-f5d029e8e6771e9068f1f27069782ebe.js on lines 12477..12710

                                                                                                                                                                                                                                                                                                          Duplicated Code

                                                                                                                                                                                                                                                                                                          Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                          Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                          When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                          Tuning

                                                                                                                                                                                                                                                                                                          This issue has a mass of 2298.

                                                                                                                                                                                                                                                                                                          We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                          The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                          If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                          See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                          Refactorings

                                                                                                                                                                                                                                                                                                          Further Reading

                                                                                                                                                                                                                                                                                                          Similar blocks of code found in 4 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                          Open

                                                                                                                                                                                                                                                                                                          +function ($) {
                                                                                                                                                                                                                                                                                                            'use strict';
                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                            // CAROUSEL CLASS DEFINITION
                                                                                                                                                                                                                                                                                                            // =========================
                                                                                                                                                                                                                                                                                                          public/assets/application-639413713c0d8d65733da467bb9772c5.js on lines 12350..12545
                                                                                                                                                                                                                                                                                                          public/assets/application-a6fd188a646c5094522c3dec15f8444c.js on lines 12329..12524
                                                                                                                                                                                                                                                                                                          public/assets/application-f5d029e8e6771e9068f1f27069782ebe.js on lines 11623..11818

                                                                                                                                                                                                                                                                                                          Duplicated Code

                                                                                                                                                                                                                                                                                                          Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                          Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                          When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                          Tuning

                                                                                                                                                                                                                                                                                                          This issue has a mass of 2083.

                                                                                                                                                                                                                                                                                                          We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                          The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                          If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                          See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                          Refactorings

                                                                                                                                                                                                                                                                                                          Further Reading

                                                                                                                                                                                                                                                                                                          Similar blocks of code found in 4 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                          Open

                                                                                                                                                                                                                                                                                                          +function ($) {
                                                                                                                                                                                                                                                                                                            'use strict';
                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                            // COLLAPSE PUBLIC CLASS DEFINITION
                                                                                                                                                                                                                                                                                                            // ================================
                                                                                                                                                                                                                                                                                                          public/assets/application-639413713c0d8d65733da467bb9772c5.js on lines 12556..12716
                                                                                                                                                                                                                                                                                                          public/assets/application-a6fd188a646c5094522c3dec15f8444c.js on lines 12535..12695
                                                                                                                                                                                                                                                                                                          public/assets/application-f5d029e8e6771e9068f1f27069782ebe.js on lines 11829..11989

                                                                                                                                                                                                                                                                                                          Duplicated Code

                                                                                                                                                                                                                                                                                                          Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                          Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                          When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                          Tuning

                                                                                                                                                                                                                                                                                                          This issue has a mass of 1541.

                                                                                                                                                                                                                                                                                                          We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                          The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                          If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                          See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                          Refactorings

                                                                                                                                                                                                                                                                                                          Further Reading

                                                                                                                                                                                                                                                                                                          Similar blocks of code found in 4 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                          Open

                                                                                                                                                                                                                                                                                                          +function ($) {
                                                                                                                                                                                                                                                                                                            'use strict';
                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                            // SCROLLSPY CLASS DEFINITION
                                                                                                                                                                                                                                                                                                            // ==========================
                                                                                                                                                                                                                                                                                                          public/assets/application-639413713c0d8d65733da467bb9772c5.js on lines 13050..13193
                                                                                                                                                                                                                                                                                                          public/assets/application-a6fd188a646c5094522c3dec15f8444c.js on lines 13029..13172
                                                                                                                                                                                                                                                                                                          public/assets/application-f5d029e8e6771e9068f1f27069782ebe.js on lines 12323..12466

                                                                                                                                                                                                                                                                                                          Duplicated Code

                                                                                                                                                                                                                                                                                                          Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                          Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                          When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                          Tuning

                                                                                                                                                                                                                                                                                                          This issue has a mass of 1465.

                                                                                                                                                                                                                                                                                                          We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                          The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                          If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                          See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                          Refactorings

                                                                                                                                                                                                                                                                                                          Further Reading

                                                                                                                                                                                                                                                                                                          Similar blocks of code found in 4 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                          Open

                                                                                                                                                                                                                                                                                                          +function ($) {
                                                                                                                                                                                                                                                                                                            'use strict';
                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                            // AFFIX CLASS DEFINITION
                                                                                                                                                                                                                                                                                                            // ======================
                                                                                                                                                                                                                                                                                                          public/assets/application-639413713c0d8d65733da467bb9772c5.js on lines 12015..12142
                                                                                                                                                                                                                                                                                                          public/assets/application-a6fd188a646c5094522c3dec15f8444c.js on lines 11994..12121
                                                                                                                                                                                                                                                                                                          public/assets/application-f5d029e8e6771e9068f1f27069782ebe.js on lines 11288..11415

                                                                                                                                                                                                                                                                                                          Duplicated Code

                                                                                                                                                                                                                                                                                                          Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                          Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                          When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                          Tuning

                                                                                                                                                                                                                                                                                                          This issue has a mass of 1315.

                                                                                                                                                                                                                                                                                                          We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                          The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                          If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                          See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                          Refactorings

                                                                                                                                                                                                                                                                                                          Further Reading

                                                                                                                                                                                                                                                                                                          Similar blocks of code found in 4 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                          Open

                                                                                                                                                                                                                                                                                                          +function ($) {
                                                                                                                                                                                                                                                                                                            'use strict';
                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                            // DROPDOWN CLASS DEFINITION
                                                                                                                                                                                                                                                                                                            // =========================
                                                                                                                                                                                                                                                                                                          public/assets/application-639413713c0d8d65733da467bb9772c5.js on lines 12727..12864
                                                                                                                                                                                                                                                                                                          public/assets/application-a6fd188a646c5094522c3dec15f8444c.js on lines 12706..12843
                                                                                                                                                                                                                                                                                                          public/assets/application-f5d029e8e6771e9068f1f27069782ebe.js on lines 12000..12137

                                                                                                                                                                                                                                                                                                          Duplicated Code

                                                                                                                                                                                                                                                                                                          Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                          Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                          When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                          Tuning

                                                                                                                                                                                                                                                                                                          This issue has a mass of 1201.

                                                                                                                                                                                                                                                                                                          We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                          The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                          If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                          See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                          Refactorings

                                                                                                                                                                                                                                                                                                          Further Reading

                                                                                                                                                                                                                                                                                                          Similar blocks of code found in 4 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                          Open

                                                                                                                                                                                                                                                                                                          +function ($) {
                                                                                                                                                                                                                                                                                                            'use strict';
                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                            // POPOVER PUBLIC CLASS DEFINITION
                                                                                                                                                                                                                                                                                                            // ===============================
                                                                                                                                                                                                                                                                                                          Severity: Major
                                                                                                                                                                                                                                                                                                          Found in public/assets/application-e6172b5f1ce821f01cad495ada62ddf1.js and 3 other locations - About 5 days to fix
                                                                                                                                                                                                                                                                                                          public/assets/application-639413713c0d8d65733da467bb9772c5.js on lines 13848..13948
                                                                                                                                                                                                                                                                                                          public/assets/application-a6fd188a646c5094522c3dec15f8444c.js on lines 13827..13927
                                                                                                                                                                                                                                                                                                          public/assets/application-f5d029e8e6771e9068f1f27069782ebe.js on lines 13121..13221

                                                                                                                                                                                                                                                                                                          Duplicated Code

                                                                                                                                                                                                                                                                                                          Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                          Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                          When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                          Tuning

                                                                                                                                                                                                                                                                                                          This issue has a mass of 907.

                                                                                                                                                                                                                                                                                                          We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                          The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                          If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                          See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                          Refactorings

                                                                                                                                                                                                                                                                                                          Further Reading

                                                                                                                                                                                                                                                                                                          Similar blocks of code found in 4 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                          Open

                                                                                                                                                                                                                                                                                                          +function ($) {
                                                                                                                                                                                                                                                                                                            'use strict';
                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                            // BUTTON PUBLIC CLASS DEFINITION
                                                                                                                                                                                                                                                                                                            // ==============================
                                                                                                                                                                                                                                                                                                          Severity: Major
                                                                                                                                                                                                                                                                                                          Found in public/assets/application-e6172b5f1ce821f01cad495ada62ddf1.js and 3 other locations - About 5 days to fix
                                                                                                                                                                                                                                                                                                          public/assets/application-639413713c0d8d65733da467bb9772c5.js on lines 12242..12339
                                                                                                                                                                                                                                                                                                          public/assets/application-a6fd188a646c5094522c3dec15f8444c.js on lines 12221..12318
                                                                                                                                                                                                                                                                                                          public/assets/application-f5d029e8e6771e9068f1f27069782ebe.js on lines 11515..11612

                                                                                                                                                                                                                                                                                                          Duplicated Code

                                                                                                                                                                                                                                                                                                          Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                          Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                          When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                          Tuning

                                                                                                                                                                                                                                                                                                          This issue has a mass of 892.

                                                                                                                                                                                                                                                                                                          We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                          The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                          If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                          See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                          Refactorings

                                                                                                                                                                                                                                                                                                          Further Reading

                                                                                                                                                                                                                                                                                                          Similar blocks of code found in 4 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                          Open

                                                                                                                                                                                                                                                                                                          +function ($) {
                                                                                                                                                                                                                                                                                                            'use strict';
                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                            // TAB CLASS DEFINITION
                                                                                                                                                                                                                                                                                                            // ====================
                                                                                                                                                                                                                                                                                                          Severity: Major
                                                                                                                                                                                                                                                                                                          Found in public/assets/application-e6172b5f1ce821f01cad495ada62ddf1.js and 3 other locations - About 5 days to fix
                                                                                                                                                                                                                                                                                                          public/assets/application-639413713c0d8d65733da467bb9772c5.js on lines 12875..12990
                                                                                                                                                                                                                                                                                                          public/assets/application-a6fd188a646c5094522c3dec15f8444c.js on lines 12854..12969
                                                                                                                                                                                                                                                                                                          public/assets/application-f5d029e8e6771e9068f1f27069782ebe.js on lines 12148..12263

                                                                                                                                                                                                                                                                                                          Duplicated Code

                                                                                                                                                                                                                                                                                                          Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                          Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                          When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                          Tuning

                                                                                                                                                                                                                                                                                                          This issue has a mass of 836.

                                                                                                                                                                                                                                                                                                          We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                          The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                          If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                          See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                          Refactorings

                                                                                                                                                                                                                                                                                                          Further Reading

                                                                                                                                                                                                                                                                                                          Similar blocks of code found in 4 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                          Open

                                                                                                                                                                                                                                                                                                          +function ($) {
                                                                                                                                                                                                                                                                                                            'use strict';
                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                            // ALERT CLASS DEFINITION
                                                                                                                                                                                                                                                                                                            // ======================
                                                                                                                                                                                                                                                                                                          Severity: Major
                                                                                                                                                                                                                                                                                                          Found in public/assets/application-e6172b5f1ce821f01cad495ada62ddf1.js and 3 other locations - About 3 days to fix
                                                                                                                                                                                                                                                                                                          public/assets/application-639413713c0d8d65733da467bb9772c5.js on lines 12153..12231
                                                                                                                                                                                                                                                                                                          public/assets/application-a6fd188a646c5094522c3dec15f8444c.js on lines 12132..12210
                                                                                                                                                                                                                                                                                                          public/assets/application-f5d029e8e6771e9068f1f27069782ebe.js on lines 11426..11504

                                                                                                                                                                                                                                                                                                          Duplicated Code

                                                                                                                                                                                                                                                                                                          Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                          Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                          When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                          Tuning

                                                                                                                                                                                                                                                                                                          This issue has a mass of 594.

                                                                                                                                                                                                                                                                                                          We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                          The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                          If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                          See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                          Refactorings

                                                                                                                                                                                                                                                                                                          Further Reading

                                                                                                                                                                                                                                                                                                          Identical blocks of code found in 4 locations. Consider refactoring.
                                                                                                                                                                                                                                                                                                          Open

                                                                                                                                                                                                                                                                                                          +function ($) {
                                                                                                                                                                                                                                                                                                            'use strict';
                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                            // CSS TRANSITION SUPPORT (Shoutout: http://www.modernizr.com/)
                                                                                                                                                                                                                                                                                                            // ============================================================
                                                                                                                                                                                                                                                                                                          public/assets/application-639413713c0d8d65733da467bb9772c5.js on lines 13001..13039
                                                                                                                                                                                                                                                                                                          public/assets/application-a6fd188a646c5094522c3dec15f8444c.js on lines 12980..13018
                                                                                                                                                                                                                                                                                                          public/assets/application-f5d029e8e6771e9068f1f27069782ebe.js on lines 12274..12312

                                                                                                                                                                                                                                                                                                          Duplicated Code

                                                                                                                                                                                                                                                                                                          Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                                                                                                                                                                                                                                                          Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                                                                                                                                                                                                                                                          When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                                                                                                                                                                                                                                                          Tuning

                                                                                                                                                                                                                                                                                                          This issue has a mass of 292.

                                                                                                                                                                                                                                                                                                          We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                                                                                                                                                                                                                                                          The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                                                                                                                                                                                                                                                          If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                                                                                                                                                                                                                                                          See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                                                                                                                                                                                                                                                          Refactorings

                                                                                                                                                                                                                                                                                                          Further Reading

                                                                                                                                                                                                                                                                                                          There are no issues that match your filters.

                                                                                                                                                                                                                                                                                                          Category
                                                                                                                                                                                                                                                                                                          Status