talho/openphin

View on GitHub

Showing 3,486 of 3,486 total issues

Function ensureVisible has 37 lines of code (exceeds 25 allowed). Consider refactoring.
Open

        ensureVisible : function(row, col, hscroll) {
        
            var resolved = this.resolveCell(row, col, hscroll);
            if(!resolved || !resolved.row){
                return;
Severity: Minor
Found in app/assets/javascripts/ext_extensions/TreeGrid/src/ExtOverride.js - About 1 hr to fix

    Function ensureVisible has 37 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

            ensureVisible : function(row, col, hscroll) {
            
                var resolved = this.resolveCell(row, col, hscroll);
                if(!resolved || !resolved.row){
                    return;
    Severity: Minor
    Found in app/assets/javascripts/ext_extensions/TreeGrid/TreeGrid.js - About 1 hr to fix

      Method deliver has 37 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

        def deliver
          raise "Service::Swn::Message: Message property is blank" if @message.blank?
          config = Service::Swn::Message.configuration
          initialize_fake_delivery(config) if config.fake_delivery?
          devices = []
      Severity: Minor
      Found in app/models/service/swn/message.rb - About 1 hr to fix

        Function FileUploader has 37 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

        qq.FileUploader = function(o){
            // call parent constructor
            qq.FileUploaderBasic.apply(this, arguments);
            
            // additional options    
        Severity: Minor
        Found in app/assets/javascripts/lib/fileuploader.js - About 1 hr to fix

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

          Date.getMonthNumber = function(name) {
            return Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()];
          };
          Severity: Major
          Found in app/assets/javascripts/ext/src/locale/ext-lang-el_GR.js and 20 other locations - About 1 hr to fix
          app/assets/javascripts/ext/src/locale/ext-lang-ca.js on lines 63..65
          app/assets/javascripts/ext/src/locale/ext-lang-da.js on lines 72..74
          app/assets/javascripts/ext/src/locale/ext-lang-de.js on lines 75..77
          app/assets/javascripts/ext/src/locale/ext-lang-en.js on lines 67..69
          app/assets/javascripts/ext/src/locale/ext-lang-en_GB.js on lines 63..65
          app/assets/javascripts/ext/src/locale/ext-lang-es.js on lines 64..66
          app/assets/javascripts/ext/src/locale/ext-lang-he.js on lines 68..70
          app/assets/javascripts/ext/src/locale/ext-lang-hr.js on lines 72..74
          app/assets/javascripts/ext/src/locale/ext-lang-hu.js on lines 72..74
          app/assets/javascripts/ext/src/locale/ext-lang-id.js on lines 77..79
          app/assets/javascripts/ext/src/locale/ext-lang-it.js on lines 70..72
          app/assets/javascripts/ext/src/locale/ext-lang-no_NB.js on lines 70..72
          app/assets/javascripts/ext/src/locale/ext-lang-no_NN.js on lines 70..72
          app/assets/javascripts/ext/src/locale/ext-lang-pl.js on lines 70..72
          app/assets/javascripts/ext/src/locale/ext-lang-pt_BR.js on lines 74..76
          app/assets/javascripts/ext/src/locale/ext-lang-pt_PT.js on lines 65..67
          app/assets/javascripts/ext/src/locale/ext-lang-ro.js on lines 70..72
          app/assets/javascripts/ext/src/locale/ext-lang-ru.js on lines 84..86
          app/assets/javascripts/ext/src/locale/ext-lang-th.js on lines 70..72
          app/assets/javascripts/ext/src/locale/ext-lang-tr.js on lines 74..76

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

          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 21 locations. Consider refactoring.
          Open

          Date.getMonthNumber = function(name) {
            return Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()];
          };
          Severity: Major
          Found in app/assets/javascripts/ext/src/locale/ext-lang-id.js and 20 other locations - About 1 hr to fix
          app/assets/javascripts/ext/src/locale/ext-lang-ca.js on lines 63..65
          app/assets/javascripts/ext/src/locale/ext-lang-da.js on lines 72..74
          app/assets/javascripts/ext/src/locale/ext-lang-de.js on lines 75..77
          app/assets/javascripts/ext/src/locale/ext-lang-el_GR.js on lines 90..92
          app/assets/javascripts/ext/src/locale/ext-lang-en.js on lines 67..69
          app/assets/javascripts/ext/src/locale/ext-lang-en_GB.js on lines 63..65
          app/assets/javascripts/ext/src/locale/ext-lang-es.js on lines 64..66
          app/assets/javascripts/ext/src/locale/ext-lang-he.js on lines 68..70
          app/assets/javascripts/ext/src/locale/ext-lang-hr.js on lines 72..74
          app/assets/javascripts/ext/src/locale/ext-lang-hu.js on lines 72..74
          app/assets/javascripts/ext/src/locale/ext-lang-it.js on lines 70..72
          app/assets/javascripts/ext/src/locale/ext-lang-no_NB.js on lines 70..72
          app/assets/javascripts/ext/src/locale/ext-lang-no_NN.js on lines 70..72
          app/assets/javascripts/ext/src/locale/ext-lang-pl.js on lines 70..72
          app/assets/javascripts/ext/src/locale/ext-lang-pt_BR.js on lines 74..76
          app/assets/javascripts/ext/src/locale/ext-lang-pt_PT.js on lines 65..67
          app/assets/javascripts/ext/src/locale/ext-lang-ro.js on lines 70..72
          app/assets/javascripts/ext/src/locale/ext-lang-ru.js on lines 84..86
          app/assets/javascripts/ext/src/locale/ext-lang-th.js on lines 70..72
          app/assets/javascripts/ext/src/locale/ext-lang-tr.js on lines 74..76

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

          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 21 locations. Consider refactoring.
          Open

          Date.getMonthNumber = function(name) {
            return Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()];
          };
          Severity: Major
          Found in app/assets/javascripts/ext/src/locale/ext-lang-hr.js and 20 other locations - About 1 hr to fix
          app/assets/javascripts/ext/src/locale/ext-lang-ca.js on lines 63..65
          app/assets/javascripts/ext/src/locale/ext-lang-da.js on lines 72..74
          app/assets/javascripts/ext/src/locale/ext-lang-de.js on lines 75..77
          app/assets/javascripts/ext/src/locale/ext-lang-el_GR.js on lines 90..92
          app/assets/javascripts/ext/src/locale/ext-lang-en.js on lines 67..69
          app/assets/javascripts/ext/src/locale/ext-lang-en_GB.js on lines 63..65
          app/assets/javascripts/ext/src/locale/ext-lang-es.js on lines 64..66
          app/assets/javascripts/ext/src/locale/ext-lang-he.js on lines 68..70
          app/assets/javascripts/ext/src/locale/ext-lang-hu.js on lines 72..74
          app/assets/javascripts/ext/src/locale/ext-lang-id.js on lines 77..79
          app/assets/javascripts/ext/src/locale/ext-lang-it.js on lines 70..72
          app/assets/javascripts/ext/src/locale/ext-lang-no_NB.js on lines 70..72
          app/assets/javascripts/ext/src/locale/ext-lang-no_NN.js on lines 70..72
          app/assets/javascripts/ext/src/locale/ext-lang-pl.js on lines 70..72
          app/assets/javascripts/ext/src/locale/ext-lang-pt_BR.js on lines 74..76
          app/assets/javascripts/ext/src/locale/ext-lang-pt_PT.js on lines 65..67
          app/assets/javascripts/ext/src/locale/ext-lang-ro.js on lines 70..72
          app/assets/javascripts/ext/src/locale/ext-lang-ru.js on lines 84..86
          app/assets/javascripts/ext/src/locale/ext-lang-th.js on lines 70..72
          app/assets/javascripts/ext/src/locale/ext-lang-tr.js on lines 74..76

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

          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 21 locations. Consider refactoring.
          Open

          Date.getMonthNumber = function(name) {
            return Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()];
          };
          Severity: Major
          Found in app/assets/javascripts/ext/src/locale/ext-lang-en.js and 20 other locations - About 1 hr to fix
          app/assets/javascripts/ext/src/locale/ext-lang-ca.js on lines 63..65
          app/assets/javascripts/ext/src/locale/ext-lang-da.js on lines 72..74
          app/assets/javascripts/ext/src/locale/ext-lang-de.js on lines 75..77
          app/assets/javascripts/ext/src/locale/ext-lang-el_GR.js on lines 90..92
          app/assets/javascripts/ext/src/locale/ext-lang-en_GB.js on lines 63..65
          app/assets/javascripts/ext/src/locale/ext-lang-es.js on lines 64..66
          app/assets/javascripts/ext/src/locale/ext-lang-he.js on lines 68..70
          app/assets/javascripts/ext/src/locale/ext-lang-hr.js on lines 72..74
          app/assets/javascripts/ext/src/locale/ext-lang-hu.js on lines 72..74
          app/assets/javascripts/ext/src/locale/ext-lang-id.js on lines 77..79
          app/assets/javascripts/ext/src/locale/ext-lang-it.js on lines 70..72
          app/assets/javascripts/ext/src/locale/ext-lang-no_NB.js on lines 70..72
          app/assets/javascripts/ext/src/locale/ext-lang-no_NN.js on lines 70..72
          app/assets/javascripts/ext/src/locale/ext-lang-pl.js on lines 70..72
          app/assets/javascripts/ext/src/locale/ext-lang-pt_BR.js on lines 74..76
          app/assets/javascripts/ext/src/locale/ext-lang-pt_PT.js on lines 65..67
          app/assets/javascripts/ext/src/locale/ext-lang-ro.js on lines 70..72
          app/assets/javascripts/ext/src/locale/ext-lang-ru.js on lines 84..86
          app/assets/javascripts/ext/src/locale/ext-lang-th.js on lines 70..72
          app/assets/javascripts/ext/src/locale/ext-lang-tr.js on lines 74..76

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

          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 21 locations. Consider refactoring.
          Open

          Date.getMonthNumber = function(name) {
            return Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()];
          };
          Severity: Major
          Found in app/assets/javascripts/ext/src/locale/ext-lang-da.js and 20 other locations - About 1 hr to fix
          app/assets/javascripts/ext/src/locale/ext-lang-ca.js on lines 63..65
          app/assets/javascripts/ext/src/locale/ext-lang-de.js on lines 75..77
          app/assets/javascripts/ext/src/locale/ext-lang-el_GR.js on lines 90..92
          app/assets/javascripts/ext/src/locale/ext-lang-en.js on lines 67..69
          app/assets/javascripts/ext/src/locale/ext-lang-en_GB.js on lines 63..65
          app/assets/javascripts/ext/src/locale/ext-lang-es.js on lines 64..66
          app/assets/javascripts/ext/src/locale/ext-lang-he.js on lines 68..70
          app/assets/javascripts/ext/src/locale/ext-lang-hr.js on lines 72..74
          app/assets/javascripts/ext/src/locale/ext-lang-hu.js on lines 72..74
          app/assets/javascripts/ext/src/locale/ext-lang-id.js on lines 77..79
          app/assets/javascripts/ext/src/locale/ext-lang-it.js on lines 70..72
          app/assets/javascripts/ext/src/locale/ext-lang-no_NB.js on lines 70..72
          app/assets/javascripts/ext/src/locale/ext-lang-no_NN.js on lines 70..72
          app/assets/javascripts/ext/src/locale/ext-lang-pl.js on lines 70..72
          app/assets/javascripts/ext/src/locale/ext-lang-pt_BR.js on lines 74..76
          app/assets/javascripts/ext/src/locale/ext-lang-pt_PT.js on lines 65..67
          app/assets/javascripts/ext/src/locale/ext-lang-ro.js on lines 70..72
          app/assets/javascripts/ext/src/locale/ext-lang-ru.js on lines 84..86
          app/assets/javascripts/ext/src/locale/ext-lang-th.js on lines 70..72
          app/assets/javascripts/ext/src/locale/ext-lang-tr.js on lines 74..76

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

          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 21 locations. Consider refactoring.
          Open

          Date.getMonthNumber = function(name) {
            return Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()];
          };
          Severity: Major
          Found in app/assets/javascripts/ext/src/locale/ext-lang-en_GB.js and 20 other locations - About 1 hr to fix
          app/assets/javascripts/ext/src/locale/ext-lang-ca.js on lines 63..65
          app/assets/javascripts/ext/src/locale/ext-lang-da.js on lines 72..74
          app/assets/javascripts/ext/src/locale/ext-lang-de.js on lines 75..77
          app/assets/javascripts/ext/src/locale/ext-lang-el_GR.js on lines 90..92
          app/assets/javascripts/ext/src/locale/ext-lang-en.js on lines 67..69
          app/assets/javascripts/ext/src/locale/ext-lang-es.js on lines 64..66
          app/assets/javascripts/ext/src/locale/ext-lang-he.js on lines 68..70
          app/assets/javascripts/ext/src/locale/ext-lang-hr.js on lines 72..74
          app/assets/javascripts/ext/src/locale/ext-lang-hu.js on lines 72..74
          app/assets/javascripts/ext/src/locale/ext-lang-id.js on lines 77..79
          app/assets/javascripts/ext/src/locale/ext-lang-it.js on lines 70..72
          app/assets/javascripts/ext/src/locale/ext-lang-no_NB.js on lines 70..72
          app/assets/javascripts/ext/src/locale/ext-lang-no_NN.js on lines 70..72
          app/assets/javascripts/ext/src/locale/ext-lang-pl.js on lines 70..72
          app/assets/javascripts/ext/src/locale/ext-lang-pt_BR.js on lines 74..76
          app/assets/javascripts/ext/src/locale/ext-lang-pt_PT.js on lines 65..67
          app/assets/javascripts/ext/src/locale/ext-lang-ro.js on lines 70..72
          app/assets/javascripts/ext/src/locale/ext-lang-ru.js on lines 84..86
          app/assets/javascripts/ext/src/locale/ext-lang-th.js on lines 70..72
          app/assets/javascripts/ext/src/locale/ext-lang-tr.js on lines 74..76

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

          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 21 locations. Consider refactoring.
          Open

          Date.getMonthNumber = function(name) {
            return Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()];
          };
          Severity: Major
          Found in app/assets/javascripts/ext/src/locale/ext-lang-no_NN.js and 20 other locations - About 1 hr to fix
          app/assets/javascripts/ext/src/locale/ext-lang-ca.js on lines 63..65
          app/assets/javascripts/ext/src/locale/ext-lang-da.js on lines 72..74
          app/assets/javascripts/ext/src/locale/ext-lang-de.js on lines 75..77
          app/assets/javascripts/ext/src/locale/ext-lang-el_GR.js on lines 90..92
          app/assets/javascripts/ext/src/locale/ext-lang-en.js on lines 67..69
          app/assets/javascripts/ext/src/locale/ext-lang-en_GB.js on lines 63..65
          app/assets/javascripts/ext/src/locale/ext-lang-es.js on lines 64..66
          app/assets/javascripts/ext/src/locale/ext-lang-he.js on lines 68..70
          app/assets/javascripts/ext/src/locale/ext-lang-hr.js on lines 72..74
          app/assets/javascripts/ext/src/locale/ext-lang-hu.js on lines 72..74
          app/assets/javascripts/ext/src/locale/ext-lang-id.js on lines 77..79
          app/assets/javascripts/ext/src/locale/ext-lang-it.js on lines 70..72
          app/assets/javascripts/ext/src/locale/ext-lang-no_NB.js on lines 70..72
          app/assets/javascripts/ext/src/locale/ext-lang-pl.js on lines 70..72
          app/assets/javascripts/ext/src/locale/ext-lang-pt_BR.js on lines 74..76
          app/assets/javascripts/ext/src/locale/ext-lang-pt_PT.js on lines 65..67
          app/assets/javascripts/ext/src/locale/ext-lang-ro.js on lines 70..72
          app/assets/javascripts/ext/src/locale/ext-lang-ru.js on lines 84..86
          app/assets/javascripts/ext/src/locale/ext-lang-th.js on lines 70..72
          app/assets/javascripts/ext/src/locale/ext-lang-tr.js on lines 74..76

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

          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 21 locations. Consider refactoring.
          Open

          Date.getMonthNumber = function(name) {
            return Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()];
          };
          Severity: Major
          Found in app/assets/javascripts/ext/src/locale/ext-lang-ro.js and 20 other locations - About 1 hr to fix
          app/assets/javascripts/ext/src/locale/ext-lang-ca.js on lines 63..65
          app/assets/javascripts/ext/src/locale/ext-lang-da.js on lines 72..74
          app/assets/javascripts/ext/src/locale/ext-lang-de.js on lines 75..77
          app/assets/javascripts/ext/src/locale/ext-lang-el_GR.js on lines 90..92
          app/assets/javascripts/ext/src/locale/ext-lang-en.js on lines 67..69
          app/assets/javascripts/ext/src/locale/ext-lang-en_GB.js on lines 63..65
          app/assets/javascripts/ext/src/locale/ext-lang-es.js on lines 64..66
          app/assets/javascripts/ext/src/locale/ext-lang-he.js on lines 68..70
          app/assets/javascripts/ext/src/locale/ext-lang-hr.js on lines 72..74
          app/assets/javascripts/ext/src/locale/ext-lang-hu.js on lines 72..74
          app/assets/javascripts/ext/src/locale/ext-lang-id.js on lines 77..79
          app/assets/javascripts/ext/src/locale/ext-lang-it.js on lines 70..72
          app/assets/javascripts/ext/src/locale/ext-lang-no_NB.js on lines 70..72
          app/assets/javascripts/ext/src/locale/ext-lang-no_NN.js on lines 70..72
          app/assets/javascripts/ext/src/locale/ext-lang-pl.js on lines 70..72
          app/assets/javascripts/ext/src/locale/ext-lang-pt_BR.js on lines 74..76
          app/assets/javascripts/ext/src/locale/ext-lang-pt_PT.js on lines 65..67
          app/assets/javascripts/ext/src/locale/ext-lang-ru.js on lines 84..86
          app/assets/javascripts/ext/src/locale/ext-lang-th.js on lines 70..72
          app/assets/javascripts/ext/src/locale/ext-lang-tr.js on lines 74..76

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

          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 21 locations. Consider refactoring.
          Open

          Date.getMonthNumber = function(name) {
            return Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()];
          };
          Severity: Major
          Found in app/assets/javascripts/ext/src/locale/ext-lang-pl.js and 20 other locations - About 1 hr to fix
          app/assets/javascripts/ext/src/locale/ext-lang-ca.js on lines 63..65
          app/assets/javascripts/ext/src/locale/ext-lang-da.js on lines 72..74
          app/assets/javascripts/ext/src/locale/ext-lang-de.js on lines 75..77
          app/assets/javascripts/ext/src/locale/ext-lang-el_GR.js on lines 90..92
          app/assets/javascripts/ext/src/locale/ext-lang-en.js on lines 67..69
          app/assets/javascripts/ext/src/locale/ext-lang-en_GB.js on lines 63..65
          app/assets/javascripts/ext/src/locale/ext-lang-es.js on lines 64..66
          app/assets/javascripts/ext/src/locale/ext-lang-he.js on lines 68..70
          app/assets/javascripts/ext/src/locale/ext-lang-hr.js on lines 72..74
          app/assets/javascripts/ext/src/locale/ext-lang-hu.js on lines 72..74
          app/assets/javascripts/ext/src/locale/ext-lang-id.js on lines 77..79
          app/assets/javascripts/ext/src/locale/ext-lang-it.js on lines 70..72
          app/assets/javascripts/ext/src/locale/ext-lang-no_NB.js on lines 70..72
          app/assets/javascripts/ext/src/locale/ext-lang-no_NN.js on lines 70..72
          app/assets/javascripts/ext/src/locale/ext-lang-pt_BR.js on lines 74..76
          app/assets/javascripts/ext/src/locale/ext-lang-pt_PT.js on lines 65..67
          app/assets/javascripts/ext/src/locale/ext-lang-ro.js on lines 70..72
          app/assets/javascripts/ext/src/locale/ext-lang-ru.js on lines 84..86
          app/assets/javascripts/ext/src/locale/ext-lang-th.js on lines 70..72
          app/assets/javascripts/ext/src/locale/ext-lang-tr.js on lines 74..76

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

          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 21 locations. Consider refactoring.
          Open

          Date.getMonthNumber = function(name) {
            return Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()];
          };
          Severity: Major
          Found in app/assets/javascripts/ext/src/locale/ext-lang-pt_BR.js and 20 other locations - About 1 hr to fix
          app/assets/javascripts/ext/src/locale/ext-lang-ca.js on lines 63..65
          app/assets/javascripts/ext/src/locale/ext-lang-da.js on lines 72..74
          app/assets/javascripts/ext/src/locale/ext-lang-de.js on lines 75..77
          app/assets/javascripts/ext/src/locale/ext-lang-el_GR.js on lines 90..92
          app/assets/javascripts/ext/src/locale/ext-lang-en.js on lines 67..69
          app/assets/javascripts/ext/src/locale/ext-lang-en_GB.js on lines 63..65
          app/assets/javascripts/ext/src/locale/ext-lang-es.js on lines 64..66
          app/assets/javascripts/ext/src/locale/ext-lang-he.js on lines 68..70
          app/assets/javascripts/ext/src/locale/ext-lang-hr.js on lines 72..74
          app/assets/javascripts/ext/src/locale/ext-lang-hu.js on lines 72..74
          app/assets/javascripts/ext/src/locale/ext-lang-id.js on lines 77..79
          app/assets/javascripts/ext/src/locale/ext-lang-it.js on lines 70..72
          app/assets/javascripts/ext/src/locale/ext-lang-no_NB.js on lines 70..72
          app/assets/javascripts/ext/src/locale/ext-lang-no_NN.js on lines 70..72
          app/assets/javascripts/ext/src/locale/ext-lang-pl.js on lines 70..72
          app/assets/javascripts/ext/src/locale/ext-lang-pt_PT.js on lines 65..67
          app/assets/javascripts/ext/src/locale/ext-lang-ro.js on lines 70..72
          app/assets/javascripts/ext/src/locale/ext-lang-ru.js on lines 84..86
          app/assets/javascripts/ext/src/locale/ext-lang-th.js on lines 70..72
          app/assets/javascripts/ext/src/locale/ext-lang-tr.js on lines 74..76

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

          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 21 locations. Consider refactoring.
          Open

          Date.getMonthNumber = function(name) {
            return Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()];
          };
          Severity: Major
          Found in app/assets/javascripts/ext/src/locale/ext-lang-th.js and 20 other locations - About 1 hr to fix
          app/assets/javascripts/ext/src/locale/ext-lang-ca.js on lines 63..65
          app/assets/javascripts/ext/src/locale/ext-lang-da.js on lines 72..74
          app/assets/javascripts/ext/src/locale/ext-lang-de.js on lines 75..77
          app/assets/javascripts/ext/src/locale/ext-lang-el_GR.js on lines 90..92
          app/assets/javascripts/ext/src/locale/ext-lang-en.js on lines 67..69
          app/assets/javascripts/ext/src/locale/ext-lang-en_GB.js on lines 63..65
          app/assets/javascripts/ext/src/locale/ext-lang-es.js on lines 64..66
          app/assets/javascripts/ext/src/locale/ext-lang-he.js on lines 68..70
          app/assets/javascripts/ext/src/locale/ext-lang-hr.js on lines 72..74
          app/assets/javascripts/ext/src/locale/ext-lang-hu.js on lines 72..74
          app/assets/javascripts/ext/src/locale/ext-lang-id.js on lines 77..79
          app/assets/javascripts/ext/src/locale/ext-lang-it.js on lines 70..72
          app/assets/javascripts/ext/src/locale/ext-lang-no_NB.js on lines 70..72
          app/assets/javascripts/ext/src/locale/ext-lang-no_NN.js on lines 70..72
          app/assets/javascripts/ext/src/locale/ext-lang-pl.js on lines 70..72
          app/assets/javascripts/ext/src/locale/ext-lang-pt_BR.js on lines 74..76
          app/assets/javascripts/ext/src/locale/ext-lang-pt_PT.js on lines 65..67
          app/assets/javascripts/ext/src/locale/ext-lang-ro.js on lines 70..72
          app/assets/javascripts/ext/src/locale/ext-lang-ru.js on lines 84..86
          app/assets/javascripts/ext/src/locale/ext-lang-tr.js on lines 74..76

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

          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 21 locations. Consider refactoring.
          Open

          Date.getMonthNumber = function(name) {
            return Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()];
          };
          Severity: Major
          Found in app/assets/javascripts/ext/src/locale/ext-lang-es.js and 20 other locations - About 1 hr to fix
          app/assets/javascripts/ext/src/locale/ext-lang-ca.js on lines 63..65
          app/assets/javascripts/ext/src/locale/ext-lang-da.js on lines 72..74
          app/assets/javascripts/ext/src/locale/ext-lang-de.js on lines 75..77
          app/assets/javascripts/ext/src/locale/ext-lang-el_GR.js on lines 90..92
          app/assets/javascripts/ext/src/locale/ext-lang-en.js on lines 67..69
          app/assets/javascripts/ext/src/locale/ext-lang-en_GB.js on lines 63..65
          app/assets/javascripts/ext/src/locale/ext-lang-he.js on lines 68..70
          app/assets/javascripts/ext/src/locale/ext-lang-hr.js on lines 72..74
          app/assets/javascripts/ext/src/locale/ext-lang-hu.js on lines 72..74
          app/assets/javascripts/ext/src/locale/ext-lang-id.js on lines 77..79
          app/assets/javascripts/ext/src/locale/ext-lang-it.js on lines 70..72
          app/assets/javascripts/ext/src/locale/ext-lang-no_NB.js on lines 70..72
          app/assets/javascripts/ext/src/locale/ext-lang-no_NN.js on lines 70..72
          app/assets/javascripts/ext/src/locale/ext-lang-pl.js on lines 70..72
          app/assets/javascripts/ext/src/locale/ext-lang-pt_BR.js on lines 74..76
          app/assets/javascripts/ext/src/locale/ext-lang-pt_PT.js on lines 65..67
          app/assets/javascripts/ext/src/locale/ext-lang-ro.js on lines 70..72
          app/assets/javascripts/ext/src/locale/ext-lang-ru.js on lines 84..86
          app/assets/javascripts/ext/src/locale/ext-lang-th.js on lines 70..72
          app/assets/javascripts/ext/src/locale/ext-lang-tr.js on lines 74..76

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

          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 21 locations. Consider refactoring.
          Open

          Date.getMonthNumber = function(name) {
            return Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()];
          };
          Severity: Major
          Found in app/assets/javascripts/ext/src/locale/ext-lang-ca.js and 20 other locations - About 1 hr to fix
          app/assets/javascripts/ext/src/locale/ext-lang-da.js on lines 72..74
          app/assets/javascripts/ext/src/locale/ext-lang-de.js on lines 75..77
          app/assets/javascripts/ext/src/locale/ext-lang-el_GR.js on lines 90..92
          app/assets/javascripts/ext/src/locale/ext-lang-en.js on lines 67..69
          app/assets/javascripts/ext/src/locale/ext-lang-en_GB.js on lines 63..65
          app/assets/javascripts/ext/src/locale/ext-lang-es.js on lines 64..66
          app/assets/javascripts/ext/src/locale/ext-lang-he.js on lines 68..70
          app/assets/javascripts/ext/src/locale/ext-lang-hr.js on lines 72..74
          app/assets/javascripts/ext/src/locale/ext-lang-hu.js on lines 72..74
          app/assets/javascripts/ext/src/locale/ext-lang-id.js on lines 77..79
          app/assets/javascripts/ext/src/locale/ext-lang-it.js on lines 70..72
          app/assets/javascripts/ext/src/locale/ext-lang-no_NB.js on lines 70..72
          app/assets/javascripts/ext/src/locale/ext-lang-no_NN.js on lines 70..72
          app/assets/javascripts/ext/src/locale/ext-lang-pl.js on lines 70..72
          app/assets/javascripts/ext/src/locale/ext-lang-pt_BR.js on lines 74..76
          app/assets/javascripts/ext/src/locale/ext-lang-pt_PT.js on lines 65..67
          app/assets/javascripts/ext/src/locale/ext-lang-ro.js on lines 70..72
          app/assets/javascripts/ext/src/locale/ext-lang-ru.js on lines 84..86
          app/assets/javascripts/ext/src/locale/ext-lang-th.js on lines 70..72
          app/assets/javascripts/ext/src/locale/ext-lang-tr.js on lines 74..76

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

          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 21 locations. Consider refactoring.
          Open

          Date.getMonthNumber = function(name) {
            return Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()];
          };
          Severity: Major
          Found in app/assets/javascripts/ext/src/locale/ext-lang-hu.js and 20 other locations - About 1 hr to fix
          app/assets/javascripts/ext/src/locale/ext-lang-ca.js on lines 63..65
          app/assets/javascripts/ext/src/locale/ext-lang-da.js on lines 72..74
          app/assets/javascripts/ext/src/locale/ext-lang-de.js on lines 75..77
          app/assets/javascripts/ext/src/locale/ext-lang-el_GR.js on lines 90..92
          app/assets/javascripts/ext/src/locale/ext-lang-en.js on lines 67..69
          app/assets/javascripts/ext/src/locale/ext-lang-en_GB.js on lines 63..65
          app/assets/javascripts/ext/src/locale/ext-lang-es.js on lines 64..66
          app/assets/javascripts/ext/src/locale/ext-lang-he.js on lines 68..70
          app/assets/javascripts/ext/src/locale/ext-lang-hr.js on lines 72..74
          app/assets/javascripts/ext/src/locale/ext-lang-id.js on lines 77..79
          app/assets/javascripts/ext/src/locale/ext-lang-it.js on lines 70..72
          app/assets/javascripts/ext/src/locale/ext-lang-no_NB.js on lines 70..72
          app/assets/javascripts/ext/src/locale/ext-lang-no_NN.js on lines 70..72
          app/assets/javascripts/ext/src/locale/ext-lang-pl.js on lines 70..72
          app/assets/javascripts/ext/src/locale/ext-lang-pt_BR.js on lines 74..76
          app/assets/javascripts/ext/src/locale/ext-lang-pt_PT.js on lines 65..67
          app/assets/javascripts/ext/src/locale/ext-lang-ro.js on lines 70..72
          app/assets/javascripts/ext/src/locale/ext-lang-ru.js on lines 84..86
          app/assets/javascripts/ext/src/locale/ext-lang-th.js on lines 70..72
          app/assets/javascripts/ext/src/locale/ext-lang-tr.js on lines 74..76

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

          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 21 locations. Consider refactoring.
          Open

          Date.getMonthNumber = function(name) {
            return Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()];
          };
          Severity: Major
          Found in app/assets/javascripts/ext/src/locale/ext-lang-pt_PT.js and 20 other locations - About 1 hr to fix
          app/assets/javascripts/ext/src/locale/ext-lang-ca.js on lines 63..65
          app/assets/javascripts/ext/src/locale/ext-lang-da.js on lines 72..74
          app/assets/javascripts/ext/src/locale/ext-lang-de.js on lines 75..77
          app/assets/javascripts/ext/src/locale/ext-lang-el_GR.js on lines 90..92
          app/assets/javascripts/ext/src/locale/ext-lang-en.js on lines 67..69
          app/assets/javascripts/ext/src/locale/ext-lang-en_GB.js on lines 63..65
          app/assets/javascripts/ext/src/locale/ext-lang-es.js on lines 64..66
          app/assets/javascripts/ext/src/locale/ext-lang-he.js on lines 68..70
          app/assets/javascripts/ext/src/locale/ext-lang-hr.js on lines 72..74
          app/assets/javascripts/ext/src/locale/ext-lang-hu.js on lines 72..74
          app/assets/javascripts/ext/src/locale/ext-lang-id.js on lines 77..79
          app/assets/javascripts/ext/src/locale/ext-lang-it.js on lines 70..72
          app/assets/javascripts/ext/src/locale/ext-lang-no_NB.js on lines 70..72
          app/assets/javascripts/ext/src/locale/ext-lang-no_NN.js on lines 70..72
          app/assets/javascripts/ext/src/locale/ext-lang-pl.js on lines 70..72
          app/assets/javascripts/ext/src/locale/ext-lang-pt_BR.js on lines 74..76
          app/assets/javascripts/ext/src/locale/ext-lang-ro.js on lines 70..72
          app/assets/javascripts/ext/src/locale/ext-lang-ru.js on lines 84..86
          app/assets/javascripts/ext/src/locale/ext-lang-th.js on lines 70..72
          app/assets/javascripts/ext/src/locale/ext-lang-tr.js on lines 74..76

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

          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 21 locations. Consider refactoring.
          Open

          Date.getMonthNumber = function(name) {
            return Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()];
          };
          Severity: Major
          Found in app/assets/javascripts/ext/src/locale/ext-lang-tr.js and 20 other locations - About 1 hr to fix
          app/assets/javascripts/ext/src/locale/ext-lang-ca.js on lines 63..65
          app/assets/javascripts/ext/src/locale/ext-lang-da.js on lines 72..74
          app/assets/javascripts/ext/src/locale/ext-lang-de.js on lines 75..77
          app/assets/javascripts/ext/src/locale/ext-lang-el_GR.js on lines 90..92
          app/assets/javascripts/ext/src/locale/ext-lang-en.js on lines 67..69
          app/assets/javascripts/ext/src/locale/ext-lang-en_GB.js on lines 63..65
          app/assets/javascripts/ext/src/locale/ext-lang-es.js on lines 64..66
          app/assets/javascripts/ext/src/locale/ext-lang-he.js on lines 68..70
          app/assets/javascripts/ext/src/locale/ext-lang-hr.js on lines 72..74
          app/assets/javascripts/ext/src/locale/ext-lang-hu.js on lines 72..74
          app/assets/javascripts/ext/src/locale/ext-lang-id.js on lines 77..79
          app/assets/javascripts/ext/src/locale/ext-lang-it.js on lines 70..72
          app/assets/javascripts/ext/src/locale/ext-lang-no_NB.js on lines 70..72
          app/assets/javascripts/ext/src/locale/ext-lang-no_NN.js on lines 70..72
          app/assets/javascripts/ext/src/locale/ext-lang-pl.js on lines 70..72
          app/assets/javascripts/ext/src/locale/ext-lang-pt_BR.js on lines 74..76
          app/assets/javascripts/ext/src/locale/ext-lang-pt_PT.js on lines 65..67
          app/assets/javascripts/ext/src/locale/ext-lang-ro.js on lines 70..72
          app/assets/javascripts/ext/src/locale/ext-lang-ru.js on lines 84..86
          app/assets/javascripts/ext/src/locale/ext-lang-th.js on lines 70..72

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

          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

          Severity
          Category
          Status
          Source
          Language