angelakuo/citydogshare

View on GitHub
public/assets/semantic-ui/tab-de913c65731ac28b0f89f9f4887fd1ab7b4fd70e4d5781b70d9435f6e0feb59f.js

Summary

Maintainability
F
6 days
Test Coverage

Function tab has 650 lines of code (exceeds 25 allowed). Consider refactoring.
Open

$.fn.tab = function(parameters) {

  var
    // use window context if none specified
    $allModules     = $.isFunction(this)

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

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

      Function changeTab has 83 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

              changeTab: function(tabPath) {
                var
                  pushStateAvailable = (window.history && window.history.pushState),
                  shouldIgnoreLoad   = (pushStateAvailable && settings.ignoreFirstLoad && firstLoad),
                  remoteContent      = (settings.auto || $.isPlainObject(settings.apiSettings) ),

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

                invoke: function(query, passedArguments, context) {
                  var
                    object = instance,
                    maxDepth,
                    found,

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

                    fetch: function(tabPath, fullTabPath) {
                      var
                        $tab             = module.get.tabElement(tabPath),
                        apiSettings      = {
                          dataType     : 'html',

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

                    determineTabs: function() {
                      var
                        $reference
                      ;
            
            

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

                        display: function() {
                          var
                            title = settings.name + ':',
                            totalTime = 0
                          ;

                There are no issues that match your filters.

                Category
                Status