angelakuo/citydogshare

View on GitHub
public/assets/semantic-ui/sidebar-8403c2ed156dc1a2cf939aba5ff9e4a929b8f8d929635feb2dd15e4c58269c26.js

Summary

Maintainability
F
1 wk
Test Coverage

Function sidebar has 898 lines of code (exceeds 25 allowed). Consider refactoring.
Open

$.fn.sidebar = function(parameters) {
  var
    $allModules     = $(this),
    $window         = $(window),
    $document       = $(document),

    File sidebar-8403c2ed156dc1a2cf939aba5ff9e4a929b8f8d929635feb2dd15e4c58269c26.js has 977 lines of code (exceeds 250 allowed). Consider refactoring.
    Open

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

      Function bodyCSS has 67 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

                bodyCSS: function() {
                  var
                    width     = $module.outerWidth(),
                    height    = $module.outerHeight(),
                    direction = module.get.direction(),

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

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

          Function pushPage has 41 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

                  pushPage: function(callback) {
                    var
                      transition = module.get.transition(),
                      $transition = (transition == 'safe')
                        ? $context

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

                    pullPage: function(callback) {
                      var
                        transition = module.get.transition(),
                        $transition = (transition == 'safe')
                          ? $context

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

                      show: function(callback) {
                        var
                          animateMethod = (settings.useLegacy === true)
                            ? module.legacyPushPage
                            : module.pushPage

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

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

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

                          legacyPushPage: function(callback) {
                            var
                              distance   = $module.width(),
                              direction  = module.get.direction(),
                              properties = {}

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

                      easeInOutQuint: function (x, t, b, c, d) {

                      There are no issues that match your filters.

                      Category
                      Status