Pi2-FGABreja/FGABrejaWeb

View on GitHub
FGABreja/static/js/jquery.easing.1.3.js

Summary

Maintainability
F
2 wks
Test Coverage

`` has 31 functions (exceeds 20 allowed). Consider refactoring.
Open

{
    def: 'easeOutQuad',
    swing: function (x, t, b, c, d) {
        //alert(jQuery.easing.default);
        return jQuery.easing[jQuery.easing.def](x, t, b, c, d);
Severity: Minor
Found in FGABreja/static/js/jquery.easing.1.3.js - About 3 hrs to fix

    Function easeInOutBack has 6 arguments (exceeds 4 allowed). Consider refactoring.
    Open

        easeInOutBack: function (x, t, b, c, d, s) {
    Severity: Minor
    Found in FGABreja/static/js/jquery.easing.1.3.js - About 45 mins to fix

      Function easeInBack has 6 arguments (exceeds 4 allowed). Consider refactoring.
      Open

          easeInBack: function (x, t, b, c, d, s) {
      Severity: Minor
      Found in FGABreja/static/js/jquery.easing.1.3.js - About 45 mins to fix

        Function easeOutBack has 6 arguments (exceeds 4 allowed). Consider refactoring.
        Open

            easeOutBack: function (x, t, b, c, d, s) {
        Severity: Minor
        Found in FGABreja/static/js/jquery.easing.1.3.js - About 45 mins to fix

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

              easeInQuart: function (x, t, b, c, d) {
          Severity: Minor
          Found in FGABreja/static/js/jquery.easing.1.3.js - About 35 mins to fix

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

                easeOutQuart: function (x, t, b, c, d) {
            Severity: Minor
            Found in FGABreja/static/js/jquery.easing.1.3.js - About 35 mins to fix

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

                  easeInSine: function (x, t, b, c, d) {
              Severity: Minor
              Found in FGABreja/static/js/jquery.easing.1.3.js - About 35 mins to fix

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

                    easeInOutQuad: function (x, t, b, c, d) {
                Severity: Minor
                Found in FGABreja/static/js/jquery.easing.1.3.js - About 35 mins to fix

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

                      easeInOutQuint: function (x, t, b, c, d) {
                  Severity: Minor
                  Found in FGABreja/static/js/jquery.easing.1.3.js - About 35 mins to fix

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

                        easeOutQuint: function (x, t, b, c, d) {
                    Severity: Minor
                    Found in FGABreja/static/js/jquery.easing.1.3.js - About 35 mins to fix

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

                          easeInBounce: function (x, t, b, c, d) {
                      Severity: Minor
                      Found in FGABreja/static/js/jquery.easing.1.3.js - About 35 mins to fix

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

                            easeOutBounce: function (x, t, b, c, d) {
                        Severity: Minor
                        Found in FGABreja/static/js/jquery.easing.1.3.js - About 35 mins to fix

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

                              easeOutQuad: function (x, t, b, c, d) {
                          Severity: Minor
                          Found in FGABreja/static/js/jquery.easing.1.3.js - About 35 mins to fix

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

                                easeOutSine: function (x, t, b, c, d) {
                            Severity: Minor
                            Found in FGABreja/static/js/jquery.easing.1.3.js - About 35 mins to fix

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

                                  easeInOutCirc: function (x, t, b, c, d) {
                              Severity: Minor
                              Found in FGABreja/static/js/jquery.easing.1.3.js - About 35 mins to fix

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

                                    easeInElastic: function (x, t, b, c, d) {
                                Severity: Minor
                                Found in FGABreja/static/js/jquery.easing.1.3.js - About 35 mins to fix

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

                                      easeInOutBounce: function (x, t, b, c, d) {
                                  Severity: Minor
                                  Found in FGABreja/static/js/jquery.easing.1.3.js - About 35 mins to fix

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

                                        easeInQuint: function (x, t, b, c, d) {
                                    Severity: Minor
                                    Found in FGABreja/static/js/jquery.easing.1.3.js - About 35 mins to fix

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

                                          easeOutCirc: function (x, t, b, c, d) {
                                      Severity: Minor
                                      Found in FGABreja/static/js/jquery.easing.1.3.js - About 35 mins to fix

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

                                            easeInOutElastic: function (x, t, b, c, d) {
                                        Severity: Minor
                                        Found in FGABreja/static/js/jquery.easing.1.3.js - About 35 mins to fix

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

                                              easeInOutQuart: function (x, t, b, c, d) {
                                          Severity: Minor
                                          Found in FGABreja/static/js/jquery.easing.1.3.js - About 35 mins to fix

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

                                                easeInCubic: function (x, t, b, c, d) {
                                            Severity: Minor
                                            Found in FGABreja/static/js/jquery.easing.1.3.js - About 35 mins to fix

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

                                                  easeInCirc: function (x, t, b, c, d) {
                                              Severity: Minor
                                              Found in FGABreja/static/js/jquery.easing.1.3.js - About 35 mins to fix

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

                                                    easeOutCubic: function (x, t, b, c, d) {
                                                Severity: Minor
                                                Found in FGABreja/static/js/jquery.easing.1.3.js - About 35 mins to fix

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

                                                      easeInExpo: function (x, t, b, c, d) {
                                                  Severity: Minor
                                                  Found in FGABreja/static/js/jquery.easing.1.3.js - About 35 mins to fix

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

                                                        easeInOutSine: function (x, t, b, c, d) {
                                                    Severity: Minor
                                                    Found in FGABreja/static/js/jquery.easing.1.3.js - About 35 mins to fix

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

                                                          easeInOutExpo: function (x, t, b, c, d) {
                                                      Severity: Minor
                                                      Found in FGABreja/static/js/jquery.easing.1.3.js - About 35 mins to fix

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

                                                            swing: function (x, t, b, c, d) {
                                                        Severity: Minor
                                                        Found in FGABreja/static/js/jquery.easing.1.3.js - About 35 mins to fix

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

                                                              easeInQuad: function (x, t, b, c, d) {
                                                          Severity: Minor
                                                          Found in FGABreja/static/js/jquery.easing.1.3.js - About 35 mins to fix

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

                                                                easeInOutCubic: function (x, t, b, c, d) {
                                                            Severity: Minor
                                                            Found in FGABreja/static/js/jquery.easing.1.3.js - About 35 mins to fix

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

                                                                  easeOutExpo: function (x, t, b, c, d) {
                                                              Severity: Minor
                                                              Found in FGABreja/static/js/jquery.easing.1.3.js - About 35 mins to fix

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

                                                                    easeOutElastic: function (x, t, b, c, d) {
                                                                Severity: Minor
                                                                Found in FGABreja/static/js/jquery.easing.1.3.js - About 35 mins to fix

                                                                  Similar blocks of code found in 2 locations. Consider refactoring.
                                                                  Open

                                                                  jQuery.extend( jQuery.easing,
                                                                  {
                                                                      def: 'easeOutQuad',
                                                                      swing: function (x, t, b, c, d) {
                                                                          //alert(jQuery.easing.default);
                                                                  Severity: Major
                                                                  Found in FGABreja/static/js/jquery.easing.1.3.js and 1 other location - About 2 wks to fix
                                                                  FGABreja/static/js/bin/materialize.js on lines 46..177

                                                                  Duplicated Code

                                                                  Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                                                  Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                                                  When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                                                  Tuning

                                                                  This issue has a mass of 2784.

                                                                  We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                                                  The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                                                  If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                                                  See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                                                  Refactorings

                                                                  Further Reading

                                                                  There are no issues that match your filters.

                                                                  Category
                                                                  Status