angelakuo/citydogshare

View on GitHub
public/assets/semantic-ui/transition-fd09644aba07b912b7b860acbe21c4fe0425068627b00a39e446c04159a6b13e.js

Summary

Maintainability
F
1 wk
Test Coverage

Function transition has 799 lines of code (exceeds 25 allowed). Consider refactoring.
Open

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

    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 transition has 55 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

                transition: function(forced) {
                  var
                    elementClass      = $module.attr('class'),
                    tagName           = $module.prop('tagName'),
                    animation         = settings.animation,

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

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

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

                    settings: function(animation, duration, onComplete) {
                      // single settings object
                      if(typeof animation == 'object') {
                        return $.extend(true, {}, $.fn.transition.settings, animation);
                      }

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

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

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

                      animate: function(overrideSettings) {
                        settings = overrideSettings || settings;
                        if(!module.is.supported()) {
                          module.error(error.support);
                          return false;

                Avoid too many return statements within this function.
                Open

                              return $.extend({}, $.fn.transition.settings, {
                                animation  : animation,
                                onComplete : duration
                              });

                  Avoid too many return statements within this function.
                  Open

                                return $.extend({}, $.fn.transition.settings, {
                                  animation : animation
                                });

                    Avoid too many return statements within this function.
                    Open

                                return $.fn.transition.settings;

                      There are no issues that match your filters.

                      Category
                      Status