angelakuo/citydogshare

View on GitHub

Showing 2,136 of 3,976 total issues

Function visit has 435 lines of code (exceeds 25 allowed). Consider refactoring.
Open

$.visit = $.fn.visit = function(parameters) {
  var
    $allModules     = $.isFunction(this)
        ? $(window)
        : $(this),

    Function Rewriter has 434 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

      exports.Rewriter = (function() {
        function Rewriter() {}
    
        Rewriter.prototype.rewrite = function(tokens1) {
          this.tokens = tokens1;

      Function closure has 428 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

      function closure ( target, options ){
      
          // All variables local to 'closure' are prefixed with 'scope_'
          var scope_Target = target,
              scope_Locations = [-1, -1],

        File visibility-02f9fbfea1bdbdb0217270fd399e41eeddbf613856324ce6038c3037200c41bb.js has 877 lines of code (exceeds 250 allowed). Consider refactoring.
        Open

        /*
         * # Semantic - Visibility
         * http://github.com/semantic-org/semantic-ui/
         *
         *

          Function Env has 423 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

          getJasmineRequireObj().Env = function(j$) {
            function Env(options) {
              options = options || {};
          
              var self = this;

            Function Env has 420 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

              function Env(options) {
                options = options || {};
            
                var self = this;
                var global = options.global || j$.getGlobal();

              Function checkbox has 418 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

              $.fn.checkbox = function(parameters) {
                var
                  $allModules    = $(this),
                  moduleSelector = $allModules.selector || '',
              
              

                Function video has 412 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                $.fn.video = function(parameters) {
                
                  var
                    $allModules     = $(this),
                
                

                  File picker.date-5924b278beda2df8570f137f72b37e2d0f516acbc11a0994d1abb74380f078ef.js has 852 lines of code (exceeds 250 allowed). Consider refactoring.
                  Open

                  /*!
                   * Date picker for pickadate.js v3.5.0
                   * http://amsul.github.io/pickadate.js/date.htm
                   */
                  
                  

                    File transition-fd09644aba07b912b7b860acbe21c4fe0425068627b00a39e446c04159a6b13e.js has 842 lines of code (exceeds 250 allowed). Consider refactoring.
                    Open

                    /*
                     * # Semantic - Transition
                     * http://github.com/semantic-org/semantic-ui/
                     *
                     *

                      Function Utils has 401 lines of code (exceeds 25 allowed). Consider refactoring.
                      Open

                          Utils = (function() {
                      
                              return {
                      
                                  // legacy support for clearTimer

                        Function PickerConstructor has 394 lines of code (exceeds 25 allowed). Consider refactoring.
                        Open

                        function PickerConstructor( ELEMENT, NAME, COMPONENT, OPTIONS ) {
                        
                            // If there’s no element, return the picker constructor.
                            if ( !ELEMENT ) return PickerConstructor
                        
                        

                          Function PickerConstructor has 394 lines of code (exceeds 25 allowed). Consider refactoring.
                          Open

                          function PickerConstructor( ELEMENT, NAME, COMPONENT, OPTIONS ) {
                          
                              // If there’s no element, return the picker constructor.
                              if ( !ELEMENT ) return PickerConstructor
                          
                          

                            Function PickerConstructor has 394 lines of code (exceeds 25 allowed). Consider refactoring.
                            Open

                            function PickerConstructor( ELEMENT, NAME, COMPONENT, OPTIONS ) {
                            
                                // If there’s no element, return the picker constructor.
                                if ( !ELEMENT ) return PickerConstructor
                            
                            

                              Function site has 389 lines of code (exceeds 25 allowed). Consider refactoring.
                              Open

                              $.site = $.fn.site = function(parameters) {
                                var
                                  time           = new Date().getTime(),
                                  performance    = [],
                              
                              

                                File mouse-993c192c5d46187b99fce698d4d003a5a13ae5f32c93403f8263df81459ed5e3.js has 799 lines of code (exceeds 250 allowed). Consider refactoring.
                                Open

                                /*!
                                 * jQuery UI Core 1.11.4
                                 * http://jqueryui.com
                                 *
                                 * Copyright jQuery Foundation and other contributors

                                  Function Env has a Cognitive Complexity of 94 (exceeds 5 allowed). Consider refactoring.
                                  Open

                                  getJasmineRequireObj().Env = function(j$) {
                                    function Env(options) {
                                      options = options || {};
                                  
                                      var self = this;

                                  Cognitive Complexity

                                  Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

                                  A method's cognitive complexity is based on a few simple rules:

                                  • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
                                  • Code is considered more complex for each "break in the linear flow of the code"
                                  • Code is considered more complex when "flow breaking structures are nested"

                                  Further reading

                                  File HtmlReporterSpec-c0bfd8e3f9d91b9c51d68c46ebf550734e825a8e5d485374f7e797cbd6444a5c.js has 795 lines of code (exceeds 250 allowed). Consider refactoring.
                                  Open

                                  describe("New HtmlReporter", function() {
                                    it("builds the initial DOM elements, including the title banner", function() {
                                      var env = new jasmineUnderTest.Env(),
                                        container = document.createElement("div"),
                                        getContainer = function() { return container; },

                                    Function nag has 372 lines of code (exceeds 25 allowed). Consider refactoring.
                                    Open

                                    $.fn.nag = function(parameters) {
                                      var
                                        $allModules    = $(this),
                                        moduleSelector = $allModules.selector || '',
                                    
                                    

                                      File modal-23f8e6a9a5f5a13e8ba8f848d5c5f9cbdd5d1a7159e300a78a50f90faf7c6abb.js has 783 lines of code (exceeds 250 allowed). Consider refactoring.
                                      Open

                                      /*
                                       * # Semantic - Modal
                                       * http://github.com/semantic-org/semantic-ui/
                                       *
                                       *
                                        Severity
                                        Category
                                        Status
                                        Source
                                        Language