angelakuo/citydogshare

View on GitHub

Showing 2,136 of 3,976 total issues

File progressbar-197b0bf687da285c43ad17a6ac4f2e36cfb9975b7e383502f50320f57e739055.js has 779 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 rating has 355 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

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

      Function _init has 341 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

          _init: function() {
      
              var self = this,
                  options = this._options;
      
      

        File api-b91495d5f4243ff171bf15363611a5a75b37e325681a2bab84ef52fd85e47a76.js has 734 lines of code (exceeds 250 allowed). Consider refactoring.
        Open

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

          File shape-80060dc5eb5dc3e5f1600e103ffbe8c959db581a92421d3bc2ac8fbf98ce5551.js has 733 lines of code (exceeds 250 allowed). Consider refactoring.
          Open

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

            File progress-673b6febfbe4e7505dfa8c661674ae45fb0c5b262565d2eeba9e362183c5b6aa.js has 722 lines of code (exceeds 250 allowed). Consider refactoring.
            Open

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

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

                  init : function(options) {
                    var defaults = {
                      time_constant: 200, // ms
                      dist: -100, // zoom scale TODO: make this more intuitive as an option
                      shift: 0, // spacing for center image

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

                    init : function(options) {
                      var defaults = {
                        time_constant: 200, // ms
                        dist: -100, // zoom scale TODO: make this more intuitive as an option
                        shift: 0, // spacing for center image

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

                      init : function(options) {
                        var defaults = {
                          time_constant: 200, // ms
                          dist: -100, // zoom scale TODO: make this more intuitive as an option
                          shift: 0, // spacing for center image

                    File tab-de913c65731ac28b0f89f9f4887fd1ab7b4fd70e4d5781b70d9435f6e0feb59f.js has 703 lines of code (exceeds 250 allowed). Consider refactoring.
                    Open

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

                      File sticky-34df4b72b2c89efde0353741d241e473ee78b331632414e8e7a5752f7cc48d09.js has 695 lines of code (exceeds 250 allowed). Consider refactoring.
                      Open

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

                        Function HtmlReporter has 304 lines of code (exceeds 25 allowed). Consider refactoring.
                        Open

                        jasmineRequire.HtmlReporter = function(j$) {
                        
                          var noopTimer = {
                            start: function() {},
                            elapsed: function() { return 0; }

                          Function HtmlReporter has 297 lines of code (exceeds 25 allowed). Consider refactoring.
                          Open

                            function HtmlReporter(options) {
                              var env = options.env || {},
                                getContainer = options.getContainer,
                                createElement = options.createElement,
                                createTextNode = options.createTextNode,

                            File SpecRunningSpec-836403183fdd79d7c6a85caa1875c36cf801d68feef3dc6f791569016414af22.js has 644 lines of code (exceeds 250 allowed). Consider refactoring.
                            Open

                            describe("jasmine spec running", function () {
                              var env;
                            
                              beforeEach(function() {
                                env = new jasmineUnderTest.Env();

                              Function TreeProcessor has a Cognitive Complexity of 72 (exceeds 5 allowed). Consider refactoring.
                              Open

                              getJasmineRequireObj().TreeProcessor = function() {
                                function TreeProcessor(attrs) {
                                  var tree = attrs.tree,
                                      runnableIds = attrs.runnableIds,
                                      queueRunnerFactory = attrs.queueRunnerFactory,

                              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 TreeProcessorSpec-a00325edc0c11cb8d486376701e08fd3a07ac04a91fba9153fd5e5a1816de0c6.js has 611 lines of code (exceeds 250 allowed). Consider refactoring.
                              Open

                              describe("TreeProcessor", function() {
                                var nodeNumber = 0, leafNumber = 0;
                              
                                function Node(attrs) {
                                  attrs = attrs || {};

                                Function nodes has 266 lines of code (exceeds 25 allowed). Consider refactoring.
                                Open

                                DatePicker.prototype.nodes = function( isOpen ) {
                                
                                    var
                                        calendar = this,
                                        settings = calendar.settings,

                                  Function nodes has 266 lines of code (exceeds 25 allowed). Consider refactoring.
                                  Open

                                  DatePicker.prototype.nodes = function( isOpen ) {
                                  
                                      var
                                          calendar = this,
                                          settings = calendar.settings,

                                    Function nodes has 266 lines of code (exceeds 25 allowed). Consider refactoring.
                                    Open

                                    DatePicker.prototype.nodes = function( isOpen ) {
                                    
                                        var
                                            calendar = this,
                                            settings = calendar.settings,

                                      Function toThrowError has a Cognitive Complexity of 67 (exceeds 5 allowed). Consider refactoring.
                                      Open

                                      getJasmineRequireObj().toThrowError = function(j$) {
                                      
                                        var getErrorMsg =  j$.formatErrorMsg('<toThrowError>', 'expect(function() {<expectation>}).toThrowError(<ErrorConstructor>, <message>)');
                                      
                                        function toThrowError () {

                                      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

                                      Severity
                                      Category
                                      Status
                                      Source
                                      Language