maestro-server/analytics-front

View on GitHub

Showing 4,910 of 4,910 total issues

File main.js has 574 lines of code (exceeds 250 allowed). Consider refactoring.
Open

require.config({
    paths: {
        bootstrap: './vendor/bootstrap.min',
        diffMatchPatch: './vendor/diff_match_patch.min',
        handlebars: './vendor/handlebars.min',
Severity: Major
Found in docs/graph/main.js - About 1 day to fix

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

    Query.prototype.exclude = function (key, value) {
    
        if (Array.isArray(key)) {
            let projection = key;
            projection.forEach((k) => this.exclude(k));
    Severity: Major
    Found in app/core/repositories/daos/connector/query.js and 1 other location - About 6 hrs to fix
    app/core/repositories/daos/connector/query.js on lines 64..80

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

    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

    Query.prototype.include = function (key, value) {
        if (Array.isArray(key)) {
            let projection = key;
            projection.forEach((k) => this.include(k));
    
    
    Severity: Major
    Found in app/core/repositories/daos/connector/query.js and 1 other location - About 6 hrs to fix
    app/core/repositories/daos/connector/query.js on lines 82..99

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

    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

    Function sendSampleRequest has 88 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

      function sendSampleRequest(group, name, version, type)
      {
          var $root = $('article[data-group="' + group + '"][data-name="' + name + '"][data-version="' + version + '"]');
    
          // Optional header
    Severity: Major
    Found in docs/graph/utils/send_sample_request.js - About 3 hrs to fix

      Function AppTooltip has 88 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

      function AppTooltip(app, clk=true) {
          var tooltip = $('#app-tooltip');
          var lock = null;
      
          var connectors = $('.svg-pan-zoom_viewport .conector_h');
      Severity: Major
      Found in assets/js/libs/appTooltip.js - About 3 hrs to fix

        Function AnimateLines has 87 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

        function AnimateLines(app) {
            var color = "#6b2626";
            var actived = false;
        
            var tooltip = $('#conn-tooltip');
        Severity: Major
        Found in assets/js/libs/animateLines.js - About 3 hrs to fix

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

          define({
              'pt_br': {
                  'Allowed values:'             : 'Valores permitidos:',
                  'Compare all with predecessor': 'Compare todos com antecessores',
                  'compare changes to:'         : 'comparar alterações com:',
          Severity: Major
          Found in docs/graph/locales/pt_br.js and 1 other location - About 3 hrs to fix
          docs/graph/locales/zh_cn.js on lines 1..25

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

          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

          define({
              'zh_cn': {
                  'Allowed values:'             : '允许值:',
                  'Compare all with predecessor': '与所有较早的比较',
                  'compare changes to:'         : '将当前版本与指定版本比较:',
          Severity: Major
          Found in docs/graph/locales/zh_cn.js and 1 other location - About 3 hrs to fix
          docs/graph/locales/pt_br.js on lines 1..25

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

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

          define({
              ro: {
                  'Allowed values:'             : 'Valori permise:',
                  'Compare all with predecessor': 'Compară toate cu versiunea precedentă',
                  'compare changes to:'         : 'compară cu versiunea:',
          Severity: Major
          Found in docs/graph/locales/ro.js and 11 other locations - About 3 hrs to fix
          docs/graph/locales/ca.js on lines 1..25
          docs/graph/locales/de.js on lines 1..25
          docs/graph/locales/es.js on lines 1..25
          docs/graph/locales/fr.js on lines 1..25
          docs/graph/locales/it.js on lines 1..25
          docs/graph/locales/nl.js on lines 1..25
          docs/graph/locales/pl.js on lines 1..25
          docs/graph/locales/ru.js on lines 1..25
          docs/graph/locales/tr.js on lines 1..25
          docs/graph/locales/vi.js on lines 1..25
          docs/graph/locales/zh.js on lines 1..25

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

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

          define({
              nl: {
                  'Allowed values:'             : 'Toegestane waarden:',
                  'Compare all with predecessor': 'Vergelijk alle met voorgaande versie',
                  'compare changes to:'         : 'vergelijk veranderingen met:',
          Severity: Major
          Found in docs/graph/locales/nl.js and 11 other locations - About 3 hrs to fix
          docs/graph/locales/ca.js on lines 1..25
          docs/graph/locales/de.js on lines 1..25
          docs/graph/locales/es.js on lines 1..25
          docs/graph/locales/fr.js on lines 1..25
          docs/graph/locales/it.js on lines 1..25
          docs/graph/locales/pl.js on lines 1..25
          docs/graph/locales/ro.js on lines 1..25
          docs/graph/locales/ru.js on lines 1..25
          docs/graph/locales/tr.js on lines 1..25
          docs/graph/locales/vi.js on lines 1..25
          docs/graph/locales/zh.js on lines 1..25

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

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

          define({
              de: {
                  'Allowed values:'             : 'Erlaubte Werte:',
                  'Compare all with predecessor': 'Vergleiche alle mit ihren Vorgängern',
                  'compare changes to:'         : 'vergleiche Änderungen mit:',
          Severity: Major
          Found in docs/graph/locales/de.js and 11 other locations - About 3 hrs to fix
          docs/graph/locales/ca.js on lines 1..25
          docs/graph/locales/es.js on lines 1..25
          docs/graph/locales/fr.js on lines 1..25
          docs/graph/locales/it.js on lines 1..25
          docs/graph/locales/nl.js on lines 1..25
          docs/graph/locales/pl.js on lines 1..25
          docs/graph/locales/ro.js on lines 1..25
          docs/graph/locales/ru.js on lines 1..25
          docs/graph/locales/tr.js on lines 1..25
          docs/graph/locales/vi.js on lines 1..25
          docs/graph/locales/zh.js on lines 1..25

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

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

          define({
              pl: {
                  'Allowed values:'             : 'Dozwolone wartości:',
                  'Compare all with predecessor': 'Porównaj z poprzednimi wersjami',
                  'compare changes to:'         : 'porównaj zmiany do:',
          Severity: Major
          Found in docs/graph/locales/pl.js and 11 other locations - About 3 hrs to fix
          docs/graph/locales/ca.js on lines 1..25
          docs/graph/locales/de.js on lines 1..25
          docs/graph/locales/es.js on lines 1..25
          docs/graph/locales/fr.js on lines 1..25
          docs/graph/locales/it.js on lines 1..25
          docs/graph/locales/nl.js on lines 1..25
          docs/graph/locales/ro.js on lines 1..25
          docs/graph/locales/ru.js on lines 1..25
          docs/graph/locales/tr.js on lines 1..25
          docs/graph/locales/vi.js on lines 1..25
          docs/graph/locales/zh.js on lines 1..25

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

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

          define({
              it: {
                  'Allowed values:'             : 'Valori permessi:',
                  'Compare all with predecessor': 'Confronta tutto con versioni precedenti',
                  'compare changes to:'         : 'confronta modifiche con:',
          Severity: Major
          Found in docs/graph/locales/it.js and 11 other locations - About 3 hrs to fix
          docs/graph/locales/ca.js on lines 1..25
          docs/graph/locales/de.js on lines 1..25
          docs/graph/locales/es.js on lines 1..25
          docs/graph/locales/fr.js on lines 1..25
          docs/graph/locales/nl.js on lines 1..25
          docs/graph/locales/pl.js on lines 1..25
          docs/graph/locales/ro.js on lines 1..25
          docs/graph/locales/ru.js on lines 1..25
          docs/graph/locales/tr.js on lines 1..25
          docs/graph/locales/vi.js on lines 1..25
          docs/graph/locales/zh.js on lines 1..25

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

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

          define({
              ca: {
                  'Allowed values:'             : 'Valors permesos:',
                  'Compare all with predecessor': 'Comparar tot amb versió anterior',
                  'compare changes to:'         : 'comparar canvis amb:',
          Severity: Major
          Found in docs/graph/locales/ca.js and 11 other locations - About 3 hrs to fix
          docs/graph/locales/de.js on lines 1..25
          docs/graph/locales/es.js on lines 1..25
          docs/graph/locales/fr.js on lines 1..25
          docs/graph/locales/it.js on lines 1..25
          docs/graph/locales/nl.js on lines 1..25
          docs/graph/locales/pl.js on lines 1..25
          docs/graph/locales/ro.js on lines 1..25
          docs/graph/locales/ru.js on lines 1..25
          docs/graph/locales/tr.js on lines 1..25
          docs/graph/locales/vi.js on lines 1..25
          docs/graph/locales/zh.js on lines 1..25

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

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

          define({
              fr: {
                  'Allowed values:'             : 'Valeurs autorisées :',
                  'Compare all with predecessor': 'Tout comparer avec ...',
                  'compare changes to:'         : 'comparer les changements à :',
          Severity: Major
          Found in docs/graph/locales/fr.js and 11 other locations - About 3 hrs to fix
          docs/graph/locales/ca.js on lines 1..25
          docs/graph/locales/de.js on lines 1..25
          docs/graph/locales/es.js on lines 1..25
          docs/graph/locales/it.js on lines 1..25
          docs/graph/locales/nl.js on lines 1..25
          docs/graph/locales/pl.js on lines 1..25
          docs/graph/locales/ro.js on lines 1..25
          docs/graph/locales/ru.js on lines 1..25
          docs/graph/locales/tr.js on lines 1..25
          docs/graph/locales/vi.js on lines 1..25
          docs/graph/locales/zh.js on lines 1..25

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

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

          define({
              tr: {
                  'Allowed values:'             : 'İzin verilen değerler:',
                  'Compare all with predecessor': 'Tümünü öncekiler ile karşılaştır',
                  'compare changes to:'         : 'değişiklikleri karşılaştır:',
          Severity: Major
          Found in docs/graph/locales/tr.js and 11 other locations - About 3 hrs to fix
          docs/graph/locales/ca.js on lines 1..25
          docs/graph/locales/de.js on lines 1..25
          docs/graph/locales/es.js on lines 1..25
          docs/graph/locales/fr.js on lines 1..25
          docs/graph/locales/it.js on lines 1..25
          docs/graph/locales/nl.js on lines 1..25
          docs/graph/locales/pl.js on lines 1..25
          docs/graph/locales/ro.js on lines 1..25
          docs/graph/locales/ru.js on lines 1..25
          docs/graph/locales/vi.js on lines 1..25
          docs/graph/locales/zh.js on lines 1..25

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

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

          define({
              zh: {
                  'Allowed values​​:'             : '允許值:',
                  'Compare all with predecessor': '預先比較所有',
                  'compare changes to:'         : '比較變更:',
          Severity: Major
          Found in docs/graph/locales/zh.js and 11 other locations - About 3 hrs to fix
          docs/graph/locales/ca.js on lines 1..25
          docs/graph/locales/de.js on lines 1..25
          docs/graph/locales/es.js on lines 1..25
          docs/graph/locales/fr.js on lines 1..25
          docs/graph/locales/it.js on lines 1..25
          docs/graph/locales/nl.js on lines 1..25
          docs/graph/locales/pl.js on lines 1..25
          docs/graph/locales/ro.js on lines 1..25
          docs/graph/locales/ru.js on lines 1..25
          docs/graph/locales/tr.js on lines 1..25
          docs/graph/locales/vi.js on lines 1..25

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

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

          define({
              vi: {
                  'Allowed values:'             : 'Giá trị chấp nhận:',
                  'Compare all with predecessor': 'So sánh với tất cả phiên bản trước',
                  'compare changes to:'         : 'so sánh sự thay đổi với:',
          Severity: Major
          Found in docs/graph/locales/vi.js and 11 other locations - About 3 hrs to fix
          docs/graph/locales/ca.js on lines 1..25
          docs/graph/locales/de.js on lines 1..25
          docs/graph/locales/es.js on lines 1..25
          docs/graph/locales/fr.js on lines 1..25
          docs/graph/locales/it.js on lines 1..25
          docs/graph/locales/nl.js on lines 1..25
          docs/graph/locales/pl.js on lines 1..25
          docs/graph/locales/ro.js on lines 1..25
          docs/graph/locales/ru.js on lines 1..25
          docs/graph/locales/tr.js on lines 1..25
          docs/graph/locales/zh.js on lines 1..25

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

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

          define({
              ru: {
                  'Allowed values:'             : 'Допустимые значения:',
                  'Compare all with predecessor': 'Сравнить с предыдущей версией',
                  'compare changes to:'         : 'сравнить с:',
          Severity: Major
          Found in docs/graph/locales/ru.js and 11 other locations - About 3 hrs to fix
          docs/graph/locales/ca.js on lines 1..25
          docs/graph/locales/de.js on lines 1..25
          docs/graph/locales/es.js on lines 1..25
          docs/graph/locales/fr.js on lines 1..25
          docs/graph/locales/it.js on lines 1..25
          docs/graph/locales/nl.js on lines 1..25
          docs/graph/locales/pl.js on lines 1..25
          docs/graph/locales/ro.js on lines 1..25
          docs/graph/locales/tr.js on lines 1..25
          docs/graph/locales/vi.js on lines 1..25
          docs/graph/locales/zh.js on lines 1..25

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

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

          define({
              es: {
                  'Allowed values:'             : 'Valores permitidos:',
                  'Compare all with predecessor': 'Comparar todo con versión anterior',
                  'compare changes to:'         : 'comparar cambios con:',
          Severity: Major
          Found in docs/graph/locales/es.js and 11 other locations - About 3 hrs to fix
          docs/graph/locales/ca.js on lines 1..25
          docs/graph/locales/de.js on lines 1..25
          docs/graph/locales/fr.js on lines 1..25
          docs/graph/locales/it.js on lines 1..25
          docs/graph/locales/nl.js on lines 1..25
          docs/graph/locales/pl.js on lines 1..25
          docs/graph/locales/ro.js on lines 1..25
          docs/graph/locales/ru.js on lines 1..25
          docs/graph/locales/tr.js on lines 1..25
          docs/graph/locales/vi.js on lines 1..25
          docs/graph/locales/zh.js on lines 1..25

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

          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