Katello/katello

View on GitHub

Showing 2,650 of 2,650 total issues

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

 locales['katello'] = locales['katello'] || {}; locales['katello']['zh'] = {
  "domain": "katello",
  "locale_data": {
    "katello": {
      "": {
Severity: Major
Found in app/assets/javascripts/katello/locale/zh/katello.js and 10 other locations - About 4 mos to fix
app/assets/javascripts/katello/locale/de_AT/katello.js on lines 1..9014
app/assets/javascripts/katello/locale/en_US/katello.js on lines 1..9014
app/assets/javascripts/katello/locale/et_EE/katello.js on lines 1..9014
app/assets/javascripts/katello/locale/id/katello.js on lines 1..9014
app/assets/javascripts/katello/locale/ml_IN/katello.js on lines 1..9014
app/assets/javascripts/katello/locale/pl_PL/katello.js on lines 1..9014
app/assets/javascripts/katello/locale/ro/katello.js on lines 1..9014
app/assets/javascripts/katello/locale/ro_RO/katello.js on lines 1..9014
app/assets/javascripts/katello/locale/vi/katello.js on lines 1..9014
app/assets/javascripts/katello/locale/vi_VN/katello.js on lines 1..9014

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

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

 locales['katello'] = locales['katello'] || {}; locales['katello']['et_EE'] = {
  "domain": "katello",
  "locale_data": {
    "katello": {
      "": {
Severity: Major
Found in app/assets/javascripts/katello/locale/et_EE/katello.js and 10 other locations - About 4 mos to fix
app/assets/javascripts/katello/locale/de_AT/katello.js on lines 1..9014
app/assets/javascripts/katello/locale/en_US/katello.js on lines 1..9014
app/assets/javascripts/katello/locale/id/katello.js on lines 1..9014
app/assets/javascripts/katello/locale/ml_IN/katello.js on lines 1..9014
app/assets/javascripts/katello/locale/pl_PL/katello.js on lines 1..9014
app/assets/javascripts/katello/locale/ro/katello.js on lines 1..9014
app/assets/javascripts/katello/locale/ro_RO/katello.js on lines 1..9014
app/assets/javascripts/katello/locale/vi/katello.js on lines 1..9014
app/assets/javascripts/katello/locale/vi_VN/katello.js on lines 1..9014
app/assets/javascripts/katello/locale/zh/katello.js on lines 1..9014

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

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

 locales['katello'] = locales['katello'] || {}; locales['katello']['ro'] = {
  "domain": "katello",
  "locale_data": {
    "katello": {
      "": {
Severity: Major
Found in app/assets/javascripts/katello/locale/ro/katello.js and 10 other locations - About 4 mos to fix
app/assets/javascripts/katello/locale/de_AT/katello.js on lines 1..9014
app/assets/javascripts/katello/locale/en_US/katello.js on lines 1..9014
app/assets/javascripts/katello/locale/et_EE/katello.js on lines 1..9014
app/assets/javascripts/katello/locale/id/katello.js on lines 1..9014
app/assets/javascripts/katello/locale/ml_IN/katello.js on lines 1..9014
app/assets/javascripts/katello/locale/pl_PL/katello.js on lines 1..9014
app/assets/javascripts/katello/locale/ro_RO/katello.js on lines 1..9014
app/assets/javascripts/katello/locale/vi/katello.js on lines 1..9014
app/assets/javascripts/katello/locale/vi_VN/katello.js on lines 1..9014
app/assets/javascripts/katello/locale/zh/katello.js on lines 1..9014

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

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

 locales['katello'] = locales['katello'] || {}; locales['katello']['vi_VN'] = {
  "domain": "katello",
  "locale_data": {
    "katello": {
      "": {
Severity: Major
Found in app/assets/javascripts/katello/locale/vi_VN/katello.js and 10 other locations - About 4 mos to fix
app/assets/javascripts/katello/locale/de_AT/katello.js on lines 1..9014
app/assets/javascripts/katello/locale/en_US/katello.js on lines 1..9014
app/assets/javascripts/katello/locale/et_EE/katello.js on lines 1..9014
app/assets/javascripts/katello/locale/id/katello.js on lines 1..9014
app/assets/javascripts/katello/locale/ml_IN/katello.js on lines 1..9014
app/assets/javascripts/katello/locale/pl_PL/katello.js on lines 1..9014
app/assets/javascripts/katello/locale/ro/katello.js on lines 1..9014
app/assets/javascripts/katello/locale/ro_RO/katello.js on lines 1..9014
app/assets/javascripts/katello/locale/vi/katello.js on lines 1..9014
app/assets/javascripts/katello/locale/zh/katello.js on lines 1..9014

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

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

 locales['katello'] = locales['katello'] || {}; locales['katello']['en_US'] = {
  "domain": "katello",
  "locale_data": {
    "katello": {
      "": {
Severity: Major
Found in app/assets/javascripts/katello/locale/en_US/katello.js and 10 other locations - About 4 mos to fix
app/assets/javascripts/katello/locale/de_AT/katello.js on lines 1..9014
app/assets/javascripts/katello/locale/et_EE/katello.js on lines 1..9014
app/assets/javascripts/katello/locale/id/katello.js on lines 1..9014
app/assets/javascripts/katello/locale/ml_IN/katello.js on lines 1..9014
app/assets/javascripts/katello/locale/pl_PL/katello.js on lines 1..9014
app/assets/javascripts/katello/locale/ro/katello.js on lines 1..9014
app/assets/javascripts/katello/locale/ro_RO/katello.js on lines 1..9014
app/assets/javascripts/katello/locale/vi/katello.js on lines 1..9014
app/assets/javascripts/katello/locale/vi_VN/katello.js on lines 1..9014
app/assets/javascripts/katello/locale/zh/katello.js on lines 1..9014

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

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

 locales['katello'] = locales['katello'] || {}; locales['katello']['pl_PL'] = {
  "domain": "katello",
  "locale_data": {
    "katello": {
      "": {
Severity: Major
Found in app/assets/javascripts/katello/locale/pl_PL/katello.js and 10 other locations - About 4 mos to fix
app/assets/javascripts/katello/locale/de_AT/katello.js on lines 1..9014
app/assets/javascripts/katello/locale/en_US/katello.js on lines 1..9014
app/assets/javascripts/katello/locale/et_EE/katello.js on lines 1..9014
app/assets/javascripts/katello/locale/id/katello.js on lines 1..9014
app/assets/javascripts/katello/locale/ml_IN/katello.js on lines 1..9014
app/assets/javascripts/katello/locale/ro/katello.js on lines 1..9014
app/assets/javascripts/katello/locale/ro_RO/katello.js on lines 1..9014
app/assets/javascripts/katello/locale/vi/katello.js on lines 1..9014
app/assets/javascripts/katello/locale/vi_VN/katello.js on lines 1..9014
app/assets/javascripts/katello/locale/zh/katello.js on lines 1..9014

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

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

File katello.js has 9017 lines of code (exceeds 250 allowed). Consider refactoring.
Open

 locales['katello'] = locales['katello'] || {}; locales['katello']['es'] = {
  "domain": "katello",
  "locale_data": {
    "katello": {
      "": {
Severity: Major
Found in app/assets/javascripts/katello/locale/es/katello.js - About 3 wks to fix

    File katello.js has 9017 lines of code (exceeds 250 allowed). Consider refactoring.
    Open

     locales['katello'] = locales['katello'] || {}; locales['katello']['cs_CZ'] = {
      "domain": "katello",
      "locale_data": {
        "katello": {
          "": {
    Severity: Major
    Found in app/assets/javascripts/katello/locale/cs_CZ/katello.js - About 3 wks to fix

      File katello.js has 9017 lines of code (exceeds 250 allowed). Consider refactoring.
      Open

       locales['katello'] = locales['katello'] || {}; locales['katello']['fr'] = {
        "domain": "katello",
        "locale_data": {
          "katello": {
            "": {
      Severity: Major
      Found in app/assets/javascripts/katello/locale/fr/katello.js - About 3 wks to fix

        File katello.js has 9017 lines of code (exceeds 250 allowed). Consider refactoring.
        Open

         locales['katello'] = locales['katello'] || {}; locales['katello']['pt_BR'] = {
          "domain": "katello",
          "locale_data": {
            "katello": {
              "": {
        Severity: Major
        Found in app/assets/javascripts/katello/locale/pt_BR/katello.js - About 3 wks to fix

          File katello.js has 9016 lines of code (exceeds 250 allowed). Consider refactoring.
          Open

           locales['katello'] = locales['katello'] || {}; locales['katello']['it'] = {
            "domain": "katello",
            "locale_data": {
              "katello": {
                "": {
          Severity: Major
          Found in app/assets/javascripts/katello/locale/it/katello.js - About 3 wks to fix

            File katello.js has 9015 lines of code (exceeds 250 allowed). Consider refactoring.
            Open

             locales['katello'] = locales['katello'] || {}; locales['katello']['kn'] = {
              "domain": "katello",
              "locale_data": {
                "katello": {
                  "": {
            Severity: Major
            Found in app/assets/javascripts/katello/locale/kn/katello.js - About 3 wks to fix

              File katello.js has 9015 lines of code (exceeds 250 allowed). Consider refactoring.
              Open

               locales['katello'] = locales['katello'] || {}; locales['katello']['ru'] = {
                "domain": "katello",
                "locale_data": {
                  "katello": {
                    "": {
              Severity: Major
              Found in app/assets/javascripts/katello/locale/ru/katello.js - About 3 wks to fix

                File katello.js has 9015 lines of code (exceeds 250 allowed). Consider refactoring.
                Open

                 locales['katello'] = locales['katello'] || {}; locales['katello']['de'] = {
                  "domain": "katello",
                  "locale_data": {
                    "katello": {
                      "": {
                Severity: Major
                Found in app/assets/javascripts/katello/locale/de/katello.js - About 3 wks to fix

                  File katello.js has 9015 lines of code (exceeds 250 allowed). Consider refactoring.
                  Open

                   locales['katello'] = locales['katello'] || {}; locales['katello']['de_DE'] = {
                    "domain": "katello",
                    "locale_data": {
                      "katello": {
                        "": {
                  Severity: Major
                  Found in app/assets/javascripts/katello/locale/de_DE/katello.js - About 3 wks to fix

                    File katello.js has 9015 lines of code (exceeds 250 allowed). Consider refactoring.
                    Open

                     locales['katello'] = locales['katello'] || {}; locales['katello']['sv_SE'] = {
                      "domain": "katello",
                      "locale_data": {
                        "katello": {
                          "": {
                    Severity: Major
                    Found in app/assets/javascripts/katello/locale/sv_SE/katello.js - About 3 wks to fix

                      File katello.js has 9015 lines of code (exceeds 250 allowed). Consider refactoring.
                      Open

                       locales['katello'] = locales['katello'] || {}; locales['katello']['cs'] = {
                        "domain": "katello",
                        "locale_data": {
                          "katello": {
                            "": {
                      Severity: Major
                      Found in app/assets/javascripts/katello/locale/cs/katello.js - About 3 wks to fix

                        File katello.js has 9015 lines of code (exceeds 250 allowed). Consider refactoring.
                        Open

                         locales['katello'] = locales['katello'] || {}; locales['katello']['hi'] = {
                          "domain": "katello",
                          "locale_data": {
                            "katello": {
                              "": {
                        Severity: Major
                        Found in app/assets/javascripts/katello/locale/hi/katello.js - About 3 wks to fix

                          File katello.js has 9015 lines of code (exceeds 250 allowed). Consider refactoring.
                          Open

                           locales['katello'] = locales['katello'] || {}; locales['katello']['el'] = {
                            "domain": "katello",
                            "locale_data": {
                              "katello": {
                                "": {
                          Severity: Major
                          Found in app/assets/javascripts/katello/locale/el/katello.js - About 3 wks to fix

                            File katello.js has 9015 lines of code (exceeds 250 allowed). Consider refactoring.
                            Open

                             locales['katello'] = locales['katello'] || {}; locales['katello']['he_IL'] = {
                              "domain": "katello",
                              "locale_data": {
                                "katello": {
                                  "": {
                            Severity: Major
                            Found in app/assets/javascripts/katello/locale/he_IL/katello.js - About 3 wks to fix
                              Severity
                              Category
                              Status
                              Source
                              Language