datacite/bracco

View on GitHub

Showing 847 of 896 total issues

Avoid too many return statements within this function.
Open

        return message;
Severity: Major
Found in app/validators/name-identifier.js - About 30 mins to fix

    Avoid too many return statements within this function.
    Open

        return `${+(counter / 1e12).toFixed(1)}T`;
    Severity: Major
    Found in app/helpers/format-numbers.js - About 30 mins to fix

      Avoid too many return statements within this function.
      Open

              return message;
      Severity: Major
      Found in app/validators/uuid-format.js - About 30 mins to fix

        Avoid too many return statements within this function.
        Open

              return true;
        Severity: Major
        Found in app/validators/name-identifier.js - About 30 mins to fix

          Avoid too many return statements within this function.
          Open

              return json;
          Severity: Major
          Found in app/serializers/related-item.js - About 30 mins to fix

            Avoid too many return statements within this function.
            Open

                  return true;
            Severity: Major
            Found in app/validators/name-identifier.js - About 30 mins to fix

              Avoid too many return statements within this function.
              Open

                    return this.store
                      .findRecord('ror', id)
                      .then(function () {
                        return true;
                      })
              Severity: Major
              Found in app/validators/name-identifier.js - About 30 mins to fix

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

                    {
                      reference: './CDDL-1.1.html',
                      isDeprecatedLicenseId: false,
                      detailsUrl: 'http://spdx.org/licenses/CDDL-1.1.json',
                      referenceNumber: '273',
                Severity: Major
                Found in app/spdx.js and 29 other locations - About 30 mins to fix
                app/spdx.js on lines 552..564
                app/spdx.js on lines 644..656
                app/spdx.js on lines 1372..1384
                app/spdx.js on lines 1441..1453
                app/spdx.js on lines 1567..1579
                app/spdx.js on lines 2441..2453
                app/spdx.js on lines 2474..2486
                app/spdx.js on lines 2487..2499
                app/spdx.js on lines 2500..2512
                app/spdx.js on lines 2560..2572
                app/spdx.js on lines 2615..2627
                app/spdx.js on lines 2656..2668
                app/spdx.js on lines 2739..2751
                app/spdx.js on lines 2772..2784
                app/spdx.js on lines 2998..3010
                app/spdx.js on lines 3083..3095
                app/spdx.js on lines 3096..3108
                app/spdx.js on lines 3155..3167
                app/spdx.js on lines 3370..3382
                app/spdx.js on lines 3383..3395
                app/spdx.js on lines 3480..3492
                app/spdx.js on lines 3536..3548
                app/spdx.js on lines 3638..3650
                app/spdx.js on lines 3869..3881
                app/spdx.js on lines 3882..3894
                app/spdx.js on lines 3983..3995
                app/spdx.js on lines 4392..4404
                app/spdx.js on lines 4490..4502
                app/spdx.js on lines 4503..4515

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

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

                    {
                      reference: './LiLiQ-Rplus-1.1.html',
                      isDeprecatedLicenseId: false,
                      detailsUrl: 'http://spdx.org/licenses/LiLiQ-Rplus-1.1.json',
                      referenceNumber: '335',
                Severity: Major
                Found in app/spdx.js and 29 other locations - About 30 mins to fix
                app/spdx.js on lines 552..564
                app/spdx.js on lines 644..656
                app/spdx.js on lines 1044..1056
                app/spdx.js on lines 1372..1384
                app/spdx.js on lines 1441..1453
                app/spdx.js on lines 1567..1579
                app/spdx.js on lines 2441..2453
                app/spdx.js on lines 2474..2486
                app/spdx.js on lines 2487..2499
                app/spdx.js on lines 2560..2572
                app/spdx.js on lines 2615..2627
                app/spdx.js on lines 2656..2668
                app/spdx.js on lines 2739..2751
                app/spdx.js on lines 2772..2784
                app/spdx.js on lines 2998..3010
                app/spdx.js on lines 3083..3095
                app/spdx.js on lines 3096..3108
                app/spdx.js on lines 3155..3167
                app/spdx.js on lines 3370..3382
                app/spdx.js on lines 3383..3395
                app/spdx.js on lines 3480..3492
                app/spdx.js on lines 3536..3548
                app/spdx.js on lines 3638..3650
                app/spdx.js on lines 3869..3881
                app/spdx.js on lines 3882..3894
                app/spdx.js on lines 3983..3995
                app/spdx.js on lines 4392..4404
                app/spdx.js on lines 4490..4502
                app/spdx.js on lines 4503..4515

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

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

                    {
                      reference: './MulanPSL-1.0.html',
                      isDeprecatedLicenseId: false,
                      detailsUrl: 'http://spdx.org/licenses/MulanPSL-1.0.json',
                      referenceNumber: '201',
                Severity: Major
                Found in app/spdx.js and 29 other locations - About 30 mins to fix
                app/spdx.js on lines 552..564
                app/spdx.js on lines 644..656
                app/spdx.js on lines 1044..1056
                app/spdx.js on lines 1372..1384
                app/spdx.js on lines 1441..1453
                app/spdx.js on lines 1567..1579
                app/spdx.js on lines 2441..2453
                app/spdx.js on lines 2474..2486
                app/spdx.js on lines 2487..2499
                app/spdx.js on lines 2500..2512
                app/spdx.js on lines 2560..2572
                app/spdx.js on lines 2615..2627
                app/spdx.js on lines 2656..2668
                app/spdx.js on lines 2772..2784
                app/spdx.js on lines 2998..3010
                app/spdx.js on lines 3083..3095
                app/spdx.js on lines 3096..3108
                app/spdx.js on lines 3155..3167
                app/spdx.js on lines 3370..3382
                app/spdx.js on lines 3383..3395
                app/spdx.js on lines 3480..3492
                app/spdx.js on lines 3536..3548
                app/spdx.js on lines 3638..3650
                app/spdx.js on lines 3869..3881
                app/spdx.js on lines 3882..3894
                app/spdx.js on lines 3983..3995
                app/spdx.js on lines 4392..4404
                app/spdx.js on lines 4490..4502
                app/spdx.js on lines 4503..4515

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

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

                    {
                      reference: './OCLC-2.0.html',
                      isDeprecatedLicenseId: false,
                      detailsUrl: 'http://spdx.org/licenses/OCLC-2.0.json',
                      referenceNumber: '341',
                Severity: Major
                Found in app/spdx.js and 29 other locations - About 30 mins to fix
                app/spdx.js on lines 552..564
                app/spdx.js on lines 644..656
                app/spdx.js on lines 1044..1056
                app/spdx.js on lines 1372..1384
                app/spdx.js on lines 1441..1453
                app/spdx.js on lines 1567..1579
                app/spdx.js on lines 2441..2453
                app/spdx.js on lines 2474..2486
                app/spdx.js on lines 2487..2499
                app/spdx.js on lines 2500..2512
                app/spdx.js on lines 2560..2572
                app/spdx.js on lines 2615..2627
                app/spdx.js on lines 2656..2668
                app/spdx.js on lines 2739..2751
                app/spdx.js on lines 2772..2784
                app/spdx.js on lines 3083..3095
                app/spdx.js on lines 3096..3108
                app/spdx.js on lines 3155..3167
                app/spdx.js on lines 3370..3382
                app/spdx.js on lines 3383..3395
                app/spdx.js on lines 3480..3492
                app/spdx.js on lines 3536..3548
                app/spdx.js on lines 3638..3650
                app/spdx.js on lines 3869..3881
                app/spdx.js on lines 3882..3894
                app/spdx.js on lines 3983..3995
                app/spdx.js on lines 4392..4404
                app/spdx.js on lines 4490..4502
                app/spdx.js on lines 4503..4515

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

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

                    {
                      reference: './MIT-CMU.html',
                      isDeprecatedLicenseId: false,
                      detailsUrl: 'http://spdx.org/licenses/MIT-CMU.json',
                      referenceNumber: '344',
                Severity: Major
                Found in app/spdx.js and 29 other locations - About 30 mins to fix
                app/spdx.js on lines 552..564
                app/spdx.js on lines 644..656
                app/spdx.js on lines 1044..1056
                app/spdx.js on lines 1372..1384
                app/spdx.js on lines 1441..1453
                app/spdx.js on lines 1567..1579
                app/spdx.js on lines 2441..2453
                app/spdx.js on lines 2474..2486
                app/spdx.js on lines 2487..2499
                app/spdx.js on lines 2500..2512
                app/spdx.js on lines 2615..2627
                app/spdx.js on lines 2656..2668
                app/spdx.js on lines 2739..2751
                app/spdx.js on lines 2772..2784
                app/spdx.js on lines 2998..3010
                app/spdx.js on lines 3083..3095
                app/spdx.js on lines 3096..3108
                app/spdx.js on lines 3155..3167
                app/spdx.js on lines 3370..3382
                app/spdx.js on lines 3383..3395
                app/spdx.js on lines 3480..3492
                app/spdx.js on lines 3536..3548
                app/spdx.js on lines 3638..3650
                app/spdx.js on lines 3869..3881
                app/spdx.js on lines 3882..3894
                app/spdx.js on lines 3983..3995
                app/spdx.js on lines 4392..4404
                app/spdx.js on lines 4490..4502
                app/spdx.js on lines 4503..4515

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

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

                    {
                      reference: './MPL-1.0.html',
                      isDeprecatedLicenseId: false,
                      detailsUrl: 'http://spdx.org/licenses/MPL-1.0.json',
                      referenceNumber: '239',
                Severity: Major
                Found in app/spdx.js and 29 other locations - About 30 mins to fix
                app/spdx.js on lines 552..564
                app/spdx.js on lines 644..656
                app/spdx.js on lines 1044..1056
                app/spdx.js on lines 1372..1384
                app/spdx.js on lines 1441..1453
                app/spdx.js on lines 1567..1579
                app/spdx.js on lines 2441..2453
                app/spdx.js on lines 2474..2486
                app/spdx.js on lines 2487..2499
                app/spdx.js on lines 2500..2512
                app/spdx.js on lines 2560..2572
                app/spdx.js on lines 2656..2668
                app/spdx.js on lines 2739..2751
                app/spdx.js on lines 2772..2784
                app/spdx.js on lines 2998..3010
                app/spdx.js on lines 3083..3095
                app/spdx.js on lines 3096..3108
                app/spdx.js on lines 3155..3167
                app/spdx.js on lines 3370..3382
                app/spdx.js on lines 3383..3395
                app/spdx.js on lines 3480..3492
                app/spdx.js on lines 3536..3548
                app/spdx.js on lines 3638..3650
                app/spdx.js on lines 3869..3881
                app/spdx.js on lines 3882..3894
                app/spdx.js on lines 3983..3995
                app/spdx.js on lines 4392..4404
                app/spdx.js on lines 4490..4502
                app/spdx.js on lines 4503..4515

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

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

                    {
                      reference: './BSD-3-Clause-Open-MPI.html',
                      isDeprecatedLicenseId: false,
                      detailsUrl: 'http://spdx.org/licenses/BSD-3-Clause-Open-MPI.json',
                      referenceNumber: '207',
                Severity: Major
                Found in app/spdx.js and 29 other locations - About 30 mins to fix
                app/spdx.js on lines 644..656
                app/spdx.js on lines 1044..1056
                app/spdx.js on lines 1372..1384
                app/spdx.js on lines 1441..1453
                app/spdx.js on lines 1567..1579
                app/spdx.js on lines 2441..2453
                app/spdx.js on lines 2474..2486
                app/spdx.js on lines 2487..2499
                app/spdx.js on lines 2500..2512
                app/spdx.js on lines 2560..2572
                app/spdx.js on lines 2615..2627
                app/spdx.js on lines 2656..2668
                app/spdx.js on lines 2739..2751
                app/spdx.js on lines 2772..2784
                app/spdx.js on lines 2998..3010
                app/spdx.js on lines 3083..3095
                app/spdx.js on lines 3096..3108
                app/spdx.js on lines 3155..3167
                app/spdx.js on lines 3370..3382
                app/spdx.js on lines 3383..3395
                app/spdx.js on lines 3480..3492
                app/spdx.js on lines 3536..3548
                app/spdx.js on lines 3638..3650
                app/spdx.js on lines 3869..3881
                app/spdx.js on lines 3882..3894
                app/spdx.js on lines 3983..3995
                app/spdx.js on lines 4392..4404
                app/spdx.js on lines 4490..4502
                app/spdx.js on lines 4503..4515

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

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

                    {
                      reference: './MPL-2.0-no-copyleft-exception.html',
                      isDeprecatedLicenseId: false,
                      detailsUrl: 'http://spdx.org/licenses/MPL-2.0-no-copyleft-exception.json',
                      referenceNumber: '183',
                Severity: Major
                Found in app/spdx.js and 29 other locations - About 30 mins to fix
                app/spdx.js on lines 552..564
                app/spdx.js on lines 644..656
                app/spdx.js on lines 1044..1056
                app/spdx.js on lines 1372..1384
                app/spdx.js on lines 1441..1453
                app/spdx.js on lines 1567..1579
                app/spdx.js on lines 2441..2453
                app/spdx.js on lines 2474..2486
                app/spdx.js on lines 2487..2499
                app/spdx.js on lines 2500..2512
                app/spdx.js on lines 2560..2572
                app/spdx.js on lines 2615..2627
                app/spdx.js on lines 2739..2751
                app/spdx.js on lines 2772..2784
                app/spdx.js on lines 2998..3010
                app/spdx.js on lines 3083..3095
                app/spdx.js on lines 3096..3108
                app/spdx.js on lines 3155..3167
                app/spdx.js on lines 3370..3382
                app/spdx.js on lines 3383..3395
                app/spdx.js on lines 3480..3492
                app/spdx.js on lines 3536..3548
                app/spdx.js on lines 3638..3650
                app/spdx.js on lines 3869..3881
                app/spdx.js on lines 3882..3894
                app/spdx.js on lines 3983..3995
                app/spdx.js on lines 4392..4404
                app/spdx.js on lines 4490..4502
                app/spdx.js on lines 4503..4515

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

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

                    {
                      reference: './EUPL-1.0.html',
                      isDeprecatedLicenseId: false,
                      detailsUrl: 'http://spdx.org/licenses/EUPL-1.0.json',
                      referenceNumber: '94',
                Severity: Major
                Found in app/spdx.js and 29 other locations - About 30 mins to fix
                app/spdx.js on lines 552..564
                app/spdx.js on lines 644..656
                app/spdx.js on lines 1044..1056
                app/spdx.js on lines 1372..1384
                app/spdx.js on lines 1567..1579
                app/spdx.js on lines 2441..2453
                app/spdx.js on lines 2474..2486
                app/spdx.js on lines 2487..2499
                app/spdx.js on lines 2500..2512
                app/spdx.js on lines 2560..2572
                app/spdx.js on lines 2615..2627
                app/spdx.js on lines 2656..2668
                app/spdx.js on lines 2739..2751
                app/spdx.js on lines 2772..2784
                app/spdx.js on lines 2998..3010
                app/spdx.js on lines 3083..3095
                app/spdx.js on lines 3096..3108
                app/spdx.js on lines 3155..3167
                app/spdx.js on lines 3370..3382
                app/spdx.js on lines 3383..3395
                app/spdx.js on lines 3480..3492
                app/spdx.js on lines 3536..3548
                app/spdx.js on lines 3638..3650
                app/spdx.js on lines 3869..3881
                app/spdx.js on lines 3882..3894
                app/spdx.js on lines 3983..3995
                app/spdx.js on lines 4392..4404
                app/spdx.js on lines 4490..4502
                app/spdx.js on lines 4503..4515

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

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

                    {
                      reference: './OFL-1.1-no-RFN.html',
                      isDeprecatedLicenseId: false,
                      detailsUrl: 'http://spdx.org/licenses/OFL-1.1-no-RFN.json',
                      referenceNumber: '238',
                Severity: Major
                Found in app/spdx.js and 29 other locations - About 30 mins to fix
                app/spdx.js on lines 552..564
                app/spdx.js on lines 644..656
                app/spdx.js on lines 1044..1056
                app/spdx.js on lines 1372..1384
                app/spdx.js on lines 1441..1453
                app/spdx.js on lines 1567..1579
                app/spdx.js on lines 2441..2453
                app/spdx.js on lines 2474..2486
                app/spdx.js on lines 2487..2499
                app/spdx.js on lines 2500..2512
                app/spdx.js on lines 2560..2572
                app/spdx.js on lines 2615..2627
                app/spdx.js on lines 2656..2668
                app/spdx.js on lines 2739..2751
                app/spdx.js on lines 2772..2784
                app/spdx.js on lines 2998..3010
                app/spdx.js on lines 3083..3095
                app/spdx.js on lines 3155..3167
                app/spdx.js on lines 3370..3382
                app/spdx.js on lines 3383..3395
                app/spdx.js on lines 3480..3492
                app/spdx.js on lines 3536..3548
                app/spdx.js on lines 3638..3650
                app/spdx.js on lines 3869..3881
                app/spdx.js on lines 3882..3894
                app/spdx.js on lines 3983..3995
                app/spdx.js on lines 4392..4404
                app/spdx.js on lines 4490..4502
                app/spdx.js on lines 4503..4515

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

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

                    {
                      reference: './Beerware.html',
                      isDeprecatedLicenseId: false,
                      detailsUrl: 'http://spdx.org/licenses/Beerware.json',
                      referenceNumber: '243',
                Severity: Major
                Found in app/spdx.js and 29 other locations - About 30 mins to fix
                app/spdx.js on lines 552..564
                app/spdx.js on lines 1044..1056
                app/spdx.js on lines 1372..1384
                app/spdx.js on lines 1441..1453
                app/spdx.js on lines 1567..1579
                app/spdx.js on lines 2441..2453
                app/spdx.js on lines 2474..2486
                app/spdx.js on lines 2487..2499
                app/spdx.js on lines 2500..2512
                app/spdx.js on lines 2560..2572
                app/spdx.js on lines 2615..2627
                app/spdx.js on lines 2656..2668
                app/spdx.js on lines 2739..2751
                app/spdx.js on lines 2772..2784
                app/spdx.js on lines 2998..3010
                app/spdx.js on lines 3083..3095
                app/spdx.js on lines 3096..3108
                app/spdx.js on lines 3155..3167
                app/spdx.js on lines 3370..3382
                app/spdx.js on lines 3383..3395
                app/spdx.js on lines 3480..3492
                app/spdx.js on lines 3536..3548
                app/spdx.js on lines 3638..3650
                app/spdx.js on lines 3869..3881
                app/spdx.js on lines 3882..3894
                app/spdx.js on lines 3983..3995
                app/spdx.js on lines 4392..4404
                app/spdx.js on lines 4490..4502
                app/spdx.js on lines 4503..4515

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

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

                    {
                      reference: './LiLiQ-P-1.1.html',
                      isDeprecatedLicenseId: false,
                      detailsUrl: 'http://spdx.org/licenses/LiLiQ-P-1.1.json',
                      referenceNumber: '79',
                Severity: Major
                Found in app/spdx.js and 29 other locations - About 30 mins to fix
                app/spdx.js on lines 552..564
                app/spdx.js on lines 644..656
                app/spdx.js on lines 1044..1056
                app/spdx.js on lines 1372..1384
                app/spdx.js on lines 1441..1453
                app/spdx.js on lines 1567..1579
                app/spdx.js on lines 2441..2453
                app/spdx.js on lines 2487..2499
                app/spdx.js on lines 2500..2512
                app/spdx.js on lines 2560..2572
                app/spdx.js on lines 2615..2627
                app/spdx.js on lines 2656..2668
                app/spdx.js on lines 2739..2751
                app/spdx.js on lines 2772..2784
                app/spdx.js on lines 2998..3010
                app/spdx.js on lines 3083..3095
                app/spdx.js on lines 3096..3108
                app/spdx.js on lines 3155..3167
                app/spdx.js on lines 3370..3382
                app/spdx.js on lines 3383..3395
                app/spdx.js on lines 3480..3492
                app/spdx.js on lines 3536..3548
                app/spdx.js on lines 3638..3650
                app/spdx.js on lines 3869..3881
                app/spdx.js on lines 3882..3894
                app/spdx.js on lines 3983..3995
                app/spdx.js on lines 4392..4404
                app/spdx.js on lines 4490..4502
                app/spdx.js on lines 4503..4515

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

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

                    {
                      reference: './OFL-1.1-RFN.html',
                      isDeprecatedLicenseId: false,
                      detailsUrl: 'http://spdx.org/licenses/OFL-1.1-RFN.json',
                      referenceNumber: '43',
                Severity: Major
                Found in app/spdx.js and 29 other locations - About 30 mins to fix
                app/spdx.js on lines 552..564
                app/spdx.js on lines 644..656
                app/spdx.js on lines 1044..1056
                app/spdx.js on lines 1372..1384
                app/spdx.js on lines 1441..1453
                app/spdx.js on lines 1567..1579
                app/spdx.js on lines 2441..2453
                app/spdx.js on lines 2474..2486
                app/spdx.js on lines 2487..2499
                app/spdx.js on lines 2500..2512
                app/spdx.js on lines 2560..2572
                app/spdx.js on lines 2615..2627
                app/spdx.js on lines 2656..2668
                app/spdx.js on lines 2739..2751
                app/spdx.js on lines 2772..2784
                app/spdx.js on lines 2998..3010
                app/spdx.js on lines 3096..3108
                app/spdx.js on lines 3155..3167
                app/spdx.js on lines 3370..3382
                app/spdx.js on lines 3383..3395
                app/spdx.js on lines 3480..3492
                app/spdx.js on lines 3536..3548
                app/spdx.js on lines 3638..3650
                app/spdx.js on lines 3869..3881
                app/spdx.js on lines 3882..3894
                app/spdx.js on lines 3983..3995
                app/spdx.js on lines 4392..4404
                app/spdx.js on lines 4490..4502
                app/spdx.js on lines 4503..4515

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

                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