arey/angular-musicbrainz

View on GitHub
app/lib/angular-ui-bootstrap-bower/ui-bootstrap-tpls.js

Summary

Maintainability
F
6 mos
Test Coverage

File ui-bootstrap-tpls.js has 2682 lines of code (exceeds 250 allowed). Consider refactoring.
Open

/*
 * angular-ui-bootstrap
 * http://angular-ui.github.io/bootstrap/

 * Version: 0.10.0 - 2014-01-13
Severity: Major
Found in app/lib/angular-ui-bootstrap-bower/ui-bootstrap-tpls.js - About 1 wk to fix

    Function $get has 193 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

      this.$get = [ '$window', '$compile', '$timeout', '$parse', '$document', '$position', '$interpolate', function ( $window, $compile, $timeout, $parse, $document, $position, $interpolate ) {
        return function $tooltip ( type, prefix, defaultTriggerShow ) {
          var options = angular.extend( {}, defaultOptions, globalOptions );
    
          /**
    Severity: Major
    Found in app/lib/angular-ui-bootstrap-bower/ui-bootstrap-tpls.js - About 7 hrs to fix

      Function $tooltip has 191 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

          return function $tooltip ( type, prefix, defaultTriggerShow ) {
            var options = angular.extend( {}, defaultOptions, globalOptions );
      
            /**
             * Returns an object of show and hide triggers.
      Severity: Major
      Found in app/lib/angular-ui-bootstrap-bower/ui-bootstrap-tpls.js - About 7 hrs to fix

        Function link has 174 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

            link: function(scope, element, attrs, ngModel) {
              if ( !ngModel ) {
                return; // do nothing if no ng-model
              }
        
        
        Severity: Major
        Found in app/lib/angular-ui-bootstrap-bower/ui-bootstrap-tpls.js - About 6 hrs to fix

          Function compile has 164 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

                  compile: function (tElem, tAttrs) {
                    var tooltipLinker = $compile( template );
          
                    return function link ( scope, element, attrs ) {
                      var tooltip;
          Severity: Major
          Found in app/lib/angular-ui-bootstrap-bower/ui-bootstrap-tpls.js - About 6 hrs to fix

            Function link has 162 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

                link: function(originalScope, element, attrs, ngModel) {
                  var scope = originalScope.$new(), // create a child scope so we are not polluting original one
                      dateFormat,
                      closeOnDateSelection = angular.isDefined(attrs.closeOnDateSelection) ? originalScope.$eval(attrs.closeOnDateSelection) : datepickerPopupConfig.closeOnDateSelection,
                      appendToBody = angular.isDefined(attrs.datepickerAppendToBody) ? originalScope.$eval(attrs.datepickerAppendToBody) : datepickerPopupConfig.appendToBody;
            Severity: Major
            Found in app/lib/angular-ui-bootstrap-bower/ui-bootstrap-tpls.js - About 6 hrs to fix

              Function link has 161 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

                        return function link ( scope, element, attrs ) {
                          var tooltip;
                          var transitionTimeout;
                          var popupTimeout;
                          var appendToBody = angular.isDefined( options.appendToBody ) ? options.appendToBody : false;
              Severity: Major
              Found in app/lib/angular-ui-bootstrap-bower/ui-bootstrap-tpls.js - About 6 hrs to fix

                Function link has 158 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                    link:function (originalScope, element, attrs, modelCtrl) {
                
                      //SUPPORTED ATTRIBUTES (OPTIONS)
                
                      //minimal no of characters that needs to be entered before typeahead kicks-in
                Severity: Major
                Found in app/lib/angular-ui-bootstrap-bower/ui-bootstrap-tpls.js - About 6 hrs to fix

                  Function link has 95 lines of code (exceeds 25 allowed). Consider refactoring.
                  Open

                      link: function(scope, element, attrs, ctrls) {
                        var datepickerCtrl = ctrls[0], ngModel = ctrls[1];
                  
                        if (!ngModel) {
                          return; // do nothing if no ng-model
                  Severity: Major
                  Found in app/lib/angular-ui-bootstrap-bower/ui-bootstrap-tpls.js - About 3 hrs to fix

                    Function $get has 69 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                            function ($injector, $rootScope, $q, $http, $templateCache, $controller, $modalStack) {
                    
                              var $modal = {};
                    
                              function getTemplatePromise(options) {
                    Severity: Major
                    Found in app/lib/angular-ui-bootstrap-bower/ui-bootstrap-tpls.js - About 2 hrs to fix

                      Function link has 68 lines of code (exceeds 25 allowed). Consider refactoring.
                      Open

                          link: function(scope, element, attrs, paginationCtrl) {
                      
                            // Setup configuration parameters
                            var maxSize,
                            boundaryLinks  = paginationCtrl.getAttributeValue(attrs.boundaryLinks,  config.boundaryLinks      ),
                      Severity: Major
                      Found in app/lib/angular-ui-bootstrap-bower/ui-bootstrap-tpls.js - About 2 hrs to fix

                        Function link has 53 lines of code (exceeds 25 allowed). Consider refactoring.
                        Open

                              link: function (scope, element, attrs) {
                        
                                var initialAnimSkip = true;
                                var currentTransition;
                        
                        
                        Severity: Major
                        Found in app/lib/angular-ui-bootstrap-bower/ui-bootstrap-tpls.js - About 2 hrs to fix

                          Function open has 50 lines of code (exceeds 25 allowed). Consider refactoring.
                          Open

                                    $modal.open = function (modalOptions) {
                          
                                      var modalResultDeferred = $q.defer();
                                      var modalOpenedDeferred = $q.defer();
                          
                          
                          Severity: Minor
                          Found in app/lib/angular-ui-bootstrap-bower/ui-bootstrap-tpls.js - About 2 hrs to fix

                            Function getPages has 43 lines of code (exceeds 25 allowed). Consider refactoring.
                            Open

                                  paginationCtrl.getPages = function(currentPage, totalPages) {
                                    var pages = [];
                            
                                    // Default page limits
                                    var startPage = 1, endPage = totalPages;
                            Severity: Minor
                            Found in app/lib/angular-ui-bootstrap-bower/ui-bootstrap-tpls.js - About 1 hr to fix

                              Function createNew has 42 lines of code (exceeds 25 allowed). Consider refactoring.
                              Open

                                    createNew: function () {
                                      var stack = [];
                              
                                      return {
                                        add: function (key, value) {
                              Severity: Minor
                              Found in app/lib/angular-ui-bootstrap-bower/ui-bootstrap-tpls.js - About 1 hr to fix

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

                                  self.select = function(nextSlide, direction) {
                                    var nextIndex = slides.indexOf(nextSlide);
                                    //Decide direction if it's not given
                                    if (direction === undefined) {
                                      direction = nextIndex > currentIndex ? "next" : "prev";
                                Severity: Minor
                                Found in app/lib/angular-ui-bootstrap-bower/ui-bootstrap-tpls.js - About 1 hr to fix

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

                                      compile: function(elm, attrs, transclude) {
                                        return function postLink(scope, elm, attrs, tabsetCtrl) {
                                          var getActive, setActive;
                                          if (attrs.active) {
                                            getActive = $parse(attrs.active);
                                  Severity: Minor
                                  Found in app/lib/angular-ui-bootstrap-bower/ui-bootstrap-tpls.js - About 1 hr to fix

                                    Function postLink has 38 lines of code (exceeds 25 allowed). Consider refactoring.
                                    Open

                                          return function postLink(scope, elm, attrs, tabsetCtrl) {
                                            var getActive, setActive;
                                            if (attrs.active) {
                                              getActive = $parse(attrs.active);
                                              setActive = getActive.assign;
                                    Severity: Minor
                                    Found in app/lib/angular-ui-bootstrap-bower/ui-bootstrap-tpls.js - About 1 hr to fix

                                      Function positionTooltip has 36 lines of code (exceeds 25 allowed). Consider refactoring.
                                      Open

                                                  var positionTooltip = function (){
                                                    var position,
                                                      ttWidth,
                                                      ttHeight,
                                                      ttPosition;
                                      Severity: Minor
                                      Found in app/lib/angular-ui-bootstrap-bower/ui-bootstrap-tpls.js - About 1 hr to fix

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

                                          var $transition = function(element, trigger, options) {
                                            options = options || {};
                                            var deferred = $q.defer();
                                            var endEventName = $transition[options.animation ? "animationEndEventName" : "transitionEndEventName"];
                                        
                                        
                                        Severity: Minor
                                        Found in app/lib/angular-ui-bootstrap-bower/ui-bootstrap-tpls.js - About 1 hr to fix

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

                                                var getMatchesAsync = function(inputValue) {
                                          
                                                  var locals = {$viewValue: inputValue};
                                                  isLoadingSetter(originalScope, true);
                                                  $q.when(parserResult.source(originalScope, locals)).then(function(matches) {
                                          Severity: Minor
                                          Found in app/lib/angular-ui-bootstrap-bower/ui-bootstrap-tpls.js - About 1 hr to fix

                                            Function TabsetCtrl has a Cognitive Complexity of 9 (exceeds 5 allowed). Consider refactoring.
                                            Open

                                            .controller('TabsetController', ['$scope', function TabsetCtrl($scope) {
                                              var ctrl = this,
                                                  tabs = ctrl.tabs = $scope.tabs = [];
                                            
                                              ctrl.select = function(tab) {
                                            Severity: Minor
                                            Found in app/lib/angular-ui-bootstrap-bower/ui-bootstrap-tpls.js - About 55 mins to fix

                                            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

                                            Function $get has 7 arguments (exceeds 4 allowed). Consider refactoring.
                                            Open

                                                    function ($injector, $rootScope, $q, $http, $templateCache, $controller, $modalStack) {
                                            Severity: Major
                                            Found in app/lib/angular-ui-bootstrap-bower/ui-bootstrap-tpls.js - About 50 mins to fix

                                              Function $get has 7 arguments (exceeds 4 allowed). Consider refactoring.
                                              Open

                                                this.$get = [ '$window', '$compile', '$timeout', '$parse', '$document', '$position', '$interpolate', function ( $window, $compile, $timeout, $parse, $document, $position, $interpolate ) {
                                              Severity: Major
                                              Found in app/lib/angular-ui-bootstrap-bower/ui-bootstrap-tpls.js - About 50 mins to fix

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

                                                      function makePage(number, text, isDisabled, isPrevious, isNext) {
                                                Severity: Minor
                                                Found in app/lib/angular-ui-bootstrap-bower/ui-bootstrap-tpls.js - About 35 mins to fix

                                                  Avoid too many return statements within this function.
                                                  Open

                                                            return undefined;
                                                  Severity: Major
                                                  Found in app/lib/angular-ui-bootstrap-bower/ui-bootstrap-tpls.js - About 30 mins to fix

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

                                                    angular.module('ui.bootstrap.datepicker', ['ui.bootstrap.position'])
                                                    
                                                    .constant('datepickerConfig', {
                                                      dayFormat: 'dd',
                                                      monthFormat: 'MMMM',
                                                    Severity: Major
                                                    Found in app/lib/angular-ui-bootstrap-bower/ui-bootstrap-tpls.js and 1 other location - About 1 mo to fix
                                                    app/lib/angular-ui-bootstrap-bower/ui-bootstrap.js on lines 837..1311

                                                    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 4762.

                                                    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

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

                                                    angular.module('ui.bootstrap.modal', ['ui.bootstrap.transition'])
                                                    
                                                    /**
                                                     * A helper, internal data structure that acts as a map but also allows getting / removing
                                                     * elements in the LIFO order
                                                    Severity: Major
                                                    Found in app/lib/angular-ui-bootstrap-bower/ui-bootstrap-tpls.js and 1 other location - About 2 wks to fix
                                                    app/lib/angular-ui-bootstrap-bower/ui-bootstrap.js on lines 1366..1739

                                                    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 2726.

                                                    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

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

                                                    angular.module('ui.bootstrap.typeahead', ['ui.bootstrap.position', 'ui.bootstrap.bindHtml'])
                                                    
                                                    /**
                                                     * A helper service that can parse typeahead's syntax (string provided by users)
                                                     * Extracted to a separate service for ease of unit testing
                                                    Severity: Major
                                                    Found in app/lib/angular-ui-bootstrap-bower/ui-bootstrap-tpls.js and 1 other location - About 2 wks to fix
                                                    app/lib/angular-ui-bootstrap-bower/ui-bootstrap.js on lines 3079..3427

                                                    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 2433.

                                                    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

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

                                                    angular.module( 'ui.bootstrap.tooltip', [ 'ui.bootstrap.position', 'ui.bootstrap.bindHtml' ] )
                                                    
                                                    /**
                                                     * The $tooltip service creates tooltip- and popover-like directives as well as
                                                     * houses global options for them.
                                                    Severity: Major
                                                    Found in app/lib/angular-ui-bootstrap-bower/ui-bootstrap-tpls.js and 1 other location - About 2 wks to fix
                                                    app/lib/angular-ui-bootstrap-bower/ui-bootstrap.js on lines 1988..2362

                                                    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 2295.

                                                    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

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

                                                    angular.module('ui.bootstrap.timepicker', [])
                                                    
                                                    .constant('timepickerConfig', {
                                                      hourStep: 1,
                                                      minuteStep: 1,
                                                    Severity: Major
                                                    Found in app/lib/angular-ui-bootstrap-bower/ui-bootstrap-tpls.js and 1 other location - About 1 wk to fix
                                                    app/lib/angular-ui-bootstrap-bower/ui-bootstrap.js on lines 2845..3077

                                                    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 2081.

                                                    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

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

                                                    angular.module('ui.bootstrap.pagination', [])
                                                    
                                                    .controller('PaginationController', ['$scope', '$attrs', '$parse', '$interpolate', function ($scope, $attrs, $parse, $interpolate) {
                                                      var self = this,
                                                          setNumPages = $attrs.numPages ? $parse($attrs.numPages).assign : angular.noop;
                                                    Severity: Major
                                                    Found in app/lib/angular-ui-bootstrap-bower/ui-bootstrap-tpls.js and 1 other location - About 1 wk to fix
                                                    app/lib/angular-ui-bootstrap-bower/ui-bootstrap.js on lines 1741..1981

                                                    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 1999.

                                                    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

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

                                                    angular.module('ui.bootstrap.carousel', ['ui.bootstrap.transition'])
                                                    .controller('CarouselController', ['$scope', '$timeout', '$transition', '$q', function ($scope, $timeout, $transition, $q) {
                                                      var self = this,
                                                        slides = self.slides = [],
                                                        currentIndex = -1,
                                                    Severity: Major
                                                    Found in app/lib/angular-ui-bootstrap-bower/ui-bootstrap-tpls.js and 1 other location - About 1 wk to fix
                                                    app/lib/angular-ui-bootstrap-bower/ui-bootstrap.js on lines 418..754

                                                    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 1855.

                                                    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

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

                                                    angular.module('ui.bootstrap.tabs', [])
                                                    
                                                    .controller('TabsetController', ['$scope', function TabsetCtrl($scope) {
                                                      var ctrl = this,
                                                          tabs = ctrl.tabs = $scope.tabs = [];
                                                    Severity: Major
                                                    Found in app/lib/angular-ui-bootstrap-bower/ui-bootstrap-tpls.js and 1 other location - About 1 wk to fix
                                                    app/lib/angular-ui-bootstrap-bower/ui-bootstrap.js on lines 2565..2843

                                                    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 1317.

                                                    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

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

                                                    angular.module('ui.bootstrap.accordion', ['ui.bootstrap.collapse'])
                                                    
                                                    .constant('accordionConfig', {
                                                      closeOthers: true
                                                    })
                                                    Severity: Major
                                                    Found in app/lib/angular-ui-bootstrap-bower/ui-bootstrap-tpls.js and 1 other location - About 5 days to fix
                                                    app/lib/angular-ui-bootstrap-bower/ui-bootstrap.js on lines 168..305

                                                    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 884.

                                                    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

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

                                                    angular.module('ui.bootstrap.progressbar', ['ui.bootstrap.transition'])
                                                    
                                                    .constant('progressConfig', {
                                                      animate: true,
                                                      max: 100
                                                    Severity: Major
                                                    Found in app/lib/angular-ui-bootstrap-bower/ui-bootstrap-tpls.js and 1 other location - About 4 days to fix
                                                    app/lib/angular-ui-bootstrap-bower/ui-bootstrap.js on lines 2384..2483

                                                    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 767.

                                                    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

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

                                                    angular.module('ui.bootstrap.rating', [])
                                                    
                                                    .constant('ratingConfig', {
                                                      max: 5,
                                                      stateOn: null,
                                                    Severity: Major
                                                    Found in app/lib/angular-ui-bootstrap-bower/ui-bootstrap-tpls.js and 1 other location - About 4 days to fix
                                                    app/lib/angular-ui-bootstrap-bower/ui-bootstrap.js on lines 2484..2555

                                                    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 716.

                                                    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

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

                                                    angular.module('ui.bootstrap.position', [])
                                                    
                                                    /**
                                                     * A set of utility methods that can be use to retrieve position of DOM elements.
                                                     * It is meant to be used where we need to absolute-position DOM elements in
                                                    Severity: Major
                                                    Found in app/lib/angular-ui-bootstrap-bower/ui-bootstrap-tpls.js and 1 other location - About 3 days to fix
                                                    app/lib/angular-ui-bootstrap-bower/ui-bootstrap.js on lines 756..835

                                                    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 648.

                                                    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

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

                                                    angular.module('ui.bootstrap.buttons', [])
                                                    
                                                    .constant('buttonConfig', {
                                                      activeClass: 'active',
                                                      toggleEvent: 'click'
                                                    Severity: Major
                                                    Found in app/lib/angular-ui-bootstrap-bower/ui-bootstrap-tpls.js and 1 other location - About 3 days to fix
                                                    app/lib/angular-ui-bootstrap-bower/ui-bootstrap.js on lines 337..408

                                                    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 597.

                                                    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

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

                                                    angular.module('ui.bootstrap.transition', [])
                                                    
                                                    /**
                                                     * $transition service provides a consistent interface to trigger CSS 3 transitions and to be informed when they complete.
                                                     * @param  {DOMElement} element  The DOMElement that will be animated.
                                                    Severity: Major
                                                    Found in app/lib/angular-ui-bootstrap-bower/ui-bootstrap-tpls.js and 1 other location - About 2 days to fix
                                                    app/lib/angular-ui-bootstrap-bower/ui-bootstrap.js on lines 9..90

                                                    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 509.

                                                    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

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

                                                    angular.module('ui.bootstrap.collapse', ['ui.bootstrap.transition'])
                                                    
                                                      .directive('collapse', ['$transition', function ($transition, $timeout) {
                                                    
                                                        return {
                                                    Severity: Major
                                                    Found in app/lib/angular-ui-bootstrap-bower/ui-bootstrap-tpls.js and 1 other location - About 2 days to fix
                                                    app/lib/angular-ui-bootstrap-bower/ui-bootstrap.js on lines 92..166

                                                    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 495.

                                                    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

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

                                                    angular.module('ui.bootstrap.dropdownToggle', []).directive('dropdownToggle', ['$document', '$location', function ($document, $location) {
                                                      var openElement = null,
                                                          closeMenu   = angular.noop;
                                                      return {
                                                        restrict: 'CA',
                                                    Severity: Major
                                                    Found in app/lib/angular-ui-bootstrap-bower/ui-bootstrap-tpls.js and 1 other location - About 1 day to fix
                                                    app/lib/angular-ui-bootstrap-bower/ui-bootstrap.js on lines 1327..1364

                                                    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 354.

                                                    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

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

                                                    angular.module( 'ui.bootstrap.popover', [ 'ui.bootstrap.tooltip' ] )
                                                    
                                                    .directive( 'popoverPopup', function () {
                                                      return {
                                                        restrict: 'EA',
                                                    Severity: Major
                                                    Found in app/lib/angular-ui-bootstrap-bower/ui-bootstrap-tpls.js and 1 other location - About 3 hrs to fix
                                                    app/lib/angular-ui-bootstrap-bower/ui-bootstrap.js on lines 2369..2382

                                                    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 107.

                                                    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

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

                                                    angular.module("ui.bootstrap.alert", [])
                                                    
                                                    .controller('AlertController', ['$scope', '$attrs', function ($scope, $attrs) {
                                                      $scope.closeable = 'close' in $attrs;
                                                    }])
                                                    Severity: Major
                                                    Found in app/lib/angular-ui-bootstrap-bower/ui-bootstrap-tpls.js and 1 other location - About 3 hrs to fix
                                                    app/lib/angular-ui-bootstrap-bower/ui-bootstrap.js on lines 307..325

                                                    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 107.

                                                    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

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

                                                    angular.module('ui.bootstrap.bindHtml', [])
                                                    
                                                      .directive('bindHtmlUnsafe', function () {
                                                        return function (scope, element, attr) {
                                                          element.addClass('ng-binding').data('$binding', attr.bindHtmlUnsafe);
                                                    Severity: Major
                                                    Found in app/lib/angular-ui-bootstrap-bower/ui-bootstrap-tpls.js and 1 other location - About 3 hrs to fix
                                                    app/lib/angular-ui-bootstrap-bower/ui-bootstrap.js on lines 327..336

                                                    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 101.

                                                    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

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

                                                    angular.module("template/tabs/tabset.html", []).run(["$templateCache", function($templateCache) {
                                                      $templateCache.put("template/tabs/tabset.html",
                                                        "\n" +
                                                        "<div class=\"tabbable\">\n" +
                                                        "  <ul class=\"nav {{type && 'nav-' + type}}\" ng-class=\"{'nav-stacked': vertical, 'nav-justified': justified}\" ng-transclude></ul>\n" +
                                                    Severity: Major
                                                    Found in app/lib/angular-ui-bootstrap-bower/ui-bootstrap-tpls.js and 1 other location - About 2 hrs to fix
                                                    app/lib/angular-ui-bootstrap-bower/ui-bootstrap-tpls.js on lines 3508..3522

                                                    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 86.

                                                    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

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

                                                    angular.module("template/datepicker/popup.html", []).run(["$templateCache", function($templateCache) {
                                                      $templateCache.put("template/datepicker/popup.html",
                                                        "<ul class=\"dropdown-menu\" ng-style=\"{display: (isOpen && 'block') || 'none', top: position.top+'px', left: position.left+'px'}\">\n" +
                                                        "    <li ng-transclude></li>\n" +
                                                        "    <li ng-show=\"showButtonBar\" style=\"padding:10px 9px 2px\">\n" +
                                                    Severity: Major
                                                    Found in app/lib/angular-ui-bootstrap-bower/ui-bootstrap-tpls.js and 1 other location - About 2 hrs to fix
                                                    app/lib/angular-ui-bootstrap-bower/ui-bootstrap-tpls.js on lines 3618..3632

                                                    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 86.

                                                    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

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

                                                        "<table>\n" +
                                                        "    <tbody>\n" +
                                                        "        <tr class=\"text-center\">\n" +
                                                        "            <td><a ng-click=\"incrementHours()\" class=\"btn btn-link\"><span class=\"glyphicon glyphicon-chevron-up\"></span></a></td>\n" +
                                                        "            <td>&nbsp;</td>\n" +
                                                    Severity: Major
                                                    Found in app/lib/angular-ui-bootstrap-bower/ui-bootstrap-tpls.js and 1 other location - About 2 hrs to fix
                                                    app/lib/angular-ui-bootstrap-bower/ui-bootstrap-tpls.js on lines 3484..3505

                                                    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 85.

                                                    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

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

                                                        "<table>\n" +
                                                        "  <thead>\n" +
                                                        "    <tr>\n" +
                                                        "      <th><button type=\"button\" class=\"btn btn-default btn-sm pull-left\" ng-click=\"move(-1)\"><i class=\"glyphicon glyphicon-chevron-left\"></i></button></th>\n" +
                                                        "      <th colspan=\"{{rows[0].length - 2 + showWeekNumbers}}\"><button type=\"button\" class=\"btn btn-default btn-sm btn-block\" ng-click=\"toggleMode()\"><strong>{{title}}</strong></button></th>\n" +
                                                    Severity: Major
                                                    Found in app/lib/angular-ui-bootstrap-bower/ui-bootstrap-tpls.js and 1 other location - About 2 hrs to fix
                                                    app/lib/angular-ui-bootstrap-bower/ui-bootstrap-tpls.js on lines 3636..3657

                                                    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 85.

                                                    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

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

                                                    angular.module("template/carousel/carousel.html", []).run(["$templateCache", function($templateCache) {
                                                      $templateCache.put("template/carousel/carousel.html",
                                                        "<div ng-mouseenter=\"pause()\" ng-mouseleave=\"play()\" class=\"carousel\">\n" +
                                                        "    <ol class=\"carousel-indicators\" ng-show=\"slides().length > 1\">\n" +
                                                        "        <li ng-repeat=\"slide in slides()\" ng-class=\"{active: isActive(slide)}\" ng-click=\"select(slide)\"></li>\n" +
                                                    Severity: Major
                                                    Found in app/lib/angular-ui-bootstrap-bower/ui-bootstrap-tpls.js and 1 other location - About 1 hr to fix
                                                    app/lib/angular-ui-bootstrap-bower/ui-bootstrap-tpls.js on lines 3568..3579

                                                    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 74.

                                                    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

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

                                                    angular.module("template/popover/popover.html", []).run(["$templateCache", function($templateCache) {
                                                      $templateCache.put("template/popover/popover.html",
                                                        "<div class=\"popover {{placement}}\" ng-class=\"{ in: isOpen(), fade: animation() }\">\n" +
                                                        "  <div class=\"arrow\"></div>\n" +
                                                        "\n" +
                                                    Severity: Major
                                                    Found in app/lib/angular-ui-bootstrap-bower/ui-bootstrap-tpls.js and 1 other location - About 1 hr to fix
                                                    app/lib/angular-ui-bootstrap-bower/ui-bootstrap-tpls.js on lines 3457..3468

                                                    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 74.

                                                    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

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

                                                    angular.module("template/alert/alert.html", []).run(["$templateCache", function($templateCache) {
                                                      $templateCache.put("template/alert/alert.html",
                                                        "<div class='alert' ng-class='\"alert-\" + (type || \"warning\")'>\n" +
                                                        "    <button ng-show='closeable' type='button' class='close' ng-click='close()'>&times;</button>\n" +
                                                        "    <div ng-transclude></div>\n" +
                                                    Severity: Major
                                                    Found in app/lib/angular-ui-bootstrap-bower/ui-bootstrap-tpls.js and 3 other locations - About 1 hr to fix
                                                    app/lib/angular-ui-bootstrap-bower/ui-bootstrap-tpls.js on lines 3550..3557
                                                    app/lib/angular-ui-bootstrap-bower/ui-bootstrap-tpls.js on lines 3559..3566
                                                    app/lib/angular-ui-bootstrap-bower/ui-bootstrap-tpls.js on lines 3670..3677

                                                    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 58.

                                                    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

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

                                                    angular.module("template/tooltip/tooltip-html-unsafe-popup.html", []).run(["$templateCache", function($templateCache) {
                                                      $templateCache.put("template/tooltip/tooltip-html-unsafe-popup.html",
                                                        "<div class=\"tooltip {{placement}}\" ng-class=\"{ in: isOpen(), fade: animation() }\">\n" +
                                                        "  <div class=\"tooltip-arrow\"></div>\n" +
                                                        "  <div class=\"tooltip-inner\" bind-html-unsafe=\"content\"></div>\n" +
                                                    Severity: Major
                                                    Found in app/lib/angular-ui-bootstrap-bower/ui-bootstrap-tpls.js and 3 other locations - About 1 hr to fix
                                                    app/lib/angular-ui-bootstrap-bower/ui-bootstrap-tpls.js on lines 3448..3455
                                                    app/lib/angular-ui-bootstrap-bower/ui-bootstrap-tpls.js on lines 3559..3566
                                                    app/lib/angular-ui-bootstrap-bower/ui-bootstrap-tpls.js on lines 3670..3677

                                                    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 58.

                                                    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

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

                                                    angular.module("template/typeahead/typeahead-popup.html", []).run(["$templateCache", function($templateCache) {
                                                      $templateCache.put("template/typeahead/typeahead-popup.html",
                                                        "<ul class=\"dropdown-menu\" ng-style=\"{display: isOpen()&&'block' || 'none', top: position.top+'px', left: position.left+'px'}\">\n" +
                                                        "    <li ng-repeat=\"match in matches\" ng-class=\"{active: isActive($index) }\" ng-mouseenter=\"selectActive($index)\" ng-click=\"selectMatch($index)\">\n" +
                                                        "        <div typeahead-match index=\"$index\" match=\"match\" query=\"query\" template-url=\"templateUrl\"></div>\n" +
                                                    Severity: Major
                                                    Found in app/lib/angular-ui-bootstrap-bower/ui-bootstrap-tpls.js and 3 other locations - About 1 hr to fix
                                                    app/lib/angular-ui-bootstrap-bower/ui-bootstrap-tpls.js on lines 3448..3455
                                                    app/lib/angular-ui-bootstrap-bower/ui-bootstrap-tpls.js on lines 3550..3557
                                                    app/lib/angular-ui-bootstrap-bower/ui-bootstrap-tpls.js on lines 3559..3566

                                                    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 58.

                                                    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

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

                                                    angular.module("template/tooltip/tooltip-popup.html", []).run(["$templateCache", function($templateCache) {
                                                      $templateCache.put("template/tooltip/tooltip-popup.html",
                                                        "<div class=\"tooltip {{placement}}\" ng-class=\"{ in: isOpen(), fade: animation() }\">\n" +
                                                        "  <div class=\"tooltip-arrow\"></div>\n" +
                                                        "  <div class=\"tooltip-inner\" ng-bind=\"content\"></div>\n" +
                                                    Severity: Major
                                                    Found in app/lib/angular-ui-bootstrap-bower/ui-bootstrap-tpls.js and 3 other locations - About 1 hr to fix
                                                    app/lib/angular-ui-bootstrap-bower/ui-bootstrap-tpls.js on lines 3448..3455
                                                    app/lib/angular-ui-bootstrap-bower/ui-bootstrap-tpls.js on lines 3550..3557
                                                    app/lib/angular-ui-bootstrap-bower/ui-bootstrap-tpls.js on lines 3670..3677

                                                    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 58.

                                                    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

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

                                                    angular.module("template/pagination/pager.html", []).run(["$templateCache", function($templateCache) {
                                                      $templateCache.put("template/pagination/pager.html",
                                                        "<ul class=\"pager\">\n" +
                                                        "  <li ng-repeat=\"page in pages\" ng-class=\"{disabled: page.disabled, previous: page.previous, next: page.next}\"><a ng-click=\"selectPage(page.number)\">{{page.text}}</a></li>\n" +
                                                        "</ul>");
                                                    Severity: Major
                                                    Found in app/lib/angular-ui-bootstrap-bower/ui-bootstrap-tpls.js and 4 other locations - About 45 mins to fix
                                                    app/lib/angular-ui-bootstrap-bower/ui-bootstrap-tpls.js on lines 3529..3534
                                                    app/lib/angular-ui-bootstrap-bower/ui-bootstrap-tpls.js on lines 3543..3548
                                                    app/lib/angular-ui-bootstrap-bower/ui-bootstrap-tpls.js on lines 3596..3601
                                                    app/lib/angular-ui-bootstrap-bower/ui-bootstrap-tpls.js on lines 3611..3616

                                                    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 50.

                                                    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

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

                                                    angular.module("template/tabs/tabset-titles.html", []).run(["$templateCache", function($templateCache) {
                                                      $templateCache.put("template/tabs/tabset-titles.html",
                                                        "<ul class=\"nav {{type && 'nav-' + type}}\" ng-class=\"{'nav-stacked': vertical}\">\n" +
                                                        "</ul>\n" +
                                                        "");
                                                    Severity: Major
                                                    Found in app/lib/angular-ui-bootstrap-bower/ui-bootstrap-tpls.js and 4 other locations - About 45 mins to fix
                                                    app/lib/angular-ui-bootstrap-bower/ui-bootstrap-tpls.js on lines 3529..3534
                                                    app/lib/angular-ui-bootstrap-bower/ui-bootstrap-tpls.js on lines 3536..3541
                                                    app/lib/angular-ui-bootstrap-bower/ui-bootstrap-tpls.js on lines 3543..3548
                                                    app/lib/angular-ui-bootstrap-bower/ui-bootstrap-tpls.js on lines 3596..3601

                                                    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 50.

                                                    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

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

                                                    angular.module("template/modal/window.html", []).run(["$templateCache", function($templateCache) {
                                                      $templateCache.put("template/modal/window.html",
                                                        "<div tabindex=\"-1\" class=\"modal fade {{ windowClass }}\" ng-class=\"{in: animate}\" ng-style=\"{'z-index': 1050 + index*10, display: 'block'}\" ng-click=\"close($event)\">\n" +
                                                        "    <div class=\"modal-dialog\"><div class=\"modal-content\" ng-transclude></div></div>\n" +
                                                        "</div>");
                                                    Severity: Major
                                                    Found in app/lib/angular-ui-bootstrap-bower/ui-bootstrap-tpls.js and 4 other locations - About 45 mins to fix
                                                    app/lib/angular-ui-bootstrap-bower/ui-bootstrap-tpls.js on lines 3536..3541
                                                    app/lib/angular-ui-bootstrap-bower/ui-bootstrap-tpls.js on lines 3543..3548
                                                    app/lib/angular-ui-bootstrap-bower/ui-bootstrap-tpls.js on lines 3596..3601
                                                    app/lib/angular-ui-bootstrap-bower/ui-bootstrap-tpls.js on lines 3611..3616

                                                    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 50.

                                                    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

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

                                                    angular.module("template/pagination/pagination.html", []).run(["$templateCache", function($templateCache) {
                                                      $templateCache.put("template/pagination/pagination.html",
                                                        "<ul class=\"pagination\">\n" +
                                                        "  <li ng-repeat=\"page in pages\" ng-class=\"{active: page.active, disabled: page.disabled}\"><a ng-click=\"selectPage(page.number)\">{{page.text}}</a></li>\n" +
                                                        "</ul>");
                                                    Severity: Major
                                                    Found in app/lib/angular-ui-bootstrap-bower/ui-bootstrap-tpls.js and 4 other locations - About 45 mins to fix
                                                    app/lib/angular-ui-bootstrap-bower/ui-bootstrap-tpls.js on lines 3529..3534
                                                    app/lib/angular-ui-bootstrap-bower/ui-bootstrap-tpls.js on lines 3536..3541
                                                    app/lib/angular-ui-bootstrap-bower/ui-bootstrap-tpls.js on lines 3596..3601
                                                    app/lib/angular-ui-bootstrap-bower/ui-bootstrap-tpls.js on lines 3611..3616

                                                    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 50.

                                                    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

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

                                                    angular.module("template/rating/rating.html", []).run(["$templateCache", function($templateCache) {
                                                      $templateCache.put("template/rating/rating.html",
                                                        "<span ng-mouseleave=\"reset()\">\n" +
                                                        "    <i ng-repeat=\"r in range\" ng-mouseenter=\"enter($index + 1)\" ng-click=\"rate($index + 1)\" class=\"glyphicon\" ng-class=\"$index < val && (r.stateOn || 'glyphicon-star') || (r.stateOff || 'glyphicon-star-empty')\"></i>\n" +
                                                        "</span>");
                                                    Severity: Major
                                                    Found in app/lib/angular-ui-bootstrap-bower/ui-bootstrap-tpls.js and 4 other locations - About 45 mins to fix
                                                    app/lib/angular-ui-bootstrap-bower/ui-bootstrap-tpls.js on lines 3529..3534
                                                    app/lib/angular-ui-bootstrap-bower/ui-bootstrap-tpls.js on lines 3536..3541
                                                    app/lib/angular-ui-bootstrap-bower/ui-bootstrap-tpls.js on lines 3543..3548
                                                    app/lib/angular-ui-bootstrap-bower/ui-bootstrap-tpls.js on lines 3611..3616

                                                    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 50.

                                                    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