datacite/bracco

View on GitHub
app/spdx.js

Summary

Maintainability
F
3 wks
Test Coverage

File spdx.js has 4654 lines of code (exceeds 250 allowed). Consider refactoring.
Open

export default {
  licenses: [
    {
      reference: './0BSD.html',
      isDeprecatedLicenseId: false,
Severity: Major
Found in app/spdx.js - About 1 wk to fix

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

        {
          reference: './GPL-2.0+.html',
          isDeprecatedLicenseId: true,
          isFsfLibre: true,
          detailsUrl: 'http://spdx.org/licenses/GPL-2.0+.json',
    Severity: Major
    Found in app/spdx.js and 49 other locations - About 45 mins to fix
    app/spdx.js on lines 35..48
    app/spdx.js on lines 49..62
    app/spdx.js on lines 87..100
    app/spdx.js on lines 132..145
    app/spdx.js on lines 146..159
    app/spdx.js on lines 160..173
    app/spdx.js on lines 344..357
    app/spdx.js on lines 358..371
    app/spdx.js on lines 402..415
    app/spdx.js on lines 610..623
    app/spdx.js on lines 1242..1255
    app/spdx.js on lines 1256..1269
    app/spdx.js on lines 1385..1398
    app/spdx.js on lines 1399..1412
    app/spdx.js on lines 1413..1426
    app/spdx.js on lines 1427..1440
    app/spdx.js on lines 1553..1566
    app/spdx.js on lines 1757..1770
    app/spdx.js on lines 1785..1798
    app/spdx.js on lines 1799..1812
    app/spdx.js on lines 1869..1882
    app/spdx.js on lines 1883..1896
    app/spdx.js on lines 1897..1910
    app/spdx.js on lines 1911..1924
    app/spdx.js on lines 2070..2083
    app/spdx.js on lines 2094..2107
    app/spdx.js on lines 2253..2266
    app/spdx.js on lines 2267..2280
    app/spdx.js on lines 2281..2294
    app/spdx.js on lines 2295..2308
    app/spdx.js on lines 2309..2322
    app/spdx.js on lines 2323..2336
    app/spdx.js on lines 2337..2350
    app/spdx.js on lines 2351..2364
    app/spdx.js on lines 2385..2398
    app/spdx.js on lines 2628..2641
    app/spdx.js on lines 2642..2655
    app/spdx.js on lines 2669..2682
    app/spdx.js on lines 2683..2696
    app/spdx.js on lines 2797..2810
    app/spdx.js on lines 3069..3082
    app/spdx.js on lines 3431..3444
    app/spdx.js on lines 3445..3458
    app/spdx.js on lines 3560..3573
    app/spdx.js on lines 3614..3627
    app/spdx.js on lines 3743..3756
    app/spdx.js on lines 4155..4168
    app/spdx.js on lines 4307..4320
    app/spdx.js on lines 4378..4391

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 50.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

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

        {
          reference: './LGPL-2.1.html',
          isDeprecatedLicenseId: true,
          isFsfLibre: true,
          detailsUrl: 'http://spdx.org/licenses/LGPL-2.1.json',
    Severity: Major
    Found in app/spdx.js and 49 other locations - About 45 mins to fix
    app/spdx.js on lines 35..48
    app/spdx.js on lines 49..62
    app/spdx.js on lines 87..100
    app/spdx.js on lines 132..145
    app/spdx.js on lines 146..159
    app/spdx.js on lines 160..173
    app/spdx.js on lines 344..357
    app/spdx.js on lines 358..371
    app/spdx.js on lines 402..415
    app/spdx.js on lines 610..623
    app/spdx.js on lines 1242..1255
    app/spdx.js on lines 1256..1269
    app/spdx.js on lines 1385..1398
    app/spdx.js on lines 1399..1412
    app/spdx.js on lines 1413..1426
    app/spdx.js on lines 1427..1440
    app/spdx.js on lines 1553..1566
    app/spdx.js on lines 1757..1770
    app/spdx.js on lines 1771..1784
    app/spdx.js on lines 1785..1798
    app/spdx.js on lines 1799..1812
    app/spdx.js on lines 1869..1882
    app/spdx.js on lines 1883..1896
    app/spdx.js on lines 1897..1910
    app/spdx.js on lines 1911..1924
    app/spdx.js on lines 2070..2083
    app/spdx.js on lines 2094..2107
    app/spdx.js on lines 2267..2280
    app/spdx.js on lines 2281..2294
    app/spdx.js on lines 2295..2308
    app/spdx.js on lines 2309..2322
    app/spdx.js on lines 2323..2336
    app/spdx.js on lines 2337..2350
    app/spdx.js on lines 2351..2364
    app/spdx.js on lines 2385..2398
    app/spdx.js on lines 2628..2641
    app/spdx.js on lines 2642..2655
    app/spdx.js on lines 2669..2682
    app/spdx.js on lines 2683..2696
    app/spdx.js on lines 2797..2810
    app/spdx.js on lines 3069..3082
    app/spdx.js on lines 3431..3444
    app/spdx.js on lines 3445..3458
    app/spdx.js on lines 3560..3573
    app/spdx.js on lines 3614..3627
    app/spdx.js on lines 3743..3756
    app/spdx.js on lines 4155..4168
    app/spdx.js on lines 4307..4320
    app/spdx.js on lines 4378..4391

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 50.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

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

        {
          reference: './LGPL-2.1-or-later.html',
          isDeprecatedLicenseId: false,
          isFsfLibre: true,
          detailsUrl: 'http://spdx.org/licenses/LGPL-2.1-or-later.json',
    Severity: Major
    Found in app/spdx.js and 49 other locations - About 45 mins to fix
    app/spdx.js on lines 35..48
    app/spdx.js on lines 49..62
    app/spdx.js on lines 87..100
    app/spdx.js on lines 132..145
    app/spdx.js on lines 146..159
    app/spdx.js on lines 160..173
    app/spdx.js on lines 344..357
    app/spdx.js on lines 358..371
    app/spdx.js on lines 402..415
    app/spdx.js on lines 610..623
    app/spdx.js on lines 1242..1255
    app/spdx.js on lines 1256..1269
    app/spdx.js on lines 1385..1398
    app/spdx.js on lines 1399..1412
    app/spdx.js on lines 1413..1426
    app/spdx.js on lines 1427..1440
    app/spdx.js on lines 1553..1566
    app/spdx.js on lines 1757..1770
    app/spdx.js on lines 1771..1784
    app/spdx.js on lines 1785..1798
    app/spdx.js on lines 1799..1812
    app/spdx.js on lines 1869..1882
    app/spdx.js on lines 1883..1896
    app/spdx.js on lines 1897..1910
    app/spdx.js on lines 1911..1924
    app/spdx.js on lines 2070..2083
    app/spdx.js on lines 2094..2107
    app/spdx.js on lines 2253..2266
    app/spdx.js on lines 2267..2280
    app/spdx.js on lines 2281..2294
    app/spdx.js on lines 2309..2322
    app/spdx.js on lines 2323..2336
    app/spdx.js on lines 2337..2350
    app/spdx.js on lines 2351..2364
    app/spdx.js on lines 2385..2398
    app/spdx.js on lines 2628..2641
    app/spdx.js on lines 2642..2655
    app/spdx.js on lines 2669..2682
    app/spdx.js on lines 2683..2696
    app/spdx.js on lines 2797..2810
    app/spdx.js on lines 3069..3082
    app/spdx.js on lines 3431..3444
    app/spdx.js on lines 3445..3458
    app/spdx.js on lines 3560..3573
    app/spdx.js on lines 3614..3627
    app/spdx.js on lines 3743..3756
    app/spdx.js on lines 4155..4168
    app/spdx.js on lines 4307..4320
    app/spdx.js on lines 4378..4391

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 50.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

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

        {
          reference: './AFL-1.2.html',
          isDeprecatedLicenseId: false,
          isFsfLibre: true,
          detailsUrl: 'http://spdx.org/licenses/AFL-1.2.json',
    Severity: Major
    Found in app/spdx.js and 49 other locations - About 45 mins to fix
    app/spdx.js on lines 35..48
    app/spdx.js on lines 87..100
    app/spdx.js on lines 132..145
    app/spdx.js on lines 146..159
    app/spdx.js on lines 160..173
    app/spdx.js on lines 344..357
    app/spdx.js on lines 358..371
    app/spdx.js on lines 402..415
    app/spdx.js on lines 610..623
    app/spdx.js on lines 1242..1255
    app/spdx.js on lines 1256..1269
    app/spdx.js on lines 1385..1398
    app/spdx.js on lines 1399..1412
    app/spdx.js on lines 1413..1426
    app/spdx.js on lines 1427..1440
    app/spdx.js on lines 1553..1566
    app/spdx.js on lines 1757..1770
    app/spdx.js on lines 1771..1784
    app/spdx.js on lines 1785..1798
    app/spdx.js on lines 1799..1812
    app/spdx.js on lines 1869..1882
    app/spdx.js on lines 1883..1896
    app/spdx.js on lines 1897..1910
    app/spdx.js on lines 1911..1924
    app/spdx.js on lines 2070..2083
    app/spdx.js on lines 2094..2107
    app/spdx.js on lines 2253..2266
    app/spdx.js on lines 2267..2280
    app/spdx.js on lines 2281..2294
    app/spdx.js on lines 2295..2308
    app/spdx.js on lines 2309..2322
    app/spdx.js on lines 2323..2336
    app/spdx.js on lines 2337..2350
    app/spdx.js on lines 2351..2364
    app/spdx.js on lines 2385..2398
    app/spdx.js on lines 2628..2641
    app/spdx.js on lines 2642..2655
    app/spdx.js on lines 2669..2682
    app/spdx.js on lines 2683..2696
    app/spdx.js on lines 2797..2810
    app/spdx.js on lines 3069..3082
    app/spdx.js on lines 3431..3444
    app/spdx.js on lines 3445..3458
    app/spdx.js on lines 3560..3573
    app/spdx.js on lines 3614..3627
    app/spdx.js on lines 3743..3756
    app/spdx.js on lines 4155..4168
    app/spdx.js on lines 4307..4320
    app/spdx.js on lines 4378..4391

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 50.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

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

        {
          reference: './EFL-2.0.html',
          isDeprecatedLicenseId: false,
          isFsfLibre: true,
          detailsUrl: 'http://spdx.org/licenses/EFL-2.0.json',
    Severity: Major
    Found in app/spdx.js and 49 other locations - About 45 mins to fix
    app/spdx.js on lines 35..48
    app/spdx.js on lines 49..62
    app/spdx.js on lines 87..100
    app/spdx.js on lines 132..145
    app/spdx.js on lines 146..159
    app/spdx.js on lines 160..173
    app/spdx.js on lines 344..357
    app/spdx.js on lines 358..371
    app/spdx.js on lines 402..415
    app/spdx.js on lines 610..623
    app/spdx.js on lines 1242..1255
    app/spdx.js on lines 1256..1269
    app/spdx.js on lines 1399..1412
    app/spdx.js on lines 1413..1426
    app/spdx.js on lines 1427..1440
    app/spdx.js on lines 1553..1566
    app/spdx.js on lines 1757..1770
    app/spdx.js on lines 1771..1784
    app/spdx.js on lines 1785..1798
    app/spdx.js on lines 1799..1812
    app/spdx.js on lines 1869..1882
    app/spdx.js on lines 1883..1896
    app/spdx.js on lines 1897..1910
    app/spdx.js on lines 1911..1924
    app/spdx.js on lines 2070..2083
    app/spdx.js on lines 2094..2107
    app/spdx.js on lines 2253..2266
    app/spdx.js on lines 2267..2280
    app/spdx.js on lines 2281..2294
    app/spdx.js on lines 2295..2308
    app/spdx.js on lines 2309..2322
    app/spdx.js on lines 2323..2336
    app/spdx.js on lines 2337..2350
    app/spdx.js on lines 2351..2364
    app/spdx.js on lines 2385..2398
    app/spdx.js on lines 2628..2641
    app/spdx.js on lines 2642..2655
    app/spdx.js on lines 2669..2682
    app/spdx.js on lines 2683..2696
    app/spdx.js on lines 2797..2810
    app/spdx.js on lines 3069..3082
    app/spdx.js on lines 3431..3444
    app/spdx.js on lines 3445..3458
    app/spdx.js on lines 3560..3573
    app/spdx.js on lines 3614..3627
    app/spdx.js on lines 3743..3756
    app/spdx.js on lines 4155..4168
    app/spdx.js on lines 4307..4320
    app/spdx.js on lines 4378..4391

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 50.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

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

        {
          reference: './RPSL-1.0.html',
          isDeprecatedLicenseId: false,
          isFsfLibre: true,
          detailsUrl: 'http://spdx.org/licenses/RPSL-1.0.json',
    Severity: Major
    Found in app/spdx.js and 49 other locations - About 45 mins to fix
    app/spdx.js on lines 35..48
    app/spdx.js on lines 49..62
    app/spdx.js on lines 87..100
    app/spdx.js on lines 132..145
    app/spdx.js on lines 146..159
    app/spdx.js on lines 160..173
    app/spdx.js on lines 344..357
    app/spdx.js on lines 358..371
    app/spdx.js on lines 402..415
    app/spdx.js on lines 610..623
    app/spdx.js on lines 1242..1255
    app/spdx.js on lines 1256..1269
    app/spdx.js on lines 1385..1398
    app/spdx.js on lines 1399..1412
    app/spdx.js on lines 1413..1426
    app/spdx.js on lines 1427..1440
    app/spdx.js on lines 1553..1566
    app/spdx.js on lines 1757..1770
    app/spdx.js on lines 1771..1784
    app/spdx.js on lines 1785..1798
    app/spdx.js on lines 1799..1812
    app/spdx.js on lines 1869..1882
    app/spdx.js on lines 1883..1896
    app/spdx.js on lines 1897..1910
    app/spdx.js on lines 1911..1924
    app/spdx.js on lines 2070..2083
    app/spdx.js on lines 2094..2107
    app/spdx.js on lines 2253..2266
    app/spdx.js on lines 2267..2280
    app/spdx.js on lines 2281..2294
    app/spdx.js on lines 2295..2308
    app/spdx.js on lines 2309..2322
    app/spdx.js on lines 2323..2336
    app/spdx.js on lines 2337..2350
    app/spdx.js on lines 2351..2364
    app/spdx.js on lines 2385..2398
    app/spdx.js on lines 2628..2641
    app/spdx.js on lines 2642..2655
    app/spdx.js on lines 2669..2682
    app/spdx.js on lines 2683..2696
    app/spdx.js on lines 2797..2810
    app/spdx.js on lines 3069..3082
    app/spdx.js on lines 3431..3444
    app/spdx.js on lines 3445..3458
    app/spdx.js on lines 3560..3573
    app/spdx.js on lines 3743..3756
    app/spdx.js on lines 4155..4168
    app/spdx.js on lines 4307..4320
    app/spdx.js on lines 4378..4391

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 50.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

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

        {
          reference: './EPL-2.0.html',
          isDeprecatedLicenseId: false,
          isFsfLibre: true,
          detailsUrl: 'http://spdx.org/licenses/EPL-2.0.json',
    Severity: Major
    Found in app/spdx.js and 49 other locations - About 45 mins to fix
    app/spdx.js on lines 35..48
    app/spdx.js on lines 49..62
    app/spdx.js on lines 87..100
    app/spdx.js on lines 132..145
    app/spdx.js on lines 146..159
    app/spdx.js on lines 160..173
    app/spdx.js on lines 344..357
    app/spdx.js on lines 358..371
    app/spdx.js on lines 402..415
    app/spdx.js on lines 610..623
    app/spdx.js on lines 1242..1255
    app/spdx.js on lines 1256..1269
    app/spdx.js on lines 1385..1398
    app/spdx.js on lines 1399..1412
    app/spdx.js on lines 1427..1440
    app/spdx.js on lines 1553..1566
    app/spdx.js on lines 1757..1770
    app/spdx.js on lines 1771..1784
    app/spdx.js on lines 1785..1798
    app/spdx.js on lines 1799..1812
    app/spdx.js on lines 1869..1882
    app/spdx.js on lines 1883..1896
    app/spdx.js on lines 1897..1910
    app/spdx.js on lines 1911..1924
    app/spdx.js on lines 2070..2083
    app/spdx.js on lines 2094..2107
    app/spdx.js on lines 2253..2266
    app/spdx.js on lines 2267..2280
    app/spdx.js on lines 2281..2294
    app/spdx.js on lines 2295..2308
    app/spdx.js on lines 2309..2322
    app/spdx.js on lines 2323..2336
    app/spdx.js on lines 2337..2350
    app/spdx.js on lines 2351..2364
    app/spdx.js on lines 2385..2398
    app/spdx.js on lines 2628..2641
    app/spdx.js on lines 2642..2655
    app/spdx.js on lines 2669..2682
    app/spdx.js on lines 2683..2696
    app/spdx.js on lines 2797..2810
    app/spdx.js on lines 3069..3082
    app/spdx.js on lines 3431..3444
    app/spdx.js on lines 3445..3458
    app/spdx.js on lines 3560..3573
    app/spdx.js on lines 3614..3627
    app/spdx.js on lines 3743..3756
    app/spdx.js on lines 4155..4168
    app/spdx.js on lines 4307..4320
    app/spdx.js on lines 4378..4391

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 50.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

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

        {
          reference: './GPL-3.0-only.html',
          isDeprecatedLicenseId: false,
          isFsfLibre: true,
          detailsUrl: 'http://spdx.org/licenses/GPL-3.0-only.json',
    Severity: Major
    Found in app/spdx.js and 49 other locations - About 45 mins to fix
    app/spdx.js on lines 35..48
    app/spdx.js on lines 49..62
    app/spdx.js on lines 87..100
    app/spdx.js on lines 132..145
    app/spdx.js on lines 146..159
    app/spdx.js on lines 160..173
    app/spdx.js on lines 344..357
    app/spdx.js on lines 358..371
    app/spdx.js on lines 402..415
    app/spdx.js on lines 610..623
    app/spdx.js on lines 1242..1255
    app/spdx.js on lines 1256..1269
    app/spdx.js on lines 1385..1398
    app/spdx.js on lines 1399..1412
    app/spdx.js on lines 1413..1426
    app/spdx.js on lines 1427..1440
    app/spdx.js on lines 1553..1566
    app/spdx.js on lines 1757..1770
    app/spdx.js on lines 1771..1784
    app/spdx.js on lines 1785..1798
    app/spdx.js on lines 1799..1812
    app/spdx.js on lines 1869..1882
    app/spdx.js on lines 1883..1896
    app/spdx.js on lines 1911..1924
    app/spdx.js on lines 2070..2083
    app/spdx.js on lines 2094..2107
    app/spdx.js on lines 2253..2266
    app/spdx.js on lines 2267..2280
    app/spdx.js on lines 2281..2294
    app/spdx.js on lines 2295..2308
    app/spdx.js on lines 2309..2322
    app/spdx.js on lines 2323..2336
    app/spdx.js on lines 2337..2350
    app/spdx.js on lines 2351..2364
    app/spdx.js on lines 2385..2398
    app/spdx.js on lines 2628..2641
    app/spdx.js on lines 2642..2655
    app/spdx.js on lines 2669..2682
    app/spdx.js on lines 2683..2696
    app/spdx.js on lines 2797..2810
    app/spdx.js on lines 3069..3082
    app/spdx.js on lines 3431..3444
    app/spdx.js on lines 3445..3458
    app/spdx.js on lines 3560..3573
    app/spdx.js on lines 3614..3627
    app/spdx.js on lines 3743..3756
    app/spdx.js on lines 4155..4168
    app/spdx.js on lines 4307..4320
    app/spdx.js on lines 4378..4391

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 50.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

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

        {
          reference: './LPL-1.02.html',
          isDeprecatedLicenseId: false,
          isFsfLibre: true,
          detailsUrl: 'http://spdx.org/licenses/LPL-1.02.json',
    Severity: Major
    Found in app/spdx.js and 49 other locations - About 45 mins to fix
    app/spdx.js on lines 35..48
    app/spdx.js on lines 49..62
    app/spdx.js on lines 87..100
    app/spdx.js on lines 132..145
    app/spdx.js on lines 146..159
    app/spdx.js on lines 160..173
    app/spdx.js on lines 344..357
    app/spdx.js on lines 358..371
    app/spdx.js on lines 402..415
    app/spdx.js on lines 610..623
    app/spdx.js on lines 1242..1255
    app/spdx.js on lines 1256..1269
    app/spdx.js on lines 1385..1398
    app/spdx.js on lines 1399..1412
    app/spdx.js on lines 1413..1426
    app/spdx.js on lines 1427..1440
    app/spdx.js on lines 1553..1566
    app/spdx.js on lines 1757..1770
    app/spdx.js on lines 1771..1784
    app/spdx.js on lines 1785..1798
    app/spdx.js on lines 1799..1812
    app/spdx.js on lines 1869..1882
    app/spdx.js on lines 1883..1896
    app/spdx.js on lines 1897..1910
    app/spdx.js on lines 1911..1924
    app/spdx.js on lines 2070..2083
    app/spdx.js on lines 2094..2107
    app/spdx.js on lines 2253..2266
    app/spdx.js on lines 2267..2280
    app/spdx.js on lines 2281..2294
    app/spdx.js on lines 2295..2308
    app/spdx.js on lines 2309..2322
    app/spdx.js on lines 2323..2336
    app/spdx.js on lines 2337..2350
    app/spdx.js on lines 2351..2364
    app/spdx.js on lines 2628..2641
    app/spdx.js on lines 2642..2655
    app/spdx.js on lines 2669..2682
    app/spdx.js on lines 2683..2696
    app/spdx.js on lines 2797..2810
    app/spdx.js on lines 3069..3082
    app/spdx.js on lines 3431..3444
    app/spdx.js on lines 3445..3458
    app/spdx.js on lines 3560..3573
    app/spdx.js on lines 3614..3627
    app/spdx.js on lines 3743..3756
    app/spdx.js on lines 4155..4168
    app/spdx.js on lines 4307..4320
    app/spdx.js on lines 4378..4391

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 50.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

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

        {
          reference: './MS-RL.html',
          isDeprecatedLicenseId: false,
          isFsfLibre: true,
          detailsUrl: 'http://spdx.org/licenses/MS-RL.json',
    Severity: Major
    Found in app/spdx.js and 49 other locations - About 45 mins to fix
    app/spdx.js on lines 35..48
    app/spdx.js on lines 49..62
    app/spdx.js on lines 87..100
    app/spdx.js on lines 132..145
    app/spdx.js on lines 146..159
    app/spdx.js on lines 160..173
    app/spdx.js on lines 344..357
    app/spdx.js on lines 358..371
    app/spdx.js on lines 402..415
    app/spdx.js on lines 610..623
    app/spdx.js on lines 1242..1255
    app/spdx.js on lines 1256..1269
    app/spdx.js on lines 1385..1398
    app/spdx.js on lines 1399..1412
    app/spdx.js on lines 1413..1426
    app/spdx.js on lines 1427..1440
    app/spdx.js on lines 1553..1566
    app/spdx.js on lines 1757..1770
    app/spdx.js on lines 1771..1784
    app/spdx.js on lines 1785..1798
    app/spdx.js on lines 1799..1812
    app/spdx.js on lines 1869..1882
    app/spdx.js on lines 1883..1896
    app/spdx.js on lines 1897..1910
    app/spdx.js on lines 1911..1924
    app/spdx.js on lines 2070..2083
    app/spdx.js on lines 2094..2107
    app/spdx.js on lines 2253..2266
    app/spdx.js on lines 2267..2280
    app/spdx.js on lines 2281..2294
    app/spdx.js on lines 2295..2308
    app/spdx.js on lines 2309..2322
    app/spdx.js on lines 2323..2336
    app/spdx.js on lines 2337..2350
    app/spdx.js on lines 2351..2364
    app/spdx.js on lines 2385..2398
    app/spdx.js on lines 2628..2641
    app/spdx.js on lines 2642..2655
    app/spdx.js on lines 2669..2682
    app/spdx.js on lines 2797..2810
    app/spdx.js on lines 3069..3082
    app/spdx.js on lines 3431..3444
    app/spdx.js on lines 3445..3458
    app/spdx.js on lines 3560..3573
    app/spdx.js on lines 3614..3627
    app/spdx.js on lines 3743..3756
    app/spdx.js on lines 4155..4168
    app/spdx.js on lines 4307..4320
    app/spdx.js on lines 4378..4391

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 50.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

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

        {
          reference: './GPL-2.0.html',
          isDeprecatedLicenseId: true,
          isFsfLibre: true,
          detailsUrl: 'http://spdx.org/licenses/GPL-2.0.json',
    Severity: Major
    Found in app/spdx.js and 49 other locations - About 45 mins to fix
    app/spdx.js on lines 35..48
    app/spdx.js on lines 49..62
    app/spdx.js on lines 87..100
    app/spdx.js on lines 132..145
    app/spdx.js on lines 146..159
    app/spdx.js on lines 160..173
    app/spdx.js on lines 344..357
    app/spdx.js on lines 358..371
    app/spdx.js on lines 402..415
    app/spdx.js on lines 610..623
    app/spdx.js on lines 1242..1255
    app/spdx.js on lines 1256..1269
    app/spdx.js on lines 1385..1398
    app/spdx.js on lines 1399..1412
    app/spdx.js on lines 1413..1426
    app/spdx.js on lines 1427..1440
    app/spdx.js on lines 1553..1566
    app/spdx.js on lines 1771..1784
    app/spdx.js on lines 1785..1798
    app/spdx.js on lines 1799..1812
    app/spdx.js on lines 1869..1882
    app/spdx.js on lines 1883..1896
    app/spdx.js on lines 1897..1910
    app/spdx.js on lines 1911..1924
    app/spdx.js on lines 2070..2083
    app/spdx.js on lines 2094..2107
    app/spdx.js on lines 2253..2266
    app/spdx.js on lines 2267..2280
    app/spdx.js on lines 2281..2294
    app/spdx.js on lines 2295..2308
    app/spdx.js on lines 2309..2322
    app/spdx.js on lines 2323..2336
    app/spdx.js on lines 2337..2350
    app/spdx.js on lines 2351..2364
    app/spdx.js on lines 2385..2398
    app/spdx.js on lines 2628..2641
    app/spdx.js on lines 2642..2655
    app/spdx.js on lines 2669..2682
    app/spdx.js on lines 2683..2696
    app/spdx.js on lines 2797..2810
    app/spdx.js on lines 3069..3082
    app/spdx.js on lines 3431..3444
    app/spdx.js on lines 3445..3458
    app/spdx.js on lines 3560..3573
    app/spdx.js on lines 3614..3627
    app/spdx.js on lines 3743..3756
    app/spdx.js on lines 4155..4168
    app/spdx.js on lines 4307..4320
    app/spdx.js on lines 4378..4391

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 50.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

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

        {
          reference: './MPL-1.1.html',
          isDeprecatedLicenseId: false,
          isFsfLibre: true,
          detailsUrl: 'http://spdx.org/licenses/MPL-1.1.json',
    Severity: Major
    Found in app/spdx.js and 49 other locations - About 45 mins to fix
    app/spdx.js on lines 35..48
    app/spdx.js on lines 49..62
    app/spdx.js on lines 87..100
    app/spdx.js on lines 132..145
    app/spdx.js on lines 146..159
    app/spdx.js on lines 160..173
    app/spdx.js on lines 344..357
    app/spdx.js on lines 358..371
    app/spdx.js on lines 402..415
    app/spdx.js on lines 610..623
    app/spdx.js on lines 1242..1255
    app/spdx.js on lines 1256..1269
    app/spdx.js on lines 1385..1398
    app/spdx.js on lines 1399..1412
    app/spdx.js on lines 1413..1426
    app/spdx.js on lines 1427..1440
    app/spdx.js on lines 1553..1566
    app/spdx.js on lines 1757..1770
    app/spdx.js on lines 1771..1784
    app/spdx.js on lines 1785..1798
    app/spdx.js on lines 1799..1812
    app/spdx.js on lines 1869..1882
    app/spdx.js on lines 1883..1896
    app/spdx.js on lines 1897..1910
    app/spdx.js on lines 1911..1924
    app/spdx.js on lines 2070..2083
    app/spdx.js on lines 2094..2107
    app/spdx.js on lines 2253..2266
    app/spdx.js on lines 2267..2280
    app/spdx.js on lines 2281..2294
    app/spdx.js on lines 2295..2308
    app/spdx.js on lines 2309..2322
    app/spdx.js on lines 2323..2336
    app/spdx.js on lines 2337..2350
    app/spdx.js on lines 2351..2364
    app/spdx.js on lines 2385..2398
    app/spdx.js on lines 2642..2655
    app/spdx.js on lines 2669..2682
    app/spdx.js on lines 2683..2696
    app/spdx.js on lines 2797..2810
    app/spdx.js on lines 3069..3082
    app/spdx.js on lines 3431..3444
    app/spdx.js on lines 3445..3458
    app/spdx.js on lines 3560..3573
    app/spdx.js on lines 3614..3627
    app/spdx.js on lines 3743..3756
    app/spdx.js on lines 4155..4168
    app/spdx.js on lines 4307..4320
    app/spdx.js on lines 4378..4391

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 50.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

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

        {
          reference: './OSL-2.1.html',
          isDeprecatedLicenseId: false,
          isFsfLibre: true,
          detailsUrl: 'http://spdx.org/licenses/OSL-2.1.json',
    Severity: Major
    Found in app/spdx.js and 49 other locations - About 45 mins to fix
    app/spdx.js on lines 35..48
    app/spdx.js on lines 49..62
    app/spdx.js on lines 87..100
    app/spdx.js on lines 132..145
    app/spdx.js on lines 146..159
    app/spdx.js on lines 160..173
    app/spdx.js on lines 344..357
    app/spdx.js on lines 358..371
    app/spdx.js on lines 402..415
    app/spdx.js on lines 610..623
    app/spdx.js on lines 1242..1255
    app/spdx.js on lines 1256..1269
    app/spdx.js on lines 1385..1398
    app/spdx.js on lines 1399..1412
    app/spdx.js on lines 1413..1426
    app/spdx.js on lines 1427..1440
    app/spdx.js on lines 1553..1566
    app/spdx.js on lines 1757..1770
    app/spdx.js on lines 1771..1784
    app/spdx.js on lines 1785..1798
    app/spdx.js on lines 1799..1812
    app/spdx.js on lines 1869..1882
    app/spdx.js on lines 1883..1896
    app/spdx.js on lines 1897..1910
    app/spdx.js on lines 1911..1924
    app/spdx.js on lines 2070..2083
    app/spdx.js on lines 2094..2107
    app/spdx.js on lines 2253..2266
    app/spdx.js on lines 2267..2280
    app/spdx.js on lines 2281..2294
    app/spdx.js on lines 2295..2308
    app/spdx.js on lines 2309..2322
    app/spdx.js on lines 2323..2336
    app/spdx.js on lines 2337..2350
    app/spdx.js on lines 2351..2364
    app/spdx.js on lines 2385..2398
    app/spdx.js on lines 2628..2641
    app/spdx.js on lines 2642..2655
    app/spdx.js on lines 2669..2682
    app/spdx.js on lines 2683..2696
    app/spdx.js on lines 2797..2810
    app/spdx.js on lines 3069..3082
    app/spdx.js on lines 3445..3458
    app/spdx.js on lines 3560..3573
    app/spdx.js on lines 3614..3627
    app/spdx.js on lines 3743..3756
    app/spdx.js on lines 4155..4168
    app/spdx.js on lines 4307..4320
    app/spdx.js on lines 4378..4391

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 50.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

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

        {
          reference: './LGPL-2.1+.html',
          isDeprecatedLicenseId: true,
          isFsfLibre: true,
          detailsUrl: 'http://spdx.org/licenses/LGPL-2.1+.json',
    Severity: Major
    Found in app/spdx.js and 49 other locations - About 45 mins to fix
    app/spdx.js on lines 35..48
    app/spdx.js on lines 49..62
    app/spdx.js on lines 87..100
    app/spdx.js on lines 132..145
    app/spdx.js on lines 146..159
    app/spdx.js on lines 160..173
    app/spdx.js on lines 344..357
    app/spdx.js on lines 358..371
    app/spdx.js on lines 402..415
    app/spdx.js on lines 610..623
    app/spdx.js on lines 1242..1255
    app/spdx.js on lines 1256..1269
    app/spdx.js on lines 1385..1398
    app/spdx.js on lines 1399..1412
    app/spdx.js on lines 1413..1426
    app/spdx.js on lines 1427..1440
    app/spdx.js on lines 1553..1566
    app/spdx.js on lines 1757..1770
    app/spdx.js on lines 1771..1784
    app/spdx.js on lines 1785..1798
    app/spdx.js on lines 1799..1812
    app/spdx.js on lines 1869..1882
    app/spdx.js on lines 1883..1896
    app/spdx.js on lines 1897..1910
    app/spdx.js on lines 1911..1924
    app/spdx.js on lines 2070..2083
    app/spdx.js on lines 2094..2107
    app/spdx.js on lines 2253..2266
    app/spdx.js on lines 2281..2294
    app/spdx.js on lines 2295..2308
    app/spdx.js on lines 2309..2322
    app/spdx.js on lines 2323..2336
    app/spdx.js on lines 2337..2350
    app/spdx.js on lines 2351..2364
    app/spdx.js on lines 2385..2398
    app/spdx.js on lines 2628..2641
    app/spdx.js on lines 2642..2655
    app/spdx.js on lines 2669..2682
    app/spdx.js on lines 2683..2696
    app/spdx.js on lines 2797..2810
    app/spdx.js on lines 3069..3082
    app/spdx.js on lines 3431..3444
    app/spdx.js on lines 3445..3458
    app/spdx.js on lines 3560..3573
    app/spdx.js on lines 3614..3627
    app/spdx.js on lines 3743..3756
    app/spdx.js on lines 4155..4168
    app/spdx.js on lines 4307..4320
    app/spdx.js on lines 4378..4391

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 50.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

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

        {
          reference: './AGPL-3.0-only.html',
          isDeprecatedLicenseId: false,
          isFsfLibre: true,
          detailsUrl: 'http://spdx.org/licenses/AGPL-3.0-only.json',
    Severity: Major
    Found in app/spdx.js and 49 other locations - About 45 mins to fix
    app/spdx.js on lines 35..48
    app/spdx.js on lines 49..62
    app/spdx.js on lines 87..100
    app/spdx.js on lines 132..145
    app/spdx.js on lines 160..173
    app/spdx.js on lines 344..357
    app/spdx.js on lines 358..371
    app/spdx.js on lines 402..415
    app/spdx.js on lines 610..623
    app/spdx.js on lines 1242..1255
    app/spdx.js on lines 1256..1269
    app/spdx.js on lines 1385..1398
    app/spdx.js on lines 1399..1412
    app/spdx.js on lines 1413..1426
    app/spdx.js on lines 1427..1440
    app/spdx.js on lines 1553..1566
    app/spdx.js on lines 1757..1770
    app/spdx.js on lines 1771..1784
    app/spdx.js on lines 1785..1798
    app/spdx.js on lines 1799..1812
    app/spdx.js on lines 1869..1882
    app/spdx.js on lines 1883..1896
    app/spdx.js on lines 1897..1910
    app/spdx.js on lines 1911..1924
    app/spdx.js on lines 2070..2083
    app/spdx.js on lines 2094..2107
    app/spdx.js on lines 2253..2266
    app/spdx.js on lines 2267..2280
    app/spdx.js on lines 2281..2294
    app/spdx.js on lines 2295..2308
    app/spdx.js on lines 2309..2322
    app/spdx.js on lines 2323..2336
    app/spdx.js on lines 2337..2350
    app/spdx.js on lines 2351..2364
    app/spdx.js on lines 2385..2398
    app/spdx.js on lines 2628..2641
    app/spdx.js on lines 2642..2655
    app/spdx.js on lines 2669..2682
    app/spdx.js on lines 2683..2696
    app/spdx.js on lines 2797..2810
    app/spdx.js on lines 3069..3082
    app/spdx.js on lines 3431..3444
    app/spdx.js on lines 3445..3458
    app/spdx.js on lines 3560..3573
    app/spdx.js on lines 3614..3627
    app/spdx.js on lines 3743..3756
    app/spdx.js on lines 4155..4168
    app/spdx.js on lines 4307..4320
    app/spdx.js on lines 4378..4391

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 50.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

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

        {
          reference: './BSL-1.0.html',
          isDeprecatedLicenseId: false,
          isFsfLibre: true,
          detailsUrl: 'http://spdx.org/licenses/BSL-1.0.json',
    Severity: Major
    Found in app/spdx.js and 49 other locations - About 45 mins to fix
    app/spdx.js on lines 35..48
    app/spdx.js on lines 49..62
    app/spdx.js on lines 87..100
    app/spdx.js on lines 132..145
    app/spdx.js on lines 146..159
    app/spdx.js on lines 160..173
    app/spdx.js on lines 344..357
    app/spdx.js on lines 358..371
    app/spdx.js on lines 402..415
    app/spdx.js on lines 1242..1255
    app/spdx.js on lines 1256..1269
    app/spdx.js on lines 1385..1398
    app/spdx.js on lines 1399..1412
    app/spdx.js on lines 1413..1426
    app/spdx.js on lines 1427..1440
    app/spdx.js on lines 1553..1566
    app/spdx.js on lines 1757..1770
    app/spdx.js on lines 1771..1784
    app/spdx.js on lines 1785..1798
    app/spdx.js on lines 1799..1812
    app/spdx.js on lines 1869..1882
    app/spdx.js on lines 1883..1896
    app/spdx.js on lines 1897..1910
    app/spdx.js on lines 1911..1924
    app/spdx.js on lines 2070..2083
    app/spdx.js on lines 2094..2107
    app/spdx.js on lines 2253..2266
    app/spdx.js on lines 2267..2280
    app/spdx.js on lines 2281..2294
    app/spdx.js on lines 2295..2308
    app/spdx.js on lines 2309..2322
    app/spdx.js on lines 2323..2336
    app/spdx.js on lines 2337..2350
    app/spdx.js on lines 2351..2364
    app/spdx.js on lines 2385..2398
    app/spdx.js on lines 2628..2641
    app/spdx.js on lines 2642..2655
    app/spdx.js on lines 2669..2682
    app/spdx.js on lines 2683..2696
    app/spdx.js on lines 2797..2810
    app/spdx.js on lines 3069..3082
    app/spdx.js on lines 3431..3444
    app/spdx.js on lines 3445..3458
    app/spdx.js on lines 3560..3573
    app/spdx.js on lines 3614..3627
    app/spdx.js on lines 3743..3756
    app/spdx.js on lines 4155..4168
    app/spdx.js on lines 4307..4320
    app/spdx.js on lines 4378..4391

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 50.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

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

        {
          reference: './EPL-1.0.html',
          isDeprecatedLicenseId: false,
          isFsfLibre: true,
          detailsUrl: 'http://spdx.org/licenses/EPL-1.0.json',
    Severity: Major
    Found in app/spdx.js and 49 other locations - About 45 mins to fix
    app/spdx.js on lines 35..48
    app/spdx.js on lines 49..62
    app/spdx.js on lines 87..100
    app/spdx.js on lines 132..145
    app/spdx.js on lines 146..159
    app/spdx.js on lines 160..173
    app/spdx.js on lines 344..357
    app/spdx.js on lines 358..371
    app/spdx.js on lines 402..415
    app/spdx.js on lines 610..623
    app/spdx.js on lines 1242..1255
    app/spdx.js on lines 1256..1269
    app/spdx.js on lines 1385..1398
    app/spdx.js on lines 1413..1426
    app/spdx.js on lines 1427..1440
    app/spdx.js on lines 1553..1566
    app/spdx.js on lines 1757..1770
    app/spdx.js on lines 1771..1784
    app/spdx.js on lines 1785..1798
    app/spdx.js on lines 1799..1812
    app/spdx.js on lines 1869..1882
    app/spdx.js on lines 1883..1896
    app/spdx.js on lines 1897..1910
    app/spdx.js on lines 1911..1924
    app/spdx.js on lines 2070..2083
    app/spdx.js on lines 2094..2107
    app/spdx.js on lines 2253..2266
    app/spdx.js on lines 2267..2280
    app/spdx.js on lines 2281..2294
    app/spdx.js on lines 2295..2308
    app/spdx.js on lines 2309..2322
    app/spdx.js on lines 2323..2336
    app/spdx.js on lines 2337..2350
    app/spdx.js on lines 2351..2364
    app/spdx.js on lines 2385..2398
    app/spdx.js on lines 2628..2641
    app/spdx.js on lines 2642..2655
    app/spdx.js on lines 2669..2682
    app/spdx.js on lines 2683..2696
    app/spdx.js on lines 2797..2810
    app/spdx.js on lines 3069..3082
    app/spdx.js on lines 3431..3444
    app/spdx.js on lines 3445..3458
    app/spdx.js on lines 3560..3573
    app/spdx.js on lines 3614..3627
    app/spdx.js on lines 3743..3756
    app/spdx.js on lines 4155..4168
    app/spdx.js on lines 4307..4320
    app/spdx.js on lines 4378..4391

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 50.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

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

        {
          reference: './GPL-3.0.html',
          isDeprecatedLicenseId: true,
          isFsfLibre: true,
          detailsUrl: 'http://spdx.org/licenses/GPL-3.0.json',
    Severity: Major
    Found in app/spdx.js and 49 other locations - About 45 mins to fix
    app/spdx.js on lines 35..48
    app/spdx.js on lines 49..62
    app/spdx.js on lines 87..100
    app/spdx.js on lines 132..145
    app/spdx.js on lines 146..159
    app/spdx.js on lines 160..173
    app/spdx.js on lines 344..357
    app/spdx.js on lines 358..371
    app/spdx.js on lines 402..415
    app/spdx.js on lines 610..623
    app/spdx.js on lines 1242..1255
    app/spdx.js on lines 1256..1269
    app/spdx.js on lines 1385..1398
    app/spdx.js on lines 1399..1412
    app/spdx.js on lines 1413..1426
    app/spdx.js on lines 1427..1440
    app/spdx.js on lines 1553..1566
    app/spdx.js on lines 1757..1770
    app/spdx.js on lines 1771..1784
    app/spdx.js on lines 1785..1798
    app/spdx.js on lines 1799..1812
    app/spdx.js on lines 1883..1896
    app/spdx.js on lines 1897..1910
    app/spdx.js on lines 1911..1924
    app/spdx.js on lines 2070..2083
    app/spdx.js on lines 2094..2107
    app/spdx.js on lines 2253..2266
    app/spdx.js on lines 2267..2280
    app/spdx.js on lines 2281..2294
    app/spdx.js on lines 2295..2308
    app/spdx.js on lines 2309..2322
    app/spdx.js on lines 2323..2336
    app/spdx.js on lines 2337..2350
    app/spdx.js on lines 2351..2364
    app/spdx.js on lines 2385..2398
    app/spdx.js on lines 2628..2641
    app/spdx.js on lines 2642..2655
    app/spdx.js on lines 2669..2682
    app/spdx.js on lines 2683..2696
    app/spdx.js on lines 2797..2810
    app/spdx.js on lines 3069..3082
    app/spdx.js on lines 3431..3444
    app/spdx.js on lines 3445..3458
    app/spdx.js on lines 3560..3573
    app/spdx.js on lines 3614..3627
    app/spdx.js on lines 3743..3756
    app/spdx.js on lines 4155..4168
    app/spdx.js on lines 4307..4320
    app/spdx.js on lines 4378..4391

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 50.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

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

        {
          reference: './LGPL-3.0.html',
          isDeprecatedLicenseId: true,
          isFsfLibre: true,
          detailsUrl: 'http://spdx.org/licenses/LGPL-3.0.json',
    Severity: Major
    Found in app/spdx.js and 49 other locations - About 45 mins to fix
    app/spdx.js on lines 35..48
    app/spdx.js on lines 49..62
    app/spdx.js on lines 87..100
    app/spdx.js on lines 132..145
    app/spdx.js on lines 146..159
    app/spdx.js on lines 160..173
    app/spdx.js on lines 344..357
    app/spdx.js on lines 358..371
    app/spdx.js on lines 402..415
    app/spdx.js on lines 610..623
    app/spdx.js on lines 1242..1255
    app/spdx.js on lines 1256..1269
    app/spdx.js on lines 1385..1398
    app/spdx.js on lines 1399..1412
    app/spdx.js on lines 1413..1426
    app/spdx.js on lines 1427..1440
    app/spdx.js on lines 1553..1566
    app/spdx.js on lines 1757..1770
    app/spdx.js on lines 1771..1784
    app/spdx.js on lines 1785..1798
    app/spdx.js on lines 1799..1812
    app/spdx.js on lines 1869..1882
    app/spdx.js on lines 1883..1896
    app/spdx.js on lines 1897..1910
    app/spdx.js on lines 1911..1924
    app/spdx.js on lines 2070..2083
    app/spdx.js on lines 2094..2107
    app/spdx.js on lines 2253..2266
    app/spdx.js on lines 2267..2280
    app/spdx.js on lines 2281..2294
    app/spdx.js on lines 2295..2308
    app/spdx.js on lines 2323..2336
    app/spdx.js on lines 2337..2350
    app/spdx.js on lines 2351..2364
    app/spdx.js on lines 2385..2398
    app/spdx.js on lines 2628..2641
    app/spdx.js on lines 2642..2655
    app/spdx.js on lines 2669..2682
    app/spdx.js on lines 2683..2696
    app/spdx.js on lines 2797..2810
    app/spdx.js on lines 3069..3082
    app/spdx.js on lines 3431..3444
    app/spdx.js on lines 3445..3458
    app/spdx.js on lines 3560..3573
    app/spdx.js on lines 3614..3627
    app/spdx.js on lines 3743..3756
    app/spdx.js on lines 4155..4168
    app/spdx.js on lines 4307..4320
    app/spdx.js on lines 4378..4391

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 50.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

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

        {
          reference: './MS-PL.html',
          isDeprecatedLicenseId: false,
          isFsfLibre: true,
          detailsUrl: 'http://spdx.org/licenses/MS-PL.json',
    Severity: Major
    Found in app/spdx.js and 49 other locations - About 45 mins to fix
    app/spdx.js on lines 35..48
    app/spdx.js on lines 49..62
    app/spdx.js on lines 87..100
    app/spdx.js on lines 132..145
    app/spdx.js on lines 146..159
    app/spdx.js on lines 160..173
    app/spdx.js on lines 344..357
    app/spdx.js on lines 358..371
    app/spdx.js on lines 402..415
    app/spdx.js on lines 610..623
    app/spdx.js on lines 1242..1255
    app/spdx.js on lines 1256..1269
    app/spdx.js on lines 1385..1398
    app/spdx.js on lines 1399..1412
    app/spdx.js on lines 1413..1426
    app/spdx.js on lines 1427..1440
    app/spdx.js on lines 1553..1566
    app/spdx.js on lines 1757..1770
    app/spdx.js on lines 1771..1784
    app/spdx.js on lines 1785..1798
    app/spdx.js on lines 1799..1812
    app/spdx.js on lines 1869..1882
    app/spdx.js on lines 1883..1896
    app/spdx.js on lines 1897..1910
    app/spdx.js on lines 1911..1924
    app/spdx.js on lines 2070..2083
    app/spdx.js on lines 2094..2107
    app/spdx.js on lines 2253..2266
    app/spdx.js on lines 2267..2280
    app/spdx.js on lines 2281..2294
    app/spdx.js on lines 2295..2308
    app/spdx.js on lines 2309..2322
    app/spdx.js on lines 2323..2336
    app/spdx.js on lines 2337..2350
    app/spdx.js on lines 2351..2364
    app/spdx.js on lines 2385..2398
    app/spdx.js on lines 2628..2641
    app/spdx.js on lines 2642..2655
    app/spdx.js on lines 2683..2696
    app/spdx.js on lines 2797..2810
    app/spdx.js on lines 3069..3082
    app/spdx.js on lines 3431..3444
    app/spdx.js on lines 3445..3458
    app/spdx.js on lines 3560..3573
    app/spdx.js on lines 3614..3627
    app/spdx.js on lines 3743..3756
    app/spdx.js on lines 4155..4168
    app/spdx.js on lines 4307..4320
    app/spdx.js on lines 4378..4391

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 50.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

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

        {
          reference: './Zlib.html',
          isDeprecatedLicenseId: false,
          isFsfLibre: true,
          detailsUrl: 'http://spdx.org/licenses/Zlib.json',
    Severity: Major
    Found in app/spdx.js and 49 other locations - About 45 mins to fix
    app/spdx.js on lines 35..48
    app/spdx.js on lines 49..62
    app/spdx.js on lines 87..100
    app/spdx.js on lines 132..145
    app/spdx.js on lines 146..159
    app/spdx.js on lines 160..173
    app/spdx.js on lines 344..357
    app/spdx.js on lines 358..371
    app/spdx.js on lines 402..415
    app/spdx.js on lines 610..623
    app/spdx.js on lines 1242..1255
    app/spdx.js on lines 1256..1269
    app/spdx.js on lines 1385..1398
    app/spdx.js on lines 1399..1412
    app/spdx.js on lines 1413..1426
    app/spdx.js on lines 1427..1440
    app/spdx.js on lines 1553..1566
    app/spdx.js on lines 1757..1770
    app/spdx.js on lines 1771..1784
    app/spdx.js on lines 1785..1798
    app/spdx.js on lines 1799..1812
    app/spdx.js on lines 1869..1882
    app/spdx.js on lines 1883..1896
    app/spdx.js on lines 1897..1910
    app/spdx.js on lines 1911..1924
    app/spdx.js on lines 2070..2083
    app/spdx.js on lines 2094..2107
    app/spdx.js on lines 2253..2266
    app/spdx.js on lines 2267..2280
    app/spdx.js on lines 2281..2294
    app/spdx.js on lines 2295..2308
    app/spdx.js on lines 2309..2322
    app/spdx.js on lines 2323..2336
    app/spdx.js on lines 2337..2350
    app/spdx.js on lines 2351..2364
    app/spdx.js on lines 2385..2398
    app/spdx.js on lines 2628..2641
    app/spdx.js on lines 2642..2655
    app/spdx.js on lines 2669..2682
    app/spdx.js on lines 2683..2696
    app/spdx.js on lines 2797..2810
    app/spdx.js on lines 3069..3082
    app/spdx.js on lines 3431..3444
    app/spdx.js on lines 3445..3458
    app/spdx.js on lines 3560..3573
    app/spdx.js on lines 3614..3627
    app/spdx.js on lines 3743..3756
    app/spdx.js on lines 4155..4168
    app/spdx.js on lines 4307..4320

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 50.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

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

        {
          reference: './AGPL-3.0.html',
          isDeprecatedLicenseId: true,
          isFsfLibre: true,
          detailsUrl: 'http://spdx.org/licenses/AGPL-3.0.json',
    Severity: Major
    Found in app/spdx.js and 49 other locations - About 45 mins to fix
    app/spdx.js on lines 35..48
    app/spdx.js on lines 49..62
    app/spdx.js on lines 87..100
    app/spdx.js on lines 146..159
    app/spdx.js on lines 160..173
    app/spdx.js on lines 344..357
    app/spdx.js on lines 358..371
    app/spdx.js on lines 402..415
    app/spdx.js on lines 610..623
    app/spdx.js on lines 1242..1255
    app/spdx.js on lines 1256..1269
    app/spdx.js on lines 1385..1398
    app/spdx.js on lines 1399..1412
    app/spdx.js on lines 1413..1426
    app/spdx.js on lines 1427..1440
    app/spdx.js on lines 1553..1566
    app/spdx.js on lines 1757..1770
    app/spdx.js on lines 1771..1784
    app/spdx.js on lines 1785..1798
    app/spdx.js on lines 1799..1812
    app/spdx.js on lines 1869..1882
    app/spdx.js on lines 1883..1896
    app/spdx.js on lines 1897..1910
    app/spdx.js on lines 1911..1924
    app/spdx.js on lines 2070..2083
    app/spdx.js on lines 2094..2107
    app/spdx.js on lines 2253..2266
    app/spdx.js on lines 2267..2280
    app/spdx.js on lines 2281..2294
    app/spdx.js on lines 2295..2308
    app/spdx.js on lines 2309..2322
    app/spdx.js on lines 2323..2336
    app/spdx.js on lines 2337..2350
    app/spdx.js on lines 2351..2364
    app/spdx.js on lines 2385..2398
    app/spdx.js on lines 2628..2641
    app/spdx.js on lines 2642..2655
    app/spdx.js on lines 2669..2682
    app/spdx.js on lines 2683..2696
    app/spdx.js on lines 2797..2810
    app/spdx.js on lines 3069..3082
    app/spdx.js on lines 3431..3444
    app/spdx.js on lines 3445..3458
    app/spdx.js on lines 3560..3573
    app/spdx.js on lines 3614..3627
    app/spdx.js on lines 3743..3756
    app/spdx.js on lines 4155..4168
    app/spdx.js on lines 4307..4320
    app/spdx.js on lines 4378..4391

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 50.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

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

        {
          reference: './Apache-2.0.html',
          isDeprecatedLicenseId: false,
          isFsfLibre: true,
          detailsUrl: 'http://spdx.org/licenses/Apache-2.0.json',
    Severity: Major
    Found in app/spdx.js and 49 other locations - About 45 mins to fix
    app/spdx.js on lines 35..48
    app/spdx.js on lines 49..62
    app/spdx.js on lines 87..100
    app/spdx.js on lines 132..145
    app/spdx.js on lines 146..159
    app/spdx.js on lines 160..173
    app/spdx.js on lines 344..357
    app/spdx.js on lines 402..415
    app/spdx.js on lines 610..623
    app/spdx.js on lines 1242..1255
    app/spdx.js on lines 1256..1269
    app/spdx.js on lines 1385..1398
    app/spdx.js on lines 1399..1412
    app/spdx.js on lines 1413..1426
    app/spdx.js on lines 1427..1440
    app/spdx.js on lines 1553..1566
    app/spdx.js on lines 1757..1770
    app/spdx.js on lines 1771..1784
    app/spdx.js on lines 1785..1798
    app/spdx.js on lines 1799..1812
    app/spdx.js on lines 1869..1882
    app/spdx.js on lines 1883..1896
    app/spdx.js on lines 1897..1910
    app/spdx.js on lines 1911..1924
    app/spdx.js on lines 2070..2083
    app/spdx.js on lines 2094..2107
    app/spdx.js on lines 2253..2266
    app/spdx.js on lines 2267..2280
    app/spdx.js on lines 2281..2294
    app/spdx.js on lines 2295..2308
    app/spdx.js on lines 2309..2322
    app/spdx.js on lines 2323..2336
    app/spdx.js on lines 2337..2350
    app/spdx.js on lines 2351..2364
    app/spdx.js on lines 2385..2398
    app/spdx.js on lines 2628..2641
    app/spdx.js on lines 2642..2655
    app/spdx.js on lines 2669..2682
    app/spdx.js on lines 2683..2696
    app/spdx.js on lines 2797..2810
    app/spdx.js on lines 3069..3082
    app/spdx.js on lines 3431..3444
    app/spdx.js on lines 3445..3458
    app/spdx.js on lines 3560..3573
    app/spdx.js on lines 3614..3627
    app/spdx.js on lines 3743..3756
    app/spdx.js on lines 4155..4168
    app/spdx.js on lines 4307..4320
    app/spdx.js on lines 4378..4391

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 50.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

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

        {
          reference: './LGPL-2.1-only.html',
          isDeprecatedLicenseId: false,
          isFsfLibre: true,
          detailsUrl: 'http://spdx.org/licenses/LGPL-2.1-only.json',
    Severity: Major
    Found in app/spdx.js and 49 other locations - About 45 mins to fix
    app/spdx.js on lines 35..48
    app/spdx.js on lines 49..62
    app/spdx.js on lines 87..100
    app/spdx.js on lines 132..145
    app/spdx.js on lines 146..159
    app/spdx.js on lines 160..173
    app/spdx.js on lines 344..357
    app/spdx.js on lines 358..371
    app/spdx.js on lines 402..415
    app/spdx.js on lines 610..623
    app/spdx.js on lines 1242..1255
    app/spdx.js on lines 1256..1269
    app/spdx.js on lines 1385..1398
    app/spdx.js on lines 1399..1412
    app/spdx.js on lines 1413..1426
    app/spdx.js on lines 1427..1440
    app/spdx.js on lines 1553..1566
    app/spdx.js on lines 1757..1770
    app/spdx.js on lines 1771..1784
    app/spdx.js on lines 1785..1798
    app/spdx.js on lines 1799..1812
    app/spdx.js on lines 1869..1882
    app/spdx.js on lines 1883..1896
    app/spdx.js on lines 1897..1910
    app/spdx.js on lines 1911..1924
    app/spdx.js on lines 2070..2083
    app/spdx.js on lines 2094..2107
    app/spdx.js on lines 2253..2266
    app/spdx.js on lines 2267..2280
    app/spdx.js on lines 2295..2308
    app/spdx.js on lines 2309..2322
    app/spdx.js on lines 2323..2336
    app/spdx.js on lines 2337..2350
    app/spdx.js on lines 2351..2364
    app/spdx.js on lines 2385..2398
    app/spdx.js on lines 2628..2641
    app/spdx.js on lines 2642..2655
    app/spdx.js on lines 2669..2682
    app/spdx.js on lines 2683..2696
    app/spdx.js on lines 2797..2810
    app/spdx.js on lines 3069..3082
    app/spdx.js on lines 3431..3444
    app/spdx.js on lines 3445..3458
    app/spdx.js on lines 3560..3573
    app/spdx.js on lines 3614..3627
    app/spdx.js on lines 3743..3756
    app/spdx.js on lines 4155..4168
    app/spdx.js on lines 4307..4320
    app/spdx.js on lines 4378..4391

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 50.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

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

        {
          reference: './LGPL-3.0-or-later.html',
          isDeprecatedLicenseId: false,
          isFsfLibre: true,
          detailsUrl: 'http://spdx.org/licenses/LGPL-3.0-or-later.json',
    Severity: Major
    Found in app/spdx.js and 49 other locations - About 45 mins to fix
    app/spdx.js on lines 35..48
    app/spdx.js on lines 49..62
    app/spdx.js on lines 87..100
    app/spdx.js on lines 132..145
    app/spdx.js on lines 146..159
    app/spdx.js on lines 160..173
    app/spdx.js on lines 344..357
    app/spdx.js on lines 358..371
    app/spdx.js on lines 402..415
    app/spdx.js on lines 610..623
    app/spdx.js on lines 1242..1255
    app/spdx.js on lines 1256..1269
    app/spdx.js on lines 1385..1398
    app/spdx.js on lines 1399..1412
    app/spdx.js on lines 1413..1426
    app/spdx.js on lines 1427..1440
    app/spdx.js on lines 1553..1566
    app/spdx.js on lines 1757..1770
    app/spdx.js on lines 1771..1784
    app/spdx.js on lines 1785..1798
    app/spdx.js on lines 1799..1812
    app/spdx.js on lines 1869..1882
    app/spdx.js on lines 1883..1896
    app/spdx.js on lines 1897..1910
    app/spdx.js on lines 1911..1924
    app/spdx.js on lines 2070..2083
    app/spdx.js on lines 2094..2107
    app/spdx.js on lines 2253..2266
    app/spdx.js on lines 2267..2280
    app/spdx.js on lines 2281..2294
    app/spdx.js on lines 2295..2308
    app/spdx.js on lines 2309..2322
    app/spdx.js on lines 2323..2336
    app/spdx.js on lines 2337..2350
    app/spdx.js on lines 2385..2398
    app/spdx.js on lines 2628..2641
    app/spdx.js on lines 2642..2655
    app/spdx.js on lines 2669..2682
    app/spdx.js on lines 2683..2696
    app/spdx.js on lines 2797..2810
    app/spdx.js on lines 3069..3082
    app/spdx.js on lines 3431..3444
    app/spdx.js on lines 3445..3458
    app/spdx.js on lines 3560..3573
    app/spdx.js on lines 3614..3627
    app/spdx.js on lines 3743..3756
    app/spdx.js on lines 4155..4168
    app/spdx.js on lines 4307..4320
    app/spdx.js on lines 4378..4391

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 50.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

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

        {
          reference: './Apache-1.1.html',
          isDeprecatedLicenseId: false,
          isFsfLibre: true,
          detailsUrl: 'http://spdx.org/licenses/Apache-1.1.json',
    Severity: Major
    Found in app/spdx.js and 49 other locations - About 45 mins to fix
    app/spdx.js on lines 35..48
    app/spdx.js on lines 49..62
    app/spdx.js on lines 87..100
    app/spdx.js on lines 132..145
    app/spdx.js on lines 146..159
    app/spdx.js on lines 160..173
    app/spdx.js on lines 358..371
    app/spdx.js on lines 402..415
    app/spdx.js on lines 610..623
    app/spdx.js on lines 1242..1255
    app/spdx.js on lines 1256..1269
    app/spdx.js on lines 1385..1398
    app/spdx.js on lines 1399..1412
    app/spdx.js on lines 1413..1426
    app/spdx.js on lines 1427..1440
    app/spdx.js on lines 1553..1566
    app/spdx.js on lines 1757..1770
    app/spdx.js on lines 1771..1784
    app/spdx.js on lines 1785..1798
    app/spdx.js on lines 1799..1812
    app/spdx.js on lines 1869..1882
    app/spdx.js on lines 1883..1896
    app/spdx.js on lines 1897..1910
    app/spdx.js on lines 1911..1924
    app/spdx.js on lines 2070..2083
    app/spdx.js on lines 2094..2107
    app/spdx.js on lines 2253..2266
    app/spdx.js on lines 2267..2280
    app/spdx.js on lines 2281..2294
    app/spdx.js on lines 2295..2308
    app/spdx.js on lines 2309..2322
    app/spdx.js on lines 2323..2336
    app/spdx.js on lines 2337..2350
    app/spdx.js on lines 2351..2364
    app/spdx.js on lines 2385..2398
    app/spdx.js on lines 2628..2641
    app/spdx.js on lines 2642..2655
    app/spdx.js on lines 2669..2682
    app/spdx.js on lines 2683..2696
    app/spdx.js on lines 2797..2810
    app/spdx.js on lines 3069..3082
    app/spdx.js on lines 3431..3444
    app/spdx.js on lines 3445..3458
    app/spdx.js on lines 3560..3573
    app/spdx.js on lines 3614..3627
    app/spdx.js on lines 3743..3756
    app/spdx.js on lines 4155..4168
    app/spdx.js on lines 4307..4320
    app/spdx.js on lines 4378..4391

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 50.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

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

        {
          reference: './GPL-3.0+.html',
          isDeprecatedLicenseId: true,
          isFsfLibre: true,
          detailsUrl: 'http://spdx.org/licenses/GPL-3.0+.json',
    Severity: Major
    Found in app/spdx.js and 49 other locations - About 45 mins to fix
    app/spdx.js on lines 35..48
    app/spdx.js on lines 49..62
    app/spdx.js on lines 87..100
    app/spdx.js on lines 132..145
    app/spdx.js on lines 146..159
    app/spdx.js on lines 160..173
    app/spdx.js on lines 344..357
    app/spdx.js on lines 358..371
    app/spdx.js on lines 402..415
    app/spdx.js on lines 610..623
    app/spdx.js on lines 1242..1255
    app/spdx.js on lines 1256..1269
    app/spdx.js on lines 1385..1398
    app/spdx.js on lines 1399..1412
    app/spdx.js on lines 1413..1426
    app/spdx.js on lines 1427..1440
    app/spdx.js on lines 1553..1566
    app/spdx.js on lines 1757..1770
    app/spdx.js on lines 1771..1784
    app/spdx.js on lines 1785..1798
    app/spdx.js on lines 1799..1812
    app/spdx.js on lines 1869..1882
    app/spdx.js on lines 1897..1910
    app/spdx.js on lines 1911..1924
    app/spdx.js on lines 2070..2083
    app/spdx.js on lines 2094..2107
    app/spdx.js on lines 2253..2266
    app/spdx.js on lines 2267..2280
    app/spdx.js on lines 2281..2294
    app/spdx.js on lines 2295..2308
    app/spdx.js on lines 2309..2322
    app/spdx.js on lines 2323..2336
    app/spdx.js on lines 2337..2350
    app/spdx.js on lines 2351..2364
    app/spdx.js on lines 2385..2398
    app/spdx.js on lines 2628..2641
    app/spdx.js on lines 2642..2655
    app/spdx.js on lines 2669..2682
    app/spdx.js on lines 2683..2696
    app/spdx.js on lines 2797..2810
    app/spdx.js on lines 3069..3082
    app/spdx.js on lines 3431..3444
    app/spdx.js on lines 3445..3458
    app/spdx.js on lines 3560..3573
    app/spdx.js on lines 3614..3627
    app/spdx.js on lines 3743..3756
    app/spdx.js on lines 4155..4168
    app/spdx.js on lines 4307..4320
    app/spdx.js on lines 4378..4391

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 50.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

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

        {
          reference: './W3C.html',
          isDeprecatedLicenseId: false,
          isFsfLibre: true,
          detailsUrl: 'http://spdx.org/licenses/W3C.json',
    Severity: Major
    Found in app/spdx.js and 49 other locations - About 45 mins to fix
    app/spdx.js on lines 35..48
    app/spdx.js on lines 49..62
    app/spdx.js on lines 87..100
    app/spdx.js on lines 132..145
    app/spdx.js on lines 146..159
    app/spdx.js on lines 160..173
    app/spdx.js on lines 344..357
    app/spdx.js on lines 358..371
    app/spdx.js on lines 402..415
    app/spdx.js on lines 610..623
    app/spdx.js on lines 1242..1255
    app/spdx.js on lines 1256..1269
    app/spdx.js on lines 1385..1398
    app/spdx.js on lines 1399..1412
    app/spdx.js on lines 1413..1426
    app/spdx.js on lines 1427..1440
    app/spdx.js on lines 1553..1566
    app/spdx.js on lines 1757..1770
    app/spdx.js on lines 1771..1784
    app/spdx.js on lines 1785..1798
    app/spdx.js on lines 1799..1812
    app/spdx.js on lines 1869..1882
    app/spdx.js on lines 1883..1896
    app/spdx.js on lines 1897..1910
    app/spdx.js on lines 1911..1924
    app/spdx.js on lines 2070..2083
    app/spdx.js on lines 2094..2107
    app/spdx.js on lines 2253..2266
    app/spdx.js on lines 2267..2280
    app/spdx.js on lines 2281..2294
    app/spdx.js on lines 2295..2308
    app/spdx.js on lines 2309..2322
    app/spdx.js on lines 2323..2336
    app/spdx.js on lines 2337..2350
    app/spdx.js on lines 2351..2364
    app/spdx.js on lines 2385..2398
    app/spdx.js on lines 2628..2641
    app/spdx.js on lines 2642..2655
    app/spdx.js on lines 2669..2682
    app/spdx.js on lines 2683..2696
    app/spdx.js on lines 2797..2810
    app/spdx.js on lines 3069..3082
    app/spdx.js on lines 3431..3444
    app/spdx.js on lines 3445..3458
    app/spdx.js on lines 3560..3573
    app/spdx.js on lines 3614..3627
    app/spdx.js on lines 3743..3756
    app/spdx.js on lines 4307..4320
    app/spdx.js on lines 4378..4391

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 50.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

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

        {
          reference: './AFL-1.1.html',
          isDeprecatedLicenseId: false,
          isFsfLibre: true,
          detailsUrl: 'http://spdx.org/licenses/AFL-1.1.json',
    Severity: Major
    Found in app/spdx.js and 49 other locations - About 45 mins to fix
    app/spdx.js on lines 49..62
    app/spdx.js on lines 87..100
    app/spdx.js on lines 132..145
    app/spdx.js on lines 146..159
    app/spdx.js on lines 160..173
    app/spdx.js on lines 344..357
    app/spdx.js on lines 358..371
    app/spdx.js on lines 402..415
    app/spdx.js on lines 610..623
    app/spdx.js on lines 1242..1255
    app/spdx.js on lines 1256..1269
    app/spdx.js on lines 1385..1398
    app/spdx.js on lines 1399..1412
    app/spdx.js on lines 1413..1426
    app/spdx.js on lines 1427..1440
    app/spdx.js on lines 1553..1566
    app/spdx.js on lines 1757..1770
    app/spdx.js on lines 1771..1784
    app/spdx.js on lines 1785..1798
    app/spdx.js on lines 1799..1812
    app/spdx.js on lines 1869..1882
    app/spdx.js on lines 1883..1896
    app/spdx.js on lines 1897..1910
    app/spdx.js on lines 1911..1924
    app/spdx.js on lines 2070..2083
    app/spdx.js on lines 2094..2107
    app/spdx.js on lines 2253..2266
    app/spdx.js on lines 2267..2280
    app/spdx.js on lines 2281..2294
    app/spdx.js on lines 2295..2308
    app/spdx.js on lines 2309..2322
    app/spdx.js on lines 2323..2336
    app/spdx.js on lines 2337..2350
    app/spdx.js on lines 2351..2364
    app/spdx.js on lines 2385..2398
    app/spdx.js on lines 2628..2641
    app/spdx.js on lines 2642..2655
    app/spdx.js on lines 2669..2682
    app/spdx.js on lines 2683..2696
    app/spdx.js on lines 2797..2810
    app/spdx.js on lines 3069..3082
    app/spdx.js on lines 3431..3444
    app/spdx.js on lines 3445..3458
    app/spdx.js on lines 3560..3573
    app/spdx.js on lines 3614..3627
    app/spdx.js on lines 3743..3756
    app/spdx.js on lines 4155..4168
    app/spdx.js on lines 4307..4320
    app/spdx.js on lines 4378..4391

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 50.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

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

        {
          reference: './ClArtistic.html',
          isDeprecatedLicenseId: false,
          isFsfLibre: true,
          detailsUrl: 'http://spdx.org/licenses/ClArtistic.json',
    Severity: Major
    Found in app/spdx.js and 49 other locations - About 45 mins to fix
    app/spdx.js on lines 35..48
    app/spdx.js on lines 49..62
    app/spdx.js on lines 87..100
    app/spdx.js on lines 132..145
    app/spdx.js on lines 146..159
    app/spdx.js on lines 160..173
    app/spdx.js on lines 344..357
    app/spdx.js on lines 358..371
    app/spdx.js on lines 402..415
    app/spdx.js on lines 610..623
    app/spdx.js on lines 1256..1269
    app/spdx.js on lines 1385..1398
    app/spdx.js on lines 1399..1412
    app/spdx.js on lines 1413..1426
    app/spdx.js on lines 1427..1440
    app/spdx.js on lines 1553..1566
    app/spdx.js on lines 1757..1770
    app/spdx.js on lines 1771..1784
    app/spdx.js on lines 1785..1798
    app/spdx.js on lines 1799..1812
    app/spdx.js on lines 1869..1882
    app/spdx.js on lines 1883..1896
    app/spdx.js on lines 1897..1910
    app/spdx.js on lines 1911..1924
    app/spdx.js on lines 2070..2083
    app/spdx.js on lines 2094..2107
    app/spdx.js on lines 2253..2266
    app/spdx.js on lines 2267..2280
    app/spdx.js on lines 2281..2294
    app/spdx.js on lines 2295..2308
    app/spdx.js on lines 2309..2322
    app/spdx.js on lines 2323..2336
    app/spdx.js on lines 2337..2350
    app/spdx.js on lines 2351..2364
    app/spdx.js on lines 2385..2398
    app/spdx.js on lines 2628..2641
    app/spdx.js on lines 2642..2655
    app/spdx.js on lines 2669..2682
    app/spdx.js on lines 2683..2696
    app/spdx.js on lines 2797..2810
    app/spdx.js on lines 3069..3082
    app/spdx.js on lines 3431..3444
    app/spdx.js on lines 3445..3458
    app/spdx.js on lines 3560..3573
    app/spdx.js on lines 3614..3627
    app/spdx.js on lines 3743..3756
    app/spdx.js on lines 4155..4168
    app/spdx.js on lines 4307..4320
    app/spdx.js on lines 4378..4391

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 50.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

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

        {
          reference: './EUDatagrid.html',
          isDeprecatedLicenseId: false,
          isFsfLibre: true,
          detailsUrl: 'http://spdx.org/licenses/EUDatagrid.json',
    Severity: Major
    Found in app/spdx.js and 49 other locations - About 45 mins to fix
    app/spdx.js on lines 35..48
    app/spdx.js on lines 49..62
    app/spdx.js on lines 87..100
    app/spdx.js on lines 132..145
    app/spdx.js on lines 146..159
    app/spdx.js on lines 160..173
    app/spdx.js on lines 344..357
    app/spdx.js on lines 358..371
    app/spdx.js on lines 402..415
    app/spdx.js on lines 610..623
    app/spdx.js on lines 1242..1255
    app/spdx.js on lines 1256..1269
    app/spdx.js on lines 1385..1398
    app/spdx.js on lines 1399..1412
    app/spdx.js on lines 1413..1426
    app/spdx.js on lines 1553..1566
    app/spdx.js on lines 1757..1770
    app/spdx.js on lines 1771..1784
    app/spdx.js on lines 1785..1798
    app/spdx.js on lines 1799..1812
    app/spdx.js on lines 1869..1882
    app/spdx.js on lines 1883..1896
    app/spdx.js on lines 1897..1910
    app/spdx.js on lines 1911..1924
    app/spdx.js on lines 2070..2083
    app/spdx.js on lines 2094..2107
    app/spdx.js on lines 2253..2266
    app/spdx.js on lines 2267..2280
    app/spdx.js on lines 2281..2294
    app/spdx.js on lines 2295..2308
    app/spdx.js on lines 2309..2322
    app/spdx.js on lines 2323..2336
    app/spdx.js on lines 2337..2350
    app/spdx.js on lines 2351..2364
    app/spdx.js on lines 2385..2398
    app/spdx.js on lines 2628..2641
    app/spdx.js on lines 2642..2655
    app/spdx.js on lines 2669..2682
    app/spdx.js on lines 2683..2696
    app/spdx.js on lines 2797..2810
    app/spdx.js on lines 3069..3082
    app/spdx.js on lines 3431..3444
    app/spdx.js on lines 3445..3458
    app/spdx.js on lines 3560..3573
    app/spdx.js on lines 3614..3627
    app/spdx.js on lines 3743..3756
    app/spdx.js on lines 4155..4168
    app/spdx.js on lines 4307..4320
    app/spdx.js on lines 4378..4391

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 50.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

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

        {
          reference: './Imlib2.html',
          isDeprecatedLicenseId: false,
          isFsfLibre: true,
          detailsUrl: 'http://spdx.org/licenses/Imlib2.json',
    Severity: Major
    Found in app/spdx.js and 49 other locations - About 45 mins to fix
    app/spdx.js on lines 35..48
    app/spdx.js on lines 49..62
    app/spdx.js on lines 87..100
    app/spdx.js on lines 132..145
    app/spdx.js on lines 146..159
    app/spdx.js on lines 160..173
    app/spdx.js on lines 344..357
    app/spdx.js on lines 358..371
    app/spdx.js on lines 402..415
    app/spdx.js on lines 610..623
    app/spdx.js on lines 1242..1255
    app/spdx.js on lines 1256..1269
    app/spdx.js on lines 1385..1398
    app/spdx.js on lines 1399..1412
    app/spdx.js on lines 1413..1426
    app/spdx.js on lines 1427..1440
    app/spdx.js on lines 1553..1566
    app/spdx.js on lines 1757..1770
    app/spdx.js on lines 1771..1784
    app/spdx.js on lines 1785..1798
    app/spdx.js on lines 1799..1812
    app/spdx.js on lines 1869..1882
    app/spdx.js on lines 1883..1896
    app/spdx.js on lines 1897..1910
    app/spdx.js on lines 1911..1924
    app/spdx.js on lines 2070..2083
    app/spdx.js on lines 2253..2266
    app/spdx.js on lines 2267..2280
    app/spdx.js on lines 2281..2294
    app/spdx.js on lines 2295..2308
    app/spdx.js on lines 2309..2322
    app/spdx.js on lines 2323..2336
    app/spdx.js on lines 2337..2350
    app/spdx.js on lines 2351..2364
    app/spdx.js on lines 2385..2398
    app/spdx.js on lines 2628..2641
    app/spdx.js on lines 2642..2655
    app/spdx.js on lines 2669..2682
    app/spdx.js on lines 2683..2696
    app/spdx.js on lines 2797..2810
    app/spdx.js on lines 3069..3082
    app/spdx.js on lines 3431..3444
    app/spdx.js on lines 3445..3458
    app/spdx.js on lines 3560..3573
    app/spdx.js on lines 3614..3627
    app/spdx.js on lines 3743..3756
    app/spdx.js on lines 4155..4168
    app/spdx.js on lines 4307..4320
    app/spdx.js on lines 4378..4391

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 50.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

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

        {
          reference: './Artistic-2.0.html',
          isDeprecatedLicenseId: false,
          isFsfLibre: true,
          detailsUrl: 'http://spdx.org/licenses/Artistic-2.0.json',
    Severity: Major
    Found in app/spdx.js and 49 other locations - About 45 mins to fix
    app/spdx.js on lines 35..48
    app/spdx.js on lines 49..62
    app/spdx.js on lines 87..100
    app/spdx.js on lines 132..145
    app/spdx.js on lines 146..159
    app/spdx.js on lines 160..173
    app/spdx.js on lines 344..357
    app/spdx.js on lines 358..371
    app/spdx.js on lines 610..623
    app/spdx.js on lines 1242..1255
    app/spdx.js on lines 1256..1269
    app/spdx.js on lines 1385..1398
    app/spdx.js on lines 1399..1412
    app/spdx.js on lines 1413..1426
    app/spdx.js on lines 1427..1440
    app/spdx.js on lines 1553..1566
    app/spdx.js on lines 1757..1770
    app/spdx.js on lines 1771..1784
    app/spdx.js on lines 1785..1798
    app/spdx.js on lines 1799..1812
    app/spdx.js on lines 1869..1882
    app/spdx.js on lines 1883..1896
    app/spdx.js on lines 1897..1910
    app/spdx.js on lines 1911..1924
    app/spdx.js on lines 2070..2083
    app/spdx.js on lines 2094..2107
    app/spdx.js on lines 2253..2266
    app/spdx.js on lines 2267..2280
    app/spdx.js on lines 2281..2294
    app/spdx.js on lines 2295..2308
    app/spdx.js on lines 2309..2322
    app/spdx.js on lines 2323..2336
    app/spdx.js on lines 2337..2350
    app/spdx.js on lines 2351..2364
    app/spdx.js on lines 2385..2398
    app/spdx.js on lines 2628..2641
    app/spdx.js on lines 2642..2655
    app/spdx.js on lines 2669..2682
    app/spdx.js on lines 2683..2696
    app/spdx.js on lines 2797..2810
    app/spdx.js on lines 3069..3082
    app/spdx.js on lines 3431..3444
    app/spdx.js on lines 3445..3458
    app/spdx.js on lines 3560..3573
    app/spdx.js on lines 3614..3627
    app/spdx.js on lines 3743..3756
    app/spdx.js on lines 4155..4168
    app/spdx.js on lines 4307..4320
    app/spdx.js on lines 4378..4391

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 50.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

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

        {
          reference: './GPL-2.0-or-later.html',
          isDeprecatedLicenseId: false,
          isFsfLibre: true,
          detailsUrl: 'http://spdx.org/licenses/GPL-2.0-or-later.json',
    Severity: Major
    Found in app/spdx.js and 49 other locations - About 45 mins to fix
    app/spdx.js on lines 35..48
    app/spdx.js on lines 49..62
    app/spdx.js on lines 87..100
    app/spdx.js on lines 132..145
    app/spdx.js on lines 146..159
    app/spdx.js on lines 160..173
    app/spdx.js on lines 344..357
    app/spdx.js on lines 358..371
    app/spdx.js on lines 402..415
    app/spdx.js on lines 610..623
    app/spdx.js on lines 1242..1255
    app/spdx.js on lines 1256..1269
    app/spdx.js on lines 1385..1398
    app/spdx.js on lines 1399..1412
    app/spdx.js on lines 1413..1426
    app/spdx.js on lines 1427..1440
    app/spdx.js on lines 1553..1566
    app/spdx.js on lines 1757..1770
    app/spdx.js on lines 1771..1784
    app/spdx.js on lines 1785..1798
    app/spdx.js on lines 1869..1882
    app/spdx.js on lines 1883..1896
    app/spdx.js on lines 1897..1910
    app/spdx.js on lines 1911..1924
    app/spdx.js on lines 2070..2083
    app/spdx.js on lines 2094..2107
    app/spdx.js on lines 2253..2266
    app/spdx.js on lines 2267..2280
    app/spdx.js on lines 2281..2294
    app/spdx.js on lines 2295..2308
    app/spdx.js on lines 2309..2322
    app/spdx.js on lines 2323..2336
    app/spdx.js on lines 2337..2350
    app/spdx.js on lines 2351..2364
    app/spdx.js on lines 2385..2398
    app/spdx.js on lines 2628..2641
    app/spdx.js on lines 2642..2655
    app/spdx.js on lines 2669..2682
    app/spdx.js on lines 2683..2696
    app/spdx.js on lines 2797..2810
    app/spdx.js on lines 3069..3082
    app/spdx.js on lines 3431..3444
    app/spdx.js on lines 3445..3458
    app/spdx.js on lines 3560..3573
    app/spdx.js on lines 3614..3627
    app/spdx.js on lines 3743..3756
    app/spdx.js on lines 4155..4168
    app/spdx.js on lines 4307..4320
    app/spdx.js on lines 4378..4391

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 50.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

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

        {
          reference: './QPL-1.0.html',
          isDeprecatedLicenseId: false,
          isFsfLibre: true,
          detailsUrl: 'http://spdx.org/licenses/QPL-1.0.json',
    Severity: Major
    Found in app/spdx.js and 49 other locations - About 45 mins to fix
    app/spdx.js on lines 35..48
    app/spdx.js on lines 49..62
    app/spdx.js on lines 87..100
    app/spdx.js on lines 132..145
    app/spdx.js on lines 146..159
    app/spdx.js on lines 160..173
    app/spdx.js on lines 344..357
    app/spdx.js on lines 358..371
    app/spdx.js on lines 402..415
    app/spdx.js on lines 610..623
    app/spdx.js on lines 1242..1255
    app/spdx.js on lines 1256..1269
    app/spdx.js on lines 1385..1398
    app/spdx.js on lines 1399..1412
    app/spdx.js on lines 1413..1426
    app/spdx.js on lines 1427..1440
    app/spdx.js on lines 1553..1566
    app/spdx.js on lines 1757..1770
    app/spdx.js on lines 1771..1784
    app/spdx.js on lines 1785..1798
    app/spdx.js on lines 1799..1812
    app/spdx.js on lines 1869..1882
    app/spdx.js on lines 1883..1896
    app/spdx.js on lines 1897..1910
    app/spdx.js on lines 1911..1924
    app/spdx.js on lines 2070..2083
    app/spdx.js on lines 2094..2107
    app/spdx.js on lines 2253..2266
    app/spdx.js on lines 2267..2280
    app/spdx.js on lines 2281..2294
    app/spdx.js on lines 2295..2308
    app/spdx.js on lines 2309..2322
    app/spdx.js on lines 2323..2336
    app/spdx.js on lines 2337..2350
    app/spdx.js on lines 2351..2364
    app/spdx.js on lines 2385..2398
    app/spdx.js on lines 2628..2641
    app/spdx.js on lines 2642..2655
    app/spdx.js on lines 2669..2682
    app/spdx.js on lines 2683..2696
    app/spdx.js on lines 2797..2810
    app/spdx.js on lines 3069..3082
    app/spdx.js on lines 3431..3444
    app/spdx.js on lines 3445..3458
    app/spdx.js on lines 3614..3627
    app/spdx.js on lines 3743..3756
    app/spdx.js on lines 4155..4168
    app/spdx.js on lines 4307..4320
    app/spdx.js on lines 4378..4391

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 50.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

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

        {
          reference: './SISSL.html',
          isDeprecatedLicenseId: false,
          isFsfLibre: true,
          detailsUrl: 'http://spdx.org/licenses/SISSL.json',
    Severity: Major
    Found in app/spdx.js and 49 other locations - About 45 mins to fix
    app/spdx.js on lines 35..48
    app/spdx.js on lines 49..62
    app/spdx.js on lines 87..100
    app/spdx.js on lines 132..145
    app/spdx.js on lines 146..159
    app/spdx.js on lines 160..173
    app/spdx.js on lines 344..357
    app/spdx.js on lines 358..371
    app/spdx.js on lines 402..415
    app/spdx.js on lines 610..623
    app/spdx.js on lines 1242..1255
    app/spdx.js on lines 1256..1269
    app/spdx.js on lines 1385..1398
    app/spdx.js on lines 1399..1412
    app/spdx.js on lines 1413..1426
    app/spdx.js on lines 1427..1440
    app/spdx.js on lines 1553..1566
    app/spdx.js on lines 1757..1770
    app/spdx.js on lines 1771..1784
    app/spdx.js on lines 1785..1798
    app/spdx.js on lines 1799..1812
    app/spdx.js on lines 1869..1882
    app/spdx.js on lines 1883..1896
    app/spdx.js on lines 1897..1910
    app/spdx.js on lines 1911..1924
    app/spdx.js on lines 2070..2083
    app/spdx.js on lines 2094..2107
    app/spdx.js on lines 2253..2266
    app/spdx.js on lines 2267..2280
    app/spdx.js on lines 2281..2294
    app/spdx.js on lines 2295..2308
    app/spdx.js on lines 2309..2322
    app/spdx.js on lines 2323..2336
    app/spdx.js on lines 2337..2350
    app/spdx.js on lines 2351..2364
    app/spdx.js on lines 2385..2398
    app/spdx.js on lines 2628..2641
    app/spdx.js on lines 2642..2655
    app/spdx.js on lines 2669..2682
    app/spdx.js on lines 2683..2696
    app/spdx.js on lines 2797..2810
    app/spdx.js on lines 3069..3082
    app/spdx.js on lines 3431..3444
    app/spdx.js on lines 3445..3458
    app/spdx.js on lines 3560..3573
    app/spdx.js on lines 3614..3627
    app/spdx.js on lines 4155..4168
    app/spdx.js on lines 4307..4320
    app/spdx.js on lines 4378..4391

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 50.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

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

        {
          reference: './ZPL-2.0.html',
          isDeprecatedLicenseId: false,
          isFsfLibre: true,
          detailsUrl: 'http://spdx.org/licenses/ZPL-2.0.json',
    Severity: Major
    Found in app/spdx.js and 49 other locations - About 45 mins to fix
    app/spdx.js on lines 35..48
    app/spdx.js on lines 49..62
    app/spdx.js on lines 87..100
    app/spdx.js on lines 132..145
    app/spdx.js on lines 146..159
    app/spdx.js on lines 160..173
    app/spdx.js on lines 344..357
    app/spdx.js on lines 358..371
    app/spdx.js on lines 402..415
    app/spdx.js on lines 610..623
    app/spdx.js on lines 1242..1255
    app/spdx.js on lines 1256..1269
    app/spdx.js on lines 1385..1398
    app/spdx.js on lines 1399..1412
    app/spdx.js on lines 1413..1426
    app/spdx.js on lines 1427..1440
    app/spdx.js on lines 1553..1566
    app/spdx.js on lines 1757..1770
    app/spdx.js on lines 1771..1784
    app/spdx.js on lines 1785..1798
    app/spdx.js on lines 1799..1812
    app/spdx.js on lines 1869..1882
    app/spdx.js on lines 1883..1896
    app/spdx.js on lines 1897..1910
    app/spdx.js on lines 1911..1924
    app/spdx.js on lines 2070..2083
    app/spdx.js on lines 2094..2107
    app/spdx.js on lines 2253..2266
    app/spdx.js on lines 2267..2280
    app/spdx.js on lines 2281..2294
    app/spdx.js on lines 2295..2308
    app/spdx.js on lines 2309..2322
    app/spdx.js on lines 2323..2336
    app/spdx.js on lines 2337..2350
    app/spdx.js on lines 2351..2364
    app/spdx.js on lines 2385..2398
    app/spdx.js on lines 2628..2641
    app/spdx.js on lines 2642..2655
    app/spdx.js on lines 2669..2682
    app/spdx.js on lines 2683..2696
    app/spdx.js on lines 2797..2810
    app/spdx.js on lines 3069..3082
    app/spdx.js on lines 3431..3444
    app/spdx.js on lines 3445..3458
    app/spdx.js on lines 3560..3573
    app/spdx.js on lines 3614..3627
    app/spdx.js on lines 3743..3756
    app/spdx.js on lines 4155..4168
    app/spdx.js on lines 4378..4391

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 50.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

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

        {
          reference: './ISC.html',
          isDeprecatedLicenseId: false,
          isFsfLibre: true,
          detailsUrl: 'http://spdx.org/licenses/ISC.json',
    Severity: Major
    Found in app/spdx.js and 49 other locations - About 45 mins to fix
    app/spdx.js on lines 35..48
    app/spdx.js on lines 49..62
    app/spdx.js on lines 87..100
    app/spdx.js on lines 132..145
    app/spdx.js on lines 146..159
    app/spdx.js on lines 160..173
    app/spdx.js on lines 344..357
    app/spdx.js on lines 358..371
    app/spdx.js on lines 402..415
    app/spdx.js on lines 610..623
    app/spdx.js on lines 1242..1255
    app/spdx.js on lines 1256..1269
    app/spdx.js on lines 1385..1398
    app/spdx.js on lines 1399..1412
    app/spdx.js on lines 1413..1426
    app/spdx.js on lines 1427..1440
    app/spdx.js on lines 1553..1566
    app/spdx.js on lines 1757..1770
    app/spdx.js on lines 1771..1784
    app/spdx.js on lines 1785..1798
    app/spdx.js on lines 1799..1812
    app/spdx.js on lines 1869..1882
    app/spdx.js on lines 1883..1896
    app/spdx.js on lines 1897..1910
    app/spdx.js on lines 1911..1924
    app/spdx.js on lines 2094..2107
    app/spdx.js on lines 2253..2266
    app/spdx.js on lines 2267..2280
    app/spdx.js on lines 2281..2294
    app/spdx.js on lines 2295..2308
    app/spdx.js on lines 2309..2322
    app/spdx.js on lines 2323..2336
    app/spdx.js on lines 2337..2350
    app/spdx.js on lines 2351..2364
    app/spdx.js on lines 2385..2398
    app/spdx.js on lines 2628..2641
    app/spdx.js on lines 2642..2655
    app/spdx.js on lines 2669..2682
    app/spdx.js on lines 2683..2696
    app/spdx.js on lines 2797..2810
    app/spdx.js on lines 3069..3082
    app/spdx.js on lines 3431..3444
    app/spdx.js on lines 3445..3458
    app/spdx.js on lines 3560..3573
    app/spdx.js on lines 3614..3627
    app/spdx.js on lines 3743..3756
    app/spdx.js on lines 4155..4168
    app/spdx.js on lines 4307..4320
    app/spdx.js on lines 4378..4391

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 50.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

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

        {
          reference: './LGPL-3.0+.html',
          isDeprecatedLicenseId: true,
          isFsfLibre: true,
          detailsUrl: 'http://spdx.org/licenses/LGPL-3.0+.json',
    Severity: Major
    Found in app/spdx.js and 49 other locations - About 45 mins to fix
    app/spdx.js on lines 35..48
    app/spdx.js on lines 49..62
    app/spdx.js on lines 87..100
    app/spdx.js on lines 132..145
    app/spdx.js on lines 146..159
    app/spdx.js on lines 160..173
    app/spdx.js on lines 344..357
    app/spdx.js on lines 358..371
    app/spdx.js on lines 402..415
    app/spdx.js on lines 610..623
    app/spdx.js on lines 1242..1255
    app/spdx.js on lines 1256..1269
    app/spdx.js on lines 1385..1398
    app/spdx.js on lines 1399..1412
    app/spdx.js on lines 1413..1426
    app/spdx.js on lines 1427..1440
    app/spdx.js on lines 1553..1566
    app/spdx.js on lines 1757..1770
    app/spdx.js on lines 1771..1784
    app/spdx.js on lines 1785..1798
    app/spdx.js on lines 1799..1812
    app/spdx.js on lines 1869..1882
    app/spdx.js on lines 1883..1896
    app/spdx.js on lines 1897..1910
    app/spdx.js on lines 1911..1924
    app/spdx.js on lines 2070..2083
    app/spdx.js on lines 2094..2107
    app/spdx.js on lines 2253..2266
    app/spdx.js on lines 2267..2280
    app/spdx.js on lines 2281..2294
    app/spdx.js on lines 2295..2308
    app/spdx.js on lines 2309..2322
    app/spdx.js on lines 2337..2350
    app/spdx.js on lines 2351..2364
    app/spdx.js on lines 2385..2398
    app/spdx.js on lines 2628..2641
    app/spdx.js on lines 2642..2655
    app/spdx.js on lines 2669..2682
    app/spdx.js on lines 2683..2696
    app/spdx.js on lines 2797..2810
    app/spdx.js on lines 3069..3082
    app/spdx.js on lines 3431..3444
    app/spdx.js on lines 3445..3458
    app/spdx.js on lines 3560..3573
    app/spdx.js on lines 3614..3627
    app/spdx.js on lines 3743..3756
    app/spdx.js on lines 4155..4168
    app/spdx.js on lines 4307..4320
    app/spdx.js on lines 4378..4391

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 50.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

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

        {
          reference: './LGPL-3.0-only.html',
          isDeprecatedLicenseId: false,
          isFsfLibre: true,
          detailsUrl: 'http://spdx.org/licenses/LGPL-3.0-only.json',
    Severity: Major
    Found in app/spdx.js and 49 other locations - About 45 mins to fix
    app/spdx.js on lines 35..48
    app/spdx.js on lines 49..62
    app/spdx.js on lines 87..100
    app/spdx.js on lines 132..145
    app/spdx.js on lines 146..159
    app/spdx.js on lines 160..173
    app/spdx.js on lines 344..357
    app/spdx.js on lines 358..371
    app/spdx.js on lines 402..415
    app/spdx.js on lines 610..623
    app/spdx.js on lines 1242..1255
    app/spdx.js on lines 1256..1269
    app/spdx.js on lines 1385..1398
    app/spdx.js on lines 1399..1412
    app/spdx.js on lines 1413..1426
    app/spdx.js on lines 1427..1440
    app/spdx.js on lines 1553..1566
    app/spdx.js on lines 1757..1770
    app/spdx.js on lines 1771..1784
    app/spdx.js on lines 1785..1798
    app/spdx.js on lines 1799..1812
    app/spdx.js on lines 1869..1882
    app/spdx.js on lines 1883..1896
    app/spdx.js on lines 1897..1910
    app/spdx.js on lines 1911..1924
    app/spdx.js on lines 2070..2083
    app/spdx.js on lines 2094..2107
    app/spdx.js on lines 2253..2266
    app/spdx.js on lines 2267..2280
    app/spdx.js on lines 2281..2294
    app/spdx.js on lines 2295..2308
    app/spdx.js on lines 2309..2322
    app/spdx.js on lines 2323..2336
    app/spdx.js on lines 2351..2364
    app/spdx.js on lines 2385..2398
    app/spdx.js on lines 2628..2641
    app/spdx.js on lines 2642..2655
    app/spdx.js on lines 2669..2682
    app/spdx.js on lines 2683..2696
    app/spdx.js on lines 2797..2810
    app/spdx.js on lines 3069..3082
    app/spdx.js on lines 3431..3444
    app/spdx.js on lines 3445..3458
    app/spdx.js on lines 3560..3573
    app/spdx.js on lines 3614..3627
    app/spdx.js on lines 3743..3756
    app/spdx.js on lines 4155..4168
    app/spdx.js on lines 4307..4320
    app/spdx.js on lines 4378..4391

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 50.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

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

        {
          reference: './AGPL-3.0-or-later.html',
          isDeprecatedLicenseId: false,
          isFsfLibre: true,
          detailsUrl: 'http://spdx.org/licenses/AGPL-3.0-or-later.json',
    Severity: Major
    Found in app/spdx.js and 49 other locations - About 45 mins to fix
    app/spdx.js on lines 35..48
    app/spdx.js on lines 49..62
    app/spdx.js on lines 87..100
    app/spdx.js on lines 132..145
    app/spdx.js on lines 146..159
    app/spdx.js on lines 344..357
    app/spdx.js on lines 358..371
    app/spdx.js on lines 402..415
    app/spdx.js on lines 610..623
    app/spdx.js on lines 1242..1255
    app/spdx.js on lines 1256..1269
    app/spdx.js on lines 1385..1398
    app/spdx.js on lines 1399..1412
    app/spdx.js on lines 1413..1426
    app/spdx.js on lines 1427..1440
    app/spdx.js on lines 1553..1566
    app/spdx.js on lines 1757..1770
    app/spdx.js on lines 1771..1784
    app/spdx.js on lines 1785..1798
    app/spdx.js on lines 1799..1812
    app/spdx.js on lines 1869..1882
    app/spdx.js on lines 1883..1896
    app/spdx.js on lines 1897..1910
    app/spdx.js on lines 1911..1924
    app/spdx.js on lines 2070..2083
    app/spdx.js on lines 2094..2107
    app/spdx.js on lines 2253..2266
    app/spdx.js on lines 2267..2280
    app/spdx.js on lines 2281..2294
    app/spdx.js on lines 2295..2308
    app/spdx.js on lines 2309..2322
    app/spdx.js on lines 2323..2336
    app/spdx.js on lines 2337..2350
    app/spdx.js on lines 2351..2364
    app/spdx.js on lines 2385..2398
    app/spdx.js on lines 2628..2641
    app/spdx.js on lines 2642..2655
    app/spdx.js on lines 2669..2682
    app/spdx.js on lines 2683..2696
    app/spdx.js on lines 2797..2810
    app/spdx.js on lines 3069..3082
    app/spdx.js on lines 3431..3444
    app/spdx.js on lines 3445..3458
    app/spdx.js on lines 3560..3573
    app/spdx.js on lines 3614..3627
    app/spdx.js on lines 3743..3756
    app/spdx.js on lines 4155..4168
    app/spdx.js on lines 4307..4320
    app/spdx.js on lines 4378..4391

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 50.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

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

        {
          reference: './FTL.html',
          isDeprecatedLicenseId: false,
          isFsfLibre: true,
          detailsUrl: 'http://spdx.org/licenses/FTL.json',
    Severity: Major
    Found in app/spdx.js and 49 other locations - About 45 mins to fix
    app/spdx.js on lines 35..48
    app/spdx.js on lines 49..62
    app/spdx.js on lines 87..100
    app/spdx.js on lines 132..145
    app/spdx.js on lines 146..159
    app/spdx.js on lines 160..173
    app/spdx.js on lines 344..357
    app/spdx.js on lines 358..371
    app/spdx.js on lines 402..415
    app/spdx.js on lines 610..623
    app/spdx.js on lines 1242..1255
    app/spdx.js on lines 1256..1269
    app/spdx.js on lines 1385..1398
    app/spdx.js on lines 1399..1412
    app/spdx.js on lines 1413..1426
    app/spdx.js on lines 1427..1440
    app/spdx.js on lines 1757..1770
    app/spdx.js on lines 1771..1784
    app/spdx.js on lines 1785..1798
    app/spdx.js on lines 1799..1812
    app/spdx.js on lines 1869..1882
    app/spdx.js on lines 1883..1896
    app/spdx.js on lines 1897..1910
    app/spdx.js on lines 1911..1924
    app/spdx.js on lines 2070..2083
    app/spdx.js on lines 2094..2107
    app/spdx.js on lines 2253..2266
    app/spdx.js on lines 2267..2280
    app/spdx.js on lines 2281..2294
    app/spdx.js on lines 2295..2308
    app/spdx.js on lines 2309..2322
    app/spdx.js on lines 2323..2336
    app/spdx.js on lines 2337..2350
    app/spdx.js on lines 2351..2364
    app/spdx.js on lines 2385..2398
    app/spdx.js on lines 2628..2641
    app/spdx.js on lines 2642..2655
    app/spdx.js on lines 2669..2682
    app/spdx.js on lines 2683..2696
    app/spdx.js on lines 2797..2810
    app/spdx.js on lines 3069..3082
    app/spdx.js on lines 3431..3444
    app/spdx.js on lines 3445..3458
    app/spdx.js on lines 3560..3573
    app/spdx.js on lines 3614..3627
    app/spdx.js on lines 3743..3756
    app/spdx.js on lines 4155..4168
    app/spdx.js on lines 4307..4320
    app/spdx.js on lines 4378..4391

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 50.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

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

        {
          reference: './GPL-3.0-or-later.html',
          isDeprecatedLicenseId: false,
          isFsfLibre: true,
          detailsUrl: 'http://spdx.org/licenses/GPL-3.0-or-later.json',
    Severity: Major
    Found in app/spdx.js and 49 other locations - About 45 mins to fix
    app/spdx.js on lines 35..48
    app/spdx.js on lines 49..62
    app/spdx.js on lines 87..100
    app/spdx.js on lines 132..145
    app/spdx.js on lines 146..159
    app/spdx.js on lines 160..173
    app/spdx.js on lines 344..357
    app/spdx.js on lines 358..371
    app/spdx.js on lines 402..415
    app/spdx.js on lines 610..623
    app/spdx.js on lines 1242..1255
    app/spdx.js on lines 1256..1269
    app/spdx.js on lines 1385..1398
    app/spdx.js on lines 1399..1412
    app/spdx.js on lines 1413..1426
    app/spdx.js on lines 1427..1440
    app/spdx.js on lines 1553..1566
    app/spdx.js on lines 1757..1770
    app/spdx.js on lines 1771..1784
    app/spdx.js on lines 1785..1798
    app/spdx.js on lines 1799..1812
    app/spdx.js on lines 1869..1882
    app/spdx.js on lines 1883..1896
    app/spdx.js on lines 1897..1910
    app/spdx.js on lines 2070..2083
    app/spdx.js on lines 2094..2107
    app/spdx.js on lines 2253..2266
    app/spdx.js on lines 2267..2280
    app/spdx.js on lines 2281..2294
    app/spdx.js on lines 2295..2308
    app/spdx.js on lines 2309..2322
    app/spdx.js on lines 2323..2336
    app/spdx.js on lines 2337..2350
    app/spdx.js on lines 2351..2364
    app/spdx.js on lines 2385..2398
    app/spdx.js on lines 2628..2641
    app/spdx.js on lines 2642..2655
    app/spdx.js on lines 2669..2682
    app/spdx.js on lines 2683..2696
    app/spdx.js on lines 2797..2810
    app/spdx.js on lines 3069..3082
    app/spdx.js on lines 3431..3444
    app/spdx.js on lines 3445..3458
    app/spdx.js on lines 3560..3573
    app/spdx.js on lines 3614..3627
    app/spdx.js on lines 3743..3756
    app/spdx.js on lines 4155..4168
    app/spdx.js on lines 4307..4320
    app/spdx.js on lines 4378..4391

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 50.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

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

        {
          reference: './AFL-3.0.html',
          isDeprecatedLicenseId: false,
          isFsfLibre: true,
          detailsUrl: 'http://spdx.org/licenses/AFL-3.0.json',
    Severity: Major
    Found in app/spdx.js and 49 other locations - About 45 mins to fix
    app/spdx.js on lines 35..48
    app/spdx.js on lines 49..62
    app/spdx.js on lines 132..145
    app/spdx.js on lines 146..159
    app/spdx.js on lines 160..173
    app/spdx.js on lines 344..357
    app/spdx.js on lines 358..371
    app/spdx.js on lines 402..415
    app/spdx.js on lines 610..623
    app/spdx.js on lines 1242..1255
    app/spdx.js on lines 1256..1269
    app/spdx.js on lines 1385..1398
    app/spdx.js on lines 1399..1412
    app/spdx.js on lines 1413..1426
    app/spdx.js on lines 1427..1440
    app/spdx.js on lines 1553..1566
    app/spdx.js on lines 1757..1770
    app/spdx.js on lines 1771..1784
    app/spdx.js on lines 1785..1798
    app/spdx.js on lines 1799..1812
    app/spdx.js on lines 1869..1882
    app/spdx.js on lines 1883..1896
    app/spdx.js on lines 1897..1910
    app/spdx.js on lines 1911..1924
    app/spdx.js on lines 2070..2083
    app/spdx.js on lines 2094..2107
    app/spdx.js on lines 2253..2266
    app/spdx.js on lines 2267..2280
    app/spdx.js on lines 2281..2294
    app/spdx.js on lines 2295..2308
    app/spdx.js on lines 2309..2322
    app/spdx.js on lines 2323..2336
    app/spdx.js on lines 2337..2350
    app/spdx.js on lines 2351..2364
    app/spdx.js on lines 2385..2398
    app/spdx.js on lines 2628..2641
    app/spdx.js on lines 2642..2655
    app/spdx.js on lines 2669..2682
    app/spdx.js on lines 2683..2696
    app/spdx.js on lines 2797..2810
    app/spdx.js on lines 3069..3082
    app/spdx.js on lines 3431..3444
    app/spdx.js on lines 3445..3458
    app/spdx.js on lines 3560..3573
    app/spdx.js on lines 3614..3627
    app/spdx.js on lines 3743..3756
    app/spdx.js on lines 4155..4168
    app/spdx.js on lines 4307..4320
    app/spdx.js on lines 4378..4391

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 50.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

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

        {
          reference: './Condor-1.1.html',
          isDeprecatedLicenseId: false,
          isFsfLibre: true,
          detailsUrl: 'http://spdx.org/licenses/Condor-1.1.json',
    Severity: Major
    Found in app/spdx.js and 49 other locations - About 45 mins to fix
    app/spdx.js on lines 35..48
    app/spdx.js on lines 49..62
    app/spdx.js on lines 87..100
    app/spdx.js on lines 132..145
    app/spdx.js on lines 146..159
    app/spdx.js on lines 160..173
    app/spdx.js on lines 344..357
    app/spdx.js on lines 358..371
    app/spdx.js on lines 402..415
    app/spdx.js on lines 610..623
    app/spdx.js on lines 1242..1255
    app/spdx.js on lines 1385..1398
    app/spdx.js on lines 1399..1412
    app/spdx.js on lines 1413..1426
    app/spdx.js on lines 1427..1440
    app/spdx.js on lines 1553..1566
    app/spdx.js on lines 1757..1770
    app/spdx.js on lines 1771..1784
    app/spdx.js on lines 1785..1798
    app/spdx.js on lines 1799..1812
    app/spdx.js on lines 1869..1882
    app/spdx.js on lines 1883..1896
    app/spdx.js on lines 1897..1910
    app/spdx.js on lines 1911..1924
    app/spdx.js on lines 2070..2083
    app/spdx.js on lines 2094..2107
    app/spdx.js on lines 2253..2266
    app/spdx.js on lines 2267..2280
    app/spdx.js on lines 2281..2294
    app/spdx.js on lines 2295..2308
    app/spdx.js on lines 2309..2322
    app/spdx.js on lines 2323..2336
    app/spdx.js on lines 2337..2350
    app/spdx.js on lines 2351..2364
    app/spdx.js on lines 2385..2398
    app/spdx.js on lines 2628..2641
    app/spdx.js on lines 2642..2655
    app/spdx.js on lines 2669..2682
    app/spdx.js on lines 2683..2696
    app/spdx.js on lines 2797..2810
    app/spdx.js on lines 3069..3082
    app/spdx.js on lines 3431..3444
    app/spdx.js on lines 3445..3458
    app/spdx.js on lines 3560..3573
    app/spdx.js on lines 3614..3627
    app/spdx.js on lines 3743..3756
    app/spdx.js on lines 4155..4168
    app/spdx.js on lines 4307..4320
    app/spdx.js on lines 4378..4391

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 50.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

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

        {
          reference: './GPL-2.0-only.html',
          isDeprecatedLicenseId: false,
          isFsfLibre: true,
          detailsUrl: 'http://spdx.org/licenses/GPL-2.0-only.json',
    Severity: Major
    Found in app/spdx.js and 49 other locations - About 45 mins to fix
    app/spdx.js on lines 35..48
    app/spdx.js on lines 49..62
    app/spdx.js on lines 87..100
    app/spdx.js on lines 132..145
    app/spdx.js on lines 146..159
    app/spdx.js on lines 160..173
    app/spdx.js on lines 344..357
    app/spdx.js on lines 358..371
    app/spdx.js on lines 402..415
    app/spdx.js on lines 610..623
    app/spdx.js on lines 1242..1255
    app/spdx.js on lines 1256..1269
    app/spdx.js on lines 1385..1398
    app/spdx.js on lines 1399..1412
    app/spdx.js on lines 1413..1426
    app/spdx.js on lines 1427..1440
    app/spdx.js on lines 1553..1566
    app/spdx.js on lines 1757..1770
    app/spdx.js on lines 1771..1784
    app/spdx.js on lines 1799..1812
    app/spdx.js on lines 1869..1882
    app/spdx.js on lines 1883..1896
    app/spdx.js on lines 1897..1910
    app/spdx.js on lines 1911..1924
    app/spdx.js on lines 2070..2083
    app/spdx.js on lines 2094..2107
    app/spdx.js on lines 2253..2266
    app/spdx.js on lines 2267..2280
    app/spdx.js on lines 2281..2294
    app/spdx.js on lines 2295..2308
    app/spdx.js on lines 2309..2322
    app/spdx.js on lines 2323..2336
    app/spdx.js on lines 2337..2350
    app/spdx.js on lines 2351..2364
    app/spdx.js on lines 2385..2398
    app/spdx.js on lines 2628..2641
    app/spdx.js on lines 2642..2655
    app/spdx.js on lines 2669..2682
    app/spdx.js on lines 2683..2696
    app/spdx.js on lines 2797..2810
    app/spdx.js on lines 3069..3082
    app/spdx.js on lines 3431..3444
    app/spdx.js on lines 3445..3458
    app/spdx.js on lines 3560..3573
    app/spdx.js on lines 3614..3627
    app/spdx.js on lines 3743..3756
    app/spdx.js on lines 4155..4168
    app/spdx.js on lines 4307..4320
    app/spdx.js on lines 4378..4391

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 50.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

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

        {
          reference: './MPL-2.0.html',
          isDeprecatedLicenseId: false,
          isFsfLibre: true,
          detailsUrl: 'http://spdx.org/licenses/MPL-2.0.json',
    Severity: Major
    Found in app/spdx.js and 49 other locations - About 45 mins to fix
    app/spdx.js on lines 35..48
    app/spdx.js on lines 49..62
    app/spdx.js on lines 87..100
    app/spdx.js on lines 132..145
    app/spdx.js on lines 146..159
    app/spdx.js on lines 160..173
    app/spdx.js on lines 344..357
    app/spdx.js on lines 358..371
    app/spdx.js on lines 402..415
    app/spdx.js on lines 610..623
    app/spdx.js on lines 1242..1255
    app/spdx.js on lines 1256..1269
    app/spdx.js on lines 1385..1398
    app/spdx.js on lines 1399..1412
    app/spdx.js on lines 1413..1426
    app/spdx.js on lines 1427..1440
    app/spdx.js on lines 1553..1566
    app/spdx.js on lines 1757..1770
    app/spdx.js on lines 1771..1784
    app/spdx.js on lines 1785..1798
    app/spdx.js on lines 1799..1812
    app/spdx.js on lines 1869..1882
    app/spdx.js on lines 1883..1896
    app/spdx.js on lines 1897..1910
    app/spdx.js on lines 1911..1924
    app/spdx.js on lines 2070..2083
    app/spdx.js on lines 2094..2107
    app/spdx.js on lines 2253..2266
    app/spdx.js on lines 2267..2280
    app/spdx.js on lines 2281..2294
    app/spdx.js on lines 2295..2308
    app/spdx.js on lines 2309..2322
    app/spdx.js on lines 2323..2336
    app/spdx.js on lines 2337..2350
    app/spdx.js on lines 2351..2364
    app/spdx.js on lines 2385..2398
    app/spdx.js on lines 2628..2641
    app/spdx.js on lines 2669..2682
    app/spdx.js on lines 2683..2696
    app/spdx.js on lines 2797..2810
    app/spdx.js on lines 3069..3082
    app/spdx.js on lines 3431..3444
    app/spdx.js on lines 3445..3458
    app/spdx.js on lines 3560..3573
    app/spdx.js on lines 3614..3627
    app/spdx.js on lines 3743..3756
    app/spdx.js on lines 4155..4168
    app/spdx.js on lines 4307..4320
    app/spdx.js on lines 4378..4391

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 50.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

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

        {
          reference: './OSL-3.0.html',
          isDeprecatedLicenseId: false,
          isFsfLibre: true,
          detailsUrl: 'http://spdx.org/licenses/OSL-3.0.json',
    Severity: Major
    Found in app/spdx.js and 49 other locations - About 45 mins to fix
    app/spdx.js on lines 35..48
    app/spdx.js on lines 49..62
    app/spdx.js on lines 87..100
    app/spdx.js on lines 132..145
    app/spdx.js on lines 146..159
    app/spdx.js on lines 160..173
    app/spdx.js on lines 344..357
    app/spdx.js on lines 358..371
    app/spdx.js on lines 402..415
    app/spdx.js on lines 610..623
    app/spdx.js on lines 1242..1255
    app/spdx.js on lines 1256..1269
    app/spdx.js on lines 1385..1398
    app/spdx.js on lines 1399..1412
    app/spdx.js on lines 1413..1426
    app/spdx.js on lines 1427..1440
    app/spdx.js on lines 1553..1566
    app/spdx.js on lines 1757..1770
    app/spdx.js on lines 1771..1784
    app/spdx.js on lines 1785..1798
    app/spdx.js on lines 1799..1812
    app/spdx.js on lines 1869..1882
    app/spdx.js on lines 1883..1896
    app/spdx.js on lines 1897..1910
    app/spdx.js on lines 1911..1924
    app/spdx.js on lines 2070..2083
    app/spdx.js on lines 2094..2107
    app/spdx.js on lines 2253..2266
    app/spdx.js on lines 2267..2280
    app/spdx.js on lines 2281..2294
    app/spdx.js on lines 2295..2308
    app/spdx.js on lines 2309..2322
    app/spdx.js on lines 2323..2336
    app/spdx.js on lines 2337..2350
    app/spdx.js on lines 2351..2364
    app/spdx.js on lines 2385..2398
    app/spdx.js on lines 2628..2641
    app/spdx.js on lines 2642..2655
    app/spdx.js on lines 2669..2682
    app/spdx.js on lines 2683..2696
    app/spdx.js on lines 2797..2810
    app/spdx.js on lines 3069..3082
    app/spdx.js on lines 3431..3444
    app/spdx.js on lines 3560..3573
    app/spdx.js on lines 3614..3627
    app/spdx.js on lines 3743..3756
    app/spdx.js on lines 4155..4168
    app/spdx.js on lines 4307..4320
    app/spdx.js on lines 4378..4391

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 50.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

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

        {
          reference: './NCSA.html',
          isDeprecatedLicenseId: false,
          isFsfLibre: true,
          detailsUrl: 'http://spdx.org/licenses/NCSA.json',
    Severity: Major
    Found in app/spdx.js and 49 other locations - About 45 mins to fix
    app/spdx.js on lines 35..48
    app/spdx.js on lines 49..62
    app/spdx.js on lines 87..100
    app/spdx.js on lines 132..145
    app/spdx.js on lines 146..159
    app/spdx.js on lines 160..173
    app/spdx.js on lines 344..357
    app/spdx.js on lines 358..371
    app/spdx.js on lines 402..415
    app/spdx.js on lines 610..623
    app/spdx.js on lines 1242..1255
    app/spdx.js on lines 1256..1269
    app/spdx.js on lines 1385..1398
    app/spdx.js on lines 1399..1412
    app/spdx.js on lines 1413..1426
    app/spdx.js on lines 1427..1440
    app/spdx.js on lines 1553..1566
    app/spdx.js on lines 1757..1770
    app/spdx.js on lines 1771..1784
    app/spdx.js on lines 1785..1798
    app/spdx.js on lines 1799..1812
    app/spdx.js on lines 1869..1882
    app/spdx.js on lines 1883..1896
    app/spdx.js on lines 1897..1910
    app/spdx.js on lines 1911..1924
    app/spdx.js on lines 2070..2083
    app/spdx.js on lines 2094..2107
    app/spdx.js on lines 2253..2266
    app/spdx.js on lines 2267..2280
    app/spdx.js on lines 2281..2294
    app/spdx.js on lines 2295..2308
    app/spdx.js on lines 2309..2322
    app/spdx.js on lines 2323..2336
    app/spdx.js on lines 2337..2350
    app/spdx.js on lines 2351..2364
    app/spdx.js on lines 2385..2398
    app/spdx.js on lines 2628..2641
    app/spdx.js on lines 2642..2655
    app/spdx.js on lines 2669..2682
    app/spdx.js on lines 2683..2696
    app/spdx.js on lines 3069..3082
    app/spdx.js on lines 3431..3444
    app/spdx.js on lines 3445..3458
    app/spdx.js on lines 3560..3573
    app/spdx.js on lines 3614..3627
    app/spdx.js on lines 3743..3756
    app/spdx.js on lines 4155..4168
    app/spdx.js on lines 4307..4320
    app/spdx.js on lines 4378..4391

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 50.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

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

        {
          reference: './OFL-1.1.html',
          isDeprecatedLicenseId: false,
          isFsfLibre: true,
          detailsUrl: 'http://spdx.org/licenses/OFL-1.1.json',
    Severity: Major
    Found in app/spdx.js and 49 other locations - About 45 mins to fix
    app/spdx.js on lines 35..48
    app/spdx.js on lines 49..62
    app/spdx.js on lines 87..100
    app/spdx.js on lines 132..145
    app/spdx.js on lines 146..159
    app/spdx.js on lines 160..173
    app/spdx.js on lines 344..357
    app/spdx.js on lines 358..371
    app/spdx.js on lines 402..415
    app/spdx.js on lines 610..623
    app/spdx.js on lines 1242..1255
    app/spdx.js on lines 1256..1269
    app/spdx.js on lines 1385..1398
    app/spdx.js on lines 1399..1412
    app/spdx.js on lines 1413..1426
    app/spdx.js on lines 1427..1440
    app/spdx.js on lines 1553..1566
    app/spdx.js on lines 1757..1770
    app/spdx.js on lines 1771..1784
    app/spdx.js on lines 1785..1798
    app/spdx.js on lines 1799..1812
    app/spdx.js on lines 1869..1882
    app/spdx.js on lines 1883..1896
    app/spdx.js on lines 1897..1910
    app/spdx.js on lines 1911..1924
    app/spdx.js on lines 2070..2083
    app/spdx.js on lines 2094..2107
    app/spdx.js on lines 2253..2266
    app/spdx.js on lines 2267..2280
    app/spdx.js on lines 2281..2294
    app/spdx.js on lines 2295..2308
    app/spdx.js on lines 2309..2322
    app/spdx.js on lines 2323..2336
    app/spdx.js on lines 2337..2350
    app/spdx.js on lines 2351..2364
    app/spdx.js on lines 2385..2398
    app/spdx.js on lines 2628..2641
    app/spdx.js on lines 2642..2655
    app/spdx.js on lines 2669..2682
    app/spdx.js on lines 2683..2696
    app/spdx.js on lines 2797..2810
    app/spdx.js on lines 3431..3444
    app/spdx.js on lines 3445..3458
    app/spdx.js on lines 3560..3573
    app/spdx.js on lines 3614..3627
    app/spdx.js on lines 3743..3756
    app/spdx.js on lines 4155..4168
    app/spdx.js on lines 4307..4320
    app/spdx.js on lines 4378..4391

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 50.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

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

        {
          reference: './APSL-2.0.html',
          isDeprecatedLicenseId: false,
          isFsfLibre: true,
          detailsUrl: 'http://spdx.org/licenses/APSL-2.0.json',
    Severity: Major
    Found in app/spdx.js and 72 other locations - About 40 mins to fix
    app/spdx.js on lines 63..75
    app/spdx.js on lines 76..86
    app/spdx.js on lines 101..111
    app/spdx.js on lines 333..343
    app/spdx.js on lines 438..448
    app/spdx.js on lines 469..479
    app/spdx.js on lines 492..502
    app/spdx.js on lines 565..575
    app/spdx.js on lines 669..679
    app/spdx.js on lines 750..760
    app/spdx.js on lines 1001..1011
    app/spdx.js on lines 1022..1032
    app/spdx.js on lines 1033..1043
    app/spdx.js on lines 1097..1107
    app/spdx.js on lines 1118..1128
    app/spdx.js on lines 1129..1139
    app/spdx.js on lines 1190..1200
    app/spdx.js on lines 1201..1211
    app/spdx.js on lines 1361..1371
    app/spdx.js on lines 1516..1528
    app/spdx.js on lines 1600..1610
    app/spdx.js on lines 1611..1621
    app/spdx.js on lines 1622..1632
    app/spdx.js on lines 1633..1643
    app/spdx.js on lines 1644..1654
    app/spdx.js on lines 1655..1665
    app/spdx.js on lines 1666..1676
    app/spdx.js on lines 1677..1687
    app/spdx.js on lines 1688..1698
    app/spdx.js on lines 1978..1988
    app/spdx.js on lines 2037..2047
    app/spdx.js on lines 2048..2058
    app/spdx.js on lines 2059..2069
    app/spdx.js on lines 2118..2128
    app/spdx.js on lines 2419..2429
    app/spdx.js on lines 2430..2440
    app/spdx.js on lines 2535..2545
    app/spdx.js on lines 2841..2851
    app/spdx.js on lines 2852..2862
    app/spdx.js on lines 2863..2873
    app/spdx.js on lines 2956..2966
    app/spdx.js on lines 2977..2987
    app/spdx.js on lines 3021..3031
    app/spdx.js on lines 3032..3044
    app/spdx.js on lines 3288..3300
    app/spdx.js on lines 3337..3349
    app/spdx.js on lines 3396..3406
    app/spdx.js on lines 3407..3417
    app/spdx.js on lines 3418..3430
    app/spdx.js on lines 3459..3469
    app/spdx.js on lines 3493..3503
    app/spdx.js on lines 3549..3559
    app/spdx.js on lines 3661..3671
    app/spdx.js on lines 3712..3722
    app/spdx.js on lines 3769..3779
    app/spdx.js on lines 3802..3812
    app/spdx.js on lines 3905..3915
    app/spdx.js on lines 3952..3962
    app/spdx.js on lines 4070..4080
    app/spdx.js on lines 4113..4123
    app/spdx.js on lines 4144..4154
    app/spdx.js on lines 4193..4203
    app/spdx.js on lines 4224..4234
    app/spdx.js on lines 4235..4245
    app/spdx.js on lines 4286..4296
    app/spdx.js on lines 4321..4331
    app/spdx.js on lines 4342..4354
    app/spdx.js on lines 4355..4367
    app/spdx.js on lines 4479..4489
    app/spdx.js on lines 4526..4536
    app/spdx.js on lines 4537..4547
    app/spdx.js on lines 4620..4630

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

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

        {
          reference: './AFL-2.0.html',
          isDeprecatedLicenseId: false,
          isFsfLibre: true,
          detailsUrl: 'http://spdx.org/licenses/AFL-2.0.json',
    Severity: Major
    Found in app/spdx.js and 72 other locations - About 40 mins to fix
    app/spdx.js on lines 76..86
    app/spdx.js on lines 101..111
    app/spdx.js on lines 272..282
    app/spdx.js on lines 333..343
    app/spdx.js on lines 438..448
    app/spdx.js on lines 469..479
    app/spdx.js on lines 492..502
    app/spdx.js on lines 565..575
    app/spdx.js on lines 669..679
    app/spdx.js on lines 750..760
    app/spdx.js on lines 1001..1011
    app/spdx.js on lines 1022..1032
    app/spdx.js on lines 1033..1043
    app/spdx.js on lines 1097..1107
    app/spdx.js on lines 1118..1128
    app/spdx.js on lines 1129..1139
    app/spdx.js on lines 1190..1200
    app/spdx.js on lines 1201..1211
    app/spdx.js on lines 1361..1371
    app/spdx.js on lines 1516..1528
    app/spdx.js on lines 1600..1610
    app/spdx.js on lines 1611..1621
    app/spdx.js on lines 1622..1632
    app/spdx.js on lines 1633..1643
    app/spdx.js on lines 1644..1654
    app/spdx.js on lines 1655..1665
    app/spdx.js on lines 1666..1676
    app/spdx.js on lines 1677..1687
    app/spdx.js on lines 1688..1698
    app/spdx.js on lines 1978..1988
    app/spdx.js on lines 2037..2047
    app/spdx.js on lines 2048..2058
    app/spdx.js on lines 2059..2069
    app/spdx.js on lines 2118..2128
    app/spdx.js on lines 2419..2429
    app/spdx.js on lines 2430..2440
    app/spdx.js on lines 2535..2545
    app/spdx.js on lines 2841..2851
    app/spdx.js on lines 2852..2862
    app/spdx.js on lines 2863..2873
    app/spdx.js on lines 2956..2966
    app/spdx.js on lines 2977..2987
    app/spdx.js on lines 3021..3031
    app/spdx.js on lines 3032..3044
    app/spdx.js on lines 3288..3300
    app/spdx.js on lines 3337..3349
    app/spdx.js on lines 3396..3406
    app/spdx.js on lines 3407..3417
    app/spdx.js on lines 3418..3430
    app/spdx.js on lines 3459..3469
    app/spdx.js on lines 3493..3503
    app/spdx.js on lines 3549..3559
    app/spdx.js on lines 3661..3671
    app/spdx.js on lines 3712..3722
    app/spdx.js on lines 3769..3779
    app/spdx.js on lines 3802..3812
    app/spdx.js on lines 3905..3915
    app/spdx.js on lines 3952..3962
    app/spdx.js on lines 4070..4080
    app/spdx.js on lines 4113..4123
    app/spdx.js on lines 4144..4154
    app/spdx.js on lines 4193..4203
    app/spdx.js on lines 4224..4234
    app/spdx.js on lines 4235..4245
    app/spdx.js on lines 4286..4296
    app/spdx.js on lines 4321..4331
    app/spdx.js on lines 4342..4354
    app/spdx.js on lines 4355..4367
    app/spdx.js on lines 4479..4489
    app/spdx.js on lines 4526..4536
    app/spdx.js on lines 4537..4547
    app/spdx.js on lines 4620..4630

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

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

        {
          reference: './AFL-2.1.html',
          isDeprecatedLicenseId: false,
          isFsfLibre: true,
          detailsUrl: 'http://spdx.org/licenses/AFL-2.1.json',
    Severity: Major
    Found in app/spdx.js and 72 other locations - About 40 mins to fix
    app/spdx.js on lines 63..75
    app/spdx.js on lines 101..111
    app/spdx.js on lines 272..282
    app/spdx.js on lines 333..343
    app/spdx.js on lines 438..448
    app/spdx.js on lines 469..479
    app/spdx.js on lines 492..502
    app/spdx.js on lines 565..575
    app/spdx.js on lines 669..679
    app/spdx.js on lines 750..760
    app/spdx.js on lines 1001..1011
    app/spdx.js on lines 1022..1032
    app/spdx.js on lines 1033..1043
    app/spdx.js on lines 1097..1107
    app/spdx.js on lines 1118..1128
    app/spdx.js on lines 1129..1139
    app/spdx.js on lines 1190..1200
    app/spdx.js on lines 1201..1211
    app/spdx.js on lines 1361..1371
    app/spdx.js on lines 1516..1528
    app/spdx.js on lines 1600..1610
    app/spdx.js on lines 1611..1621
    app/spdx.js on lines 1622..1632
    app/spdx.js on lines 1633..1643
    app/spdx.js on lines 1644..1654
    app/spdx.js on lines 1655..1665
    app/spdx.js on lines 1666..1676
    app/spdx.js on lines 1677..1687
    app/spdx.js on lines 1688..1698
    app/spdx.js on lines 1978..1988
    app/spdx.js on lines 2037..2047
    app/spdx.js on lines 2048..2058
    app/spdx.js on lines 2059..2069
    app/spdx.js on lines 2118..2128
    app/spdx.js on lines 2419..2429
    app/spdx.js on lines 2430..2440
    app/spdx.js on lines 2535..2545
    app/spdx.js on lines 2841..2851
    app/spdx.js on lines 2852..2862
    app/spdx.js on lines 2863..2873
    app/spdx.js on lines 2956..2966
    app/spdx.js on lines 2977..2987
    app/spdx.js on lines 3021..3031
    app/spdx.js on lines 3032..3044
    app/spdx.js on lines 3288..3300
    app/spdx.js on lines 3337..3349
    app/spdx.js on lines 3396..3406
    app/spdx.js on lines 3407..3417
    app/spdx.js on lines 3418..3430
    app/spdx.js on lines 3459..3469
    app/spdx.js on lines 3493..3503
    app/spdx.js on lines 3549..3559
    app/spdx.js on lines 3661..3671
    app/spdx.js on lines 3712..3722
    app/spdx.js on lines 3769..3779
    app/spdx.js on lines 3802..3812
    app/spdx.js on lines 3905..3915
    app/spdx.js on lines 3952..3962
    app/spdx.js on lines 4070..4080
    app/spdx.js on lines 4113..4123
    app/spdx.js on lines 4144..4154
    app/spdx.js on lines 4193..4203
    app/spdx.js on lines 4224..4234
    app/spdx.js on lines 4235..4245
    app/spdx.js on lines 4286..4296
    app/spdx.js on lines 4321..4331
    app/spdx.js on lines 4342..4354
    app/spdx.js on lines 4355..4367
    app/spdx.js on lines 4479..4489
    app/spdx.js on lines 4526..4536
    app/spdx.js on lines 4537..4547
    app/spdx.js on lines 4620..4630

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

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

        {
          reference: './BitTorrent-1.1.html',
          isDeprecatedLicenseId: false,
          isFsfLibre: true,
          detailsUrl: 'http://spdx.org/licenses/BitTorrent-1.1.json',
    Severity: Major
    Found in app/spdx.js and 72 other locations - About 40 mins to fix
    app/spdx.js on lines 63..75
    app/spdx.js on lines 76..86
    app/spdx.js on lines 101..111
    app/spdx.js on lines 272..282
    app/spdx.js on lines 333..343
    app/spdx.js on lines 438..448
    app/spdx.js on lines 469..479
    app/spdx.js on lines 492..502
    app/spdx.js on lines 565..575
    app/spdx.js on lines 750..760
    app/spdx.js on lines 1001..1011
    app/spdx.js on lines 1022..1032
    app/spdx.js on lines 1033..1043
    app/spdx.js on lines 1097..1107
    app/spdx.js on lines 1118..1128
    app/spdx.js on lines 1129..1139
    app/spdx.js on lines 1190..1200
    app/spdx.js on lines 1201..1211
    app/spdx.js on lines 1361..1371
    app/spdx.js on lines 1516..1528
    app/spdx.js on lines 1600..1610
    app/spdx.js on lines 1611..1621
    app/spdx.js on lines 1622..1632
    app/spdx.js on lines 1633..1643
    app/spdx.js on lines 1644..1654
    app/spdx.js on lines 1655..1665
    app/spdx.js on lines 1666..1676
    app/spdx.js on lines 1677..1687
    app/spdx.js on lines 1688..1698
    app/spdx.js on lines 1978..1988
    app/spdx.js on lines 2037..2047
    app/spdx.js on lines 2048..2058
    app/spdx.js on lines 2059..2069
    app/spdx.js on lines 2118..2128
    app/spdx.js on lines 2419..2429
    app/spdx.js on lines 2430..2440
    app/spdx.js on lines 2535..2545
    app/spdx.js on lines 2841..2851
    app/spdx.js on lines 2852..2862
    app/spdx.js on lines 2863..2873
    app/spdx.js on lines 2956..2966
    app/spdx.js on lines 2977..2987
    app/spdx.js on lines 3021..3031
    app/spdx.js on lines 3032..3044
    app/spdx.js on lines 3288..3300
    app/spdx.js on lines 3337..3349
    app/spdx.js on lines 3396..3406
    app/spdx.js on lines 3407..3417
    app/spdx.js on lines 3418..3430
    app/spdx.js on lines 3459..3469
    app/spdx.js on lines 3493..3503
    app/spdx.js on lines 3549..3559
    app/spdx.js on lines 3661..3671
    app/spdx.js on lines 3712..3722
    app/spdx.js on lines 3769..3779
    app/spdx.js on lines 3802..3812
    app/spdx.js on lines 3905..3915
    app/spdx.js on lines 3952..3962
    app/spdx.js on lines 4070..4080
    app/spdx.js on lines 4113..4123
    app/spdx.js on lines 4144..4154
    app/spdx.js on lines 4193..4203
    app/spdx.js on lines 4224..4234
    app/spdx.js on lines 4235..4245
    app/spdx.js on lines 4286..4296
    app/spdx.js on lines 4321..4331
    app/spdx.js on lines 4342..4354
    app/spdx.js on lines 4355..4367
    app/spdx.js on lines 4479..4489
    app/spdx.js on lines 4526..4536
    app/spdx.js on lines 4537..4547
    app/spdx.js on lines 4620..4630

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

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

        {
          reference: './FSFAP.html',
          isDeprecatedLicenseId: false,
          isFsfLibre: true,
          detailsUrl: 'http://spdx.org/licenses/FSFAP.json',
    Severity: Major
    Found in app/spdx.js and 72 other locations - About 40 mins to fix
    app/spdx.js on lines 63..75
    app/spdx.js on lines 76..86
    app/spdx.js on lines 101..111
    app/spdx.js on lines 272..282
    app/spdx.js on lines 333..343
    app/spdx.js on lines 438..448
    app/spdx.js on lines 469..479
    app/spdx.js on lines 492..502
    app/spdx.js on lines 565..575
    app/spdx.js on lines 669..679
    app/spdx.js on lines 750..760
    app/spdx.js on lines 1001..1011
    app/spdx.js on lines 1022..1032
    app/spdx.js on lines 1033..1043
    app/spdx.js on lines 1097..1107
    app/spdx.js on lines 1118..1128
    app/spdx.js on lines 1129..1139
    app/spdx.js on lines 1190..1200
    app/spdx.js on lines 1201..1211
    app/spdx.js on lines 1361..1371
    app/spdx.js on lines 1600..1610
    app/spdx.js on lines 1611..1621
    app/spdx.js on lines 1622..1632
    app/spdx.js on lines 1633..1643
    app/spdx.js on lines 1644..1654
    app/spdx.js on lines 1655..1665
    app/spdx.js on lines 1666..1676
    app/spdx.js on lines 1677..1687
    app/spdx.js on lines 1688..1698
    app/spdx.js on lines 1978..1988
    app/spdx.js on lines 2037..2047
    app/spdx.js on lines 2048..2058
    app/spdx.js on lines 2059..2069
    app/spdx.js on lines 2118..2128
    app/spdx.js on lines 2419..2429
    app/spdx.js on lines 2430..2440
    app/spdx.js on lines 2535..2545
    app/spdx.js on lines 2841..2851
    app/spdx.js on lines 2852..2862
    app/spdx.js on lines 2863..2873
    app/spdx.js on lines 2956..2966
    app/spdx.js on lines 2977..2987
    app/spdx.js on lines 3021..3031
    app/spdx.js on lines 3032..3044
    app/spdx.js on lines 3288..3300
    app/spdx.js on lines 3337..3349
    app/spdx.js on lines 3396..3406
    app/spdx.js on lines 3407..3417
    app/spdx.js on lines 3418..3430
    app/spdx.js on lines 3459..3469
    app/spdx.js on lines 3493..3503
    app/spdx.js on lines 3549..3559
    app/spdx.js on lines 3661..3671
    app/spdx.js on lines 3712..3722
    app/spdx.js on lines 3769..3779
    app/spdx.js on lines 3802..3812
    app/spdx.js on lines 3905..3915
    app/spdx.js on lines 3952..3962
    app/spdx.js on lines 4070..4080
    app/spdx.js on lines 4113..4123
    app/spdx.js on lines 4144..4154
    app/spdx.js on lines 4193..4203
    app/spdx.js on lines 4224..4234
    app/spdx.js on lines 4235..4245
    app/spdx.js on lines 4286..4296
    app/spdx.js on lines 4321..4331
    app/spdx.js on lines 4342..4354
    app/spdx.js on lines 4355..4367
    app/spdx.js on lines 4479..4489
    app/spdx.js on lines 4526..4536
    app/spdx.js on lines 4537..4547
    app/spdx.js on lines 4620..4630

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

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

        {
          reference: './X11.html',
          isDeprecatedLicenseId: false,
          isFsfLibre: true,
          detailsUrl: 'http://spdx.org/licenses/X11.json',
    Severity: Major
    Found in app/spdx.js and 72 other locations - About 40 mins to fix
    app/spdx.js on lines 63..75
    app/spdx.js on lines 76..86
    app/spdx.js on lines 101..111
    app/spdx.js on lines 272..282
    app/spdx.js on lines 333..343
    app/spdx.js on lines 438..448
    app/spdx.js on lines 469..479
    app/spdx.js on lines 492..502
    app/spdx.js on lines 565..575
    app/spdx.js on lines 669..679
    app/spdx.js on lines 750..760
    app/spdx.js on lines 1001..1011
    app/spdx.js on lines 1022..1032
    app/spdx.js on lines 1033..1043
    app/spdx.js on lines 1097..1107
    app/spdx.js on lines 1118..1128
    app/spdx.js on lines 1129..1139
    app/spdx.js on lines 1190..1200
    app/spdx.js on lines 1201..1211
    app/spdx.js on lines 1361..1371
    app/spdx.js on lines 1516..1528
    app/spdx.js on lines 1600..1610
    app/spdx.js on lines 1611..1621
    app/spdx.js on lines 1622..1632
    app/spdx.js on lines 1633..1643
    app/spdx.js on lines 1644..1654
    app/spdx.js on lines 1655..1665
    app/spdx.js on lines 1666..1676
    app/spdx.js on lines 1677..1687
    app/spdx.js on lines 1688..1698
    app/spdx.js on lines 1978..1988
    app/spdx.js on lines 2037..2047
    app/spdx.js on lines 2048..2058
    app/spdx.js on lines 2059..2069
    app/spdx.js on lines 2118..2128
    app/spdx.js on lines 2419..2429
    app/spdx.js on lines 2430..2440
    app/spdx.js on lines 2535..2545
    app/spdx.js on lines 2841..2851
    app/spdx.js on lines 2852..2862
    app/spdx.js on lines 2863..2873
    app/spdx.js on lines 2956..2966
    app/spdx.js on lines 2977..2987
    app/spdx.js on lines 3021..3031
    app/spdx.js on lines 3032..3044
    app/spdx.js on lines 3288..3300
    app/spdx.js on lines 3337..3349
    app/spdx.js on lines 3396..3406
    app/spdx.js on lines 3407..3417
    app/spdx.js on lines 3418..3430
    app/spdx.js on lines 3459..3469
    app/spdx.js on lines 3493..3503
    app/spdx.js on lines 3549..3559
    app/spdx.js on lines 3661..3671
    app/spdx.js on lines 3712..3722
    app/spdx.js on lines 3769..3779
    app/spdx.js on lines 3802..3812
    app/spdx.js on lines 3905..3915
    app/spdx.js on lines 3952..3962
    app/spdx.js on lines 4070..4080
    app/spdx.js on lines 4113..4123
    app/spdx.js on lines 4144..4154
    app/spdx.js on lines 4193..4203
    app/spdx.js on lines 4235..4245
    app/spdx.js on lines 4286..4296
    app/spdx.js on lines 4321..4331
    app/spdx.js on lines 4342..4354
    app/spdx.js on lines 4355..4367
    app/spdx.js on lines 4479..4489
    app/spdx.js on lines 4526..4536
    app/spdx.js on lines 4537..4547
    app/spdx.js on lines 4620..4630

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

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

        {
          reference: './BSD-4-Clause.html',
          isDeprecatedLicenseId: false,
          isFsfLibre: true,
          detailsUrl: 'http://spdx.org/licenses/BSD-4-Clause.json',
    Severity: Major
    Found in app/spdx.js and 72 other locations - About 40 mins to fix
    app/spdx.js on lines 63..75
    app/spdx.js on lines 76..86
    app/spdx.js on lines 101..111
    app/spdx.js on lines 272..282
    app/spdx.js on lines 333..343
    app/spdx.js on lines 438..448
    app/spdx.js on lines 469..479
    app/spdx.js on lines 492..502
    app/spdx.js on lines 669..679
    app/spdx.js on lines 750..760
    app/spdx.js on lines 1001..1011
    app/spdx.js on lines 1022..1032
    app/spdx.js on lines 1033..1043
    app/spdx.js on lines 1097..1107
    app/spdx.js on lines 1118..1128
    app/spdx.js on lines 1129..1139
    app/spdx.js on lines 1190..1200
    app/spdx.js on lines 1201..1211
    app/spdx.js on lines 1361..1371
    app/spdx.js on lines 1516..1528
    app/spdx.js on lines 1600..1610
    app/spdx.js on lines 1611..1621
    app/spdx.js on lines 1622..1632
    app/spdx.js on lines 1633..1643
    app/spdx.js on lines 1644..1654
    app/spdx.js on lines 1655..1665
    app/spdx.js on lines 1666..1676
    app/spdx.js on lines 1677..1687
    app/spdx.js on lines 1688..1698
    app/spdx.js on lines 1978..1988
    app/spdx.js on lines 2037..2047
    app/spdx.js on lines 2048..2058
    app/spdx.js on lines 2059..2069
    app/spdx.js on lines 2118..2128
    app/spdx.js on lines 2419..2429
    app/spdx.js on lines 2430..2440
    app/spdx.js on lines 2535..2545
    app/spdx.js on lines 2841..2851
    app/spdx.js on lines 2852..2862
    app/spdx.js on lines 2863..2873
    app/spdx.js on lines 2956..2966
    app/spdx.js on lines 2977..2987
    app/spdx.js on lines 3021..3031
    app/spdx.js on lines 3032..3044
    app/spdx.js on lines 3288..3300
    app/spdx.js on lines 3337..3349
    app/spdx.js on lines 3396..3406
    app/spdx.js on lines 3407..3417
    app/spdx.js on lines 3418..3430
    app/spdx.js on lines 3459..3469
    app/spdx.js on lines 3493..3503
    app/spdx.js on lines 3549..3559
    app/spdx.js on lines 3661..3671
    app/spdx.js on lines 3712..3722
    app/spdx.js on lines 3769..3779
    app/spdx.js on lines 3802..3812
    app/spdx.js on lines 3905..3915
    app/spdx.js on lines 3952..3962
    app/spdx.js on lines 4070..4080
    app/spdx.js on lines 4113..4123
    app/spdx.js on lines 4144..4154
    app/spdx.js on lines 4193..4203
    app/spdx.js on lines 4224..4234
    app/spdx.js on lines 4235..4245
    app/spdx.js on lines 4286..4296
    app/spdx.js on lines 4321..4331
    app/spdx.js on lines 4342..4354
    app/spdx.js on lines 4355..4367
    app/spdx.js on lines 4479..4489
    app/spdx.js on lines 4526..4536
    app/spdx.js on lines 4537..4547
    app/spdx.js on lines 4620..4630

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

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

        {
          reference: './CC-BY-4.0.html',
          isDeprecatedLicenseId: false,
          isFsfLibre: true,
          detailsUrl: 'http://spdx.org/licenses/CC-BY-4.0.json',
    Severity: Major
    Found in app/spdx.js and 72 other locations - About 40 mins to fix
    app/spdx.js on lines 63..75
    app/spdx.js on lines 76..86
    app/spdx.js on lines 101..111
    app/spdx.js on lines 272..282
    app/spdx.js on lines 333..343
    app/spdx.js on lines 438..448
    app/spdx.js on lines 469..479
    app/spdx.js on lines 492..502
    app/spdx.js on lines 565..575
    app/spdx.js on lines 669..679
    app/spdx.js on lines 1001..1011
    app/spdx.js on lines 1022..1032
    app/spdx.js on lines 1033..1043
    app/spdx.js on lines 1097..1107
    app/spdx.js on lines 1118..1128
    app/spdx.js on lines 1129..1139
    app/spdx.js on lines 1190..1200
    app/spdx.js on lines 1201..1211
    app/spdx.js on lines 1361..1371
    app/spdx.js on lines 1516..1528
    app/spdx.js on lines 1600..1610
    app/spdx.js on lines 1611..1621
    app/spdx.js on lines 1622..1632
    app/spdx.js on lines 1633..1643
    app/spdx.js on lines 1644..1654
    app/spdx.js on lines 1655..1665
    app/spdx.js on lines 1666..1676
    app/spdx.js on lines 1677..1687
    app/spdx.js on lines 1688..1698
    app/spdx.js on lines 1978..1988
    app/spdx.js on lines 2037..2047
    app/spdx.js on lines 2048..2058
    app/spdx.js on lines 2059..2069
    app/spdx.js on lines 2118..2128
    app/spdx.js on lines 2419..2429
    app/spdx.js on lines 2430..2440
    app/spdx.js on lines 2535..2545
    app/spdx.js on lines 2841..2851
    app/spdx.js on lines 2852..2862
    app/spdx.js on lines 2863..2873
    app/spdx.js on lines 2956..2966
    app/spdx.js on lines 2977..2987
    app/spdx.js on lines 3021..3031
    app/spdx.js on lines 3032..3044
    app/spdx.js on lines 3288..3300
    app/spdx.js on lines 3337..3349
    app/spdx.js on lines 3396..3406
    app/spdx.js on lines 3407..3417
    app/spdx.js on lines 3418..3430
    app/spdx.js on lines 3459..3469
    app/spdx.js on lines 3493..3503
    app/spdx.js on lines 3549..3559
    app/spdx.js on lines 3661..3671
    app/spdx.js on lines 3712..3722
    app/spdx.js on lines 3769..3779
    app/spdx.js on lines 3802..3812
    app/spdx.js on lines 3905..3915
    app/spdx.js on lines 3952..3962
    app/spdx.js on lines 4070..4080
    app/spdx.js on lines 4113..4123
    app/spdx.js on lines 4144..4154
    app/spdx.js on lines 4193..4203
    app/spdx.js on lines 4224..4234
    app/spdx.js on lines 4235..4245
    app/spdx.js on lines 4286..4296
    app/spdx.js on lines 4321..4331
    app/spdx.js on lines 4342..4354
    app/spdx.js on lines 4355..4367
    app/spdx.js on lines 4479..4489
    app/spdx.js on lines 4526..4536
    app/spdx.js on lines 4537..4547
    app/spdx.js on lines 4620..4630

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

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

        {
          reference: './NPL-1.0.html',
          isDeprecatedLicenseId: false,
          isFsfLibre: true,
          detailsUrl: 'http://spdx.org/licenses/NPL-1.0.json',
    Severity: Major
    Found in app/spdx.js and 72 other locations - About 40 mins to fix
    app/spdx.js on lines 63..75
    app/spdx.js on lines 76..86
    app/spdx.js on lines 101..111
    app/spdx.js on lines 272..282
    app/spdx.js on lines 333..343
    app/spdx.js on lines 438..448
    app/spdx.js on lines 469..479
    app/spdx.js on lines 492..502
    app/spdx.js on lines 565..575
    app/spdx.js on lines 669..679
    app/spdx.js on lines 750..760
    app/spdx.js on lines 1001..1011
    app/spdx.js on lines 1022..1032
    app/spdx.js on lines 1033..1043
    app/spdx.js on lines 1097..1107
    app/spdx.js on lines 1118..1128
    app/spdx.js on lines 1129..1139
    app/spdx.js on lines 1190..1200
    app/spdx.js on lines 1201..1211
    app/spdx.js on lines 1361..1371
    app/spdx.js on lines 1516..1528
    app/spdx.js on lines 1600..1610
    app/spdx.js on lines 1611..1621
    app/spdx.js on lines 1622..1632
    app/spdx.js on lines 1633..1643
    app/spdx.js on lines 1644..1654
    app/spdx.js on lines 1655..1665
    app/spdx.js on lines 1666..1676
    app/spdx.js on lines 1677..1687
    app/spdx.js on lines 1688..1698
    app/spdx.js on lines 1978..1988
    app/spdx.js on lines 2037..2047
    app/spdx.js on lines 2048..2058
    app/spdx.js on lines 2059..2069
    app/spdx.js on lines 2118..2128
    app/spdx.js on lines 2419..2429
    app/spdx.js on lines 2430..2440
    app/spdx.js on lines 2535..2545
    app/spdx.js on lines 2841..2851
    app/spdx.js on lines 2863..2873
    app/spdx.js on lines 2956..2966
    app/spdx.js on lines 2977..2987
    app/spdx.js on lines 3021..3031
    app/spdx.js on lines 3032..3044
    app/spdx.js on lines 3288..3300
    app/spdx.js on lines 3337..3349
    app/spdx.js on lines 3396..3406
    app/spdx.js on lines 3407..3417
    app/spdx.js on lines 3418..3430
    app/spdx.js on lines 3459..3469
    app/spdx.js on lines 3493..3503
    app/spdx.js on lines 3549..3559
    app/spdx.js on lines 3661..3671
    app/spdx.js on lines 3712..3722
    app/spdx.js on lines 3769..3779
    app/spdx.js on lines 3802..3812
    app/spdx.js on lines 3905..3915
    app/spdx.js on lines 3952..3962
    app/spdx.js on lines 4070..4080
    app/spdx.js on lines 4113..4123
    app/spdx.js on lines 4144..4154
    app/spdx.js on lines 4193..4203
    app/spdx.js on lines 4224..4234
    app/spdx.js on lines 4235..4245
    app/spdx.js on lines 4286..4296
    app/spdx.js on lines 4321..4331
    app/spdx.js on lines 4342..4354
    app/spdx.js on lines 4355..4367
    app/spdx.js on lines 4479..4489
    app/spdx.js on lines 4526..4536
    app/spdx.js on lines 4537..4547
    app/spdx.js on lines 4620..4630

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

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

        {
          reference: './YPL-1.1.html',
          isDeprecatedLicenseId: false,
          isFsfLibre: true,
          detailsUrl: 'http://spdx.org/licenses/YPL-1.1.json',
    Severity: Major
    Found in app/spdx.js and 72 other locations - About 40 mins to fix
    app/spdx.js on lines 63..75
    app/spdx.js on lines 76..86
    app/spdx.js on lines 101..111
    app/spdx.js on lines 272..282
    app/spdx.js on lines 333..343
    app/spdx.js on lines 438..448
    app/spdx.js on lines 469..479
    app/spdx.js on lines 492..502
    app/spdx.js on lines 565..575
    app/spdx.js on lines 669..679
    app/spdx.js on lines 750..760
    app/spdx.js on lines 1001..1011
    app/spdx.js on lines 1022..1032
    app/spdx.js on lines 1033..1043
    app/spdx.js on lines 1097..1107
    app/spdx.js on lines 1118..1128
    app/spdx.js on lines 1129..1139
    app/spdx.js on lines 1190..1200
    app/spdx.js on lines 1201..1211
    app/spdx.js on lines 1361..1371
    app/spdx.js on lines 1516..1528
    app/spdx.js on lines 1600..1610
    app/spdx.js on lines 1611..1621
    app/spdx.js on lines 1622..1632
    app/spdx.js on lines 1633..1643
    app/spdx.js on lines 1644..1654
    app/spdx.js on lines 1655..1665
    app/spdx.js on lines 1666..1676
    app/spdx.js on lines 1677..1687
    app/spdx.js on lines 1688..1698
    app/spdx.js on lines 1978..1988
    app/spdx.js on lines 2037..2047
    app/spdx.js on lines 2048..2058
    app/spdx.js on lines 2059..2069
    app/spdx.js on lines 2118..2128
    app/spdx.js on lines 2419..2429
    app/spdx.js on lines 2430..2440
    app/spdx.js on lines 2535..2545
    app/spdx.js on lines 2841..2851
    app/spdx.js on lines 2852..2862
    app/spdx.js on lines 2863..2873
    app/spdx.js on lines 2956..2966
    app/spdx.js on lines 2977..2987
    app/spdx.js on lines 3021..3031
    app/spdx.js on lines 3032..3044
    app/spdx.js on lines 3288..3300
    app/spdx.js on lines 3337..3349
    app/spdx.js on lines 3396..3406
    app/spdx.js on lines 3407..3417
    app/spdx.js on lines 3418..3430
    app/spdx.js on lines 3459..3469
    app/spdx.js on lines 3493..3503
    app/spdx.js on lines 3549..3559
    app/spdx.js on lines 3661..3671
    app/spdx.js on lines 3712..3722
    app/spdx.js on lines 3769..3779
    app/spdx.js on lines 3802..3812
    app/spdx.js on lines 3905..3915
    app/spdx.js on lines 3952..3962
    app/spdx.js on lines 4070..4080
    app/spdx.js on lines 4113..4123
    app/spdx.js on lines 4144..4154
    app/spdx.js on lines 4193..4203
    app/spdx.js on lines 4224..4234
    app/spdx.js on lines 4235..4245
    app/spdx.js on lines 4321..4331
    app/spdx.js on lines 4342..4354
    app/spdx.js on lines 4355..4367
    app/spdx.js on lines 4479..4489
    app/spdx.js on lines 4526..4536
    app/spdx.js on lines 4537..4547
    app/spdx.js on lines 4620..4630

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

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

        {
          reference: './BSD-3-Clause-Clear.html',
          isDeprecatedLicenseId: false,
          isFsfLibre: true,
          detailsUrl: 'http://spdx.org/licenses/BSD-3-Clause-Clear.json',
    Severity: Major
    Found in app/spdx.js and 72 other locations - About 40 mins to fix
    app/spdx.js on lines 63..75
    app/spdx.js on lines 76..86
    app/spdx.js on lines 101..111
    app/spdx.js on lines 272..282
    app/spdx.js on lines 333..343
    app/spdx.js on lines 438..448
    app/spdx.js on lines 469..479
    app/spdx.js on lines 565..575
    app/spdx.js on lines 669..679
    app/spdx.js on lines 750..760
    app/spdx.js on lines 1001..1011
    app/spdx.js on lines 1022..1032
    app/spdx.js on lines 1033..1043
    app/spdx.js on lines 1097..1107
    app/spdx.js on lines 1118..1128
    app/spdx.js on lines 1129..1139
    app/spdx.js on lines 1190..1200
    app/spdx.js on lines 1201..1211
    app/spdx.js on lines 1361..1371
    app/spdx.js on lines 1516..1528
    app/spdx.js on lines 1600..1610
    app/spdx.js on lines 1611..1621
    app/spdx.js on lines 1622..1632
    app/spdx.js on lines 1633..1643
    app/spdx.js on lines 1644..1654
    app/spdx.js on lines 1655..1665
    app/spdx.js on lines 1666..1676
    app/spdx.js on lines 1677..1687
    app/spdx.js on lines 1688..1698
    app/spdx.js on lines 1978..1988
    app/spdx.js on lines 2037..2047
    app/spdx.js on lines 2048..2058
    app/spdx.js on lines 2059..2069
    app/spdx.js on lines 2118..2128
    app/spdx.js on lines 2419..2429
    app/spdx.js on lines 2430..2440
    app/spdx.js on lines 2535..2545
    app/spdx.js on lines 2841..2851
    app/spdx.js on lines 2852..2862
    app/spdx.js on lines 2863..2873
    app/spdx.js on lines 2956..2966
    app/spdx.js on lines 2977..2987
    app/spdx.js on lines 3021..3031
    app/spdx.js on lines 3032..3044
    app/spdx.js on lines 3288..3300
    app/spdx.js on lines 3337..3349
    app/spdx.js on lines 3396..3406
    app/spdx.js on lines 3407..3417
    app/spdx.js on lines 3418..3430
    app/spdx.js on lines 3459..3469
    app/spdx.js on lines 3493..3503
    app/spdx.js on lines 3549..3559
    app/spdx.js on lines 3661..3671
    app/spdx.js on lines 3712..3722
    app/spdx.js on lines 3769..3779
    app/spdx.js on lines 3802..3812
    app/spdx.js on lines 3905..3915
    app/spdx.js on lines 3952..3962
    app/spdx.js on lines 4070..4080
    app/spdx.js on lines 4113..4123
    app/spdx.js on lines 4144..4154
    app/spdx.js on lines 4193..4203
    app/spdx.js on lines 4224..4234
    app/spdx.js on lines 4235..4245
    app/spdx.js on lines 4286..4296
    app/spdx.js on lines 4321..4331
    app/spdx.js on lines 4342..4354
    app/spdx.js on lines 4355..4367
    app/spdx.js on lines 4479..4489
    app/spdx.js on lines 4526..4536
    app/spdx.js on lines 4537..4547
    app/spdx.js on lines 4620..4630

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

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

        {
          reference: './CPAL-1.0.html',
          isDeprecatedLicenseId: false,
          isFsfLibre: true,
          detailsUrl: 'http://spdx.org/licenses/CPAL-1.0.json',
    Severity: Major
    Found in app/spdx.js and 72 other locations - About 40 mins to fix
    app/spdx.js on lines 63..75
    app/spdx.js on lines 76..86
    app/spdx.js on lines 101..111
    app/spdx.js on lines 272..282
    app/spdx.js on lines 333..343
    app/spdx.js on lines 438..448
    app/spdx.js on lines 469..479
    app/spdx.js on lines 492..502
    app/spdx.js on lines 565..575
    app/spdx.js on lines 669..679
    app/spdx.js on lines 750..760
    app/spdx.js on lines 1001..1011
    app/spdx.js on lines 1022..1032
    app/spdx.js on lines 1033..1043
    app/spdx.js on lines 1097..1107
    app/spdx.js on lines 1118..1128
    app/spdx.js on lines 1129..1139
    app/spdx.js on lines 1201..1211
    app/spdx.js on lines 1361..1371
    app/spdx.js on lines 1516..1528
    app/spdx.js on lines 1600..1610
    app/spdx.js on lines 1611..1621
    app/spdx.js on lines 1622..1632
    app/spdx.js on lines 1633..1643
    app/spdx.js on lines 1644..1654
    app/spdx.js on lines 1655..1665
    app/spdx.js on lines 1666..1676
    app/spdx.js on lines 1677..1687
    app/spdx.js on lines 1688..1698
    app/spdx.js on lines 1978..1988
    app/spdx.js on lines 2037..2047
    app/spdx.js on lines 2048..2058
    app/spdx.js on lines 2059..2069
    app/spdx.js on lines 2118..2128
    app/spdx.js on lines 2419..2429
    app/spdx.js on lines 2430..2440
    app/spdx.js on lines 2535..2545
    app/spdx.js on lines 2841..2851
    app/spdx.js on lines 2852..2862
    app/spdx.js on lines 2863..2873
    app/spdx.js on lines 2956..2966
    app/spdx.js on lines 2977..2987
    app/spdx.js on lines 3021..3031
    app/spdx.js on lines 3032..3044
    app/spdx.js on lines 3288..3300
    app/spdx.js on lines 3337..3349
    app/spdx.js on lines 3396..3406
    app/spdx.js on lines 3407..3417
    app/spdx.js on lines 3418..3430
    app/spdx.js on lines 3459..3469
    app/spdx.js on lines 3493..3503
    app/spdx.js on lines 3549..3559
    app/spdx.js on lines 3661..3671
    app/spdx.js on lines 3712..3722
    app/spdx.js on lines 3769..3779
    app/spdx.js on lines 3802..3812
    app/spdx.js on lines 3905..3915
    app/spdx.js on lines 3952..3962
    app/spdx.js on lines 4070..4080
    app/spdx.js on lines 4113..4123
    app/spdx.js on lines 4144..4154
    app/spdx.js on lines 4193..4203
    app/spdx.js on lines 4224..4234
    app/spdx.js on lines 4235..4245
    app/spdx.js on lines 4286..4296
    app/spdx.js on lines 4321..4331
    app/spdx.js on lines 4342..4354
    app/spdx.js on lines 4355..4367
    app/spdx.js on lines 4479..4489
    app/spdx.js on lines 4526..4536
    app/spdx.js on lines 4537..4547
    app/spdx.js on lines 4620..4630

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

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

        {
          reference: './ECL-2.0.html',
          isDeprecatedLicenseId: false,
          isFsfLibre: true,
          detailsUrl: 'http://spdx.org/licenses/ECL-2.0.json',
    Severity: Major
    Found in app/spdx.js and 72 other locations - About 40 mins to fix
    app/spdx.js on lines 63..75
    app/spdx.js on lines 76..86
    app/spdx.js on lines 101..111
    app/spdx.js on lines 272..282
    app/spdx.js on lines 333..343
    app/spdx.js on lines 438..448
    app/spdx.js on lines 469..479
    app/spdx.js on lines 492..502
    app/spdx.js on lines 565..575
    app/spdx.js on lines 669..679
    app/spdx.js on lines 750..760
    app/spdx.js on lines 1001..1011
    app/spdx.js on lines 1022..1032
    app/spdx.js on lines 1033..1043
    app/spdx.js on lines 1097..1107
    app/spdx.js on lines 1118..1128
    app/spdx.js on lines 1129..1139
    app/spdx.js on lines 1190..1200
    app/spdx.js on lines 1201..1211
    app/spdx.js on lines 1516..1528
    app/spdx.js on lines 1600..1610
    app/spdx.js on lines 1611..1621
    app/spdx.js on lines 1622..1632
    app/spdx.js on lines 1633..1643
    app/spdx.js on lines 1644..1654
    app/spdx.js on lines 1655..1665
    app/spdx.js on lines 1666..1676
    app/spdx.js on lines 1677..1687
    app/spdx.js on lines 1688..1698
    app/spdx.js on lines 1978..1988
    app/spdx.js on lines 2037..2047
    app/spdx.js on lines 2048..2058
    app/spdx.js on lines 2059..2069
    app/spdx.js on lines 2118..2128
    app/spdx.js on lines 2419..2429
    app/spdx.js on lines 2430..2440
    app/spdx.js on lines 2535..2545
    app/spdx.js on lines 2841..2851
    app/spdx.js on lines 2852..2862
    app/spdx.js on lines 2863..2873
    app/spdx.js on lines 2956..2966
    app/spdx.js on lines 2977..2987
    app/spdx.js on lines 3021..3031
    app/spdx.js on lines 3032..3044
    app/spdx.js on lines 3288..3300
    app/spdx.js on lines 3337..3349
    app/spdx.js on lines 3396..3406
    app/spdx.js on lines 3407..3417
    app/spdx.js on lines 3418..3430
    app/spdx.js on lines 3459..3469
    app/spdx.js on lines 3493..3503
    app/spdx.js on lines 3549..3559
    app/spdx.js on lines 3661..3671
    app/spdx.js on lines 3712..3722
    app/spdx.js on lines 3769..3779
    app/spdx.js on lines 3802..3812
    app/spdx.js on lines 3905..3915
    app/spdx.js on lines 3952..3962
    app/spdx.js on lines 4070..4080
    app/spdx.js on lines 4113..4123
    app/spdx.js on lines 4144..4154
    app/spdx.js on lines 4193..4203
    app/spdx.js on lines 4224..4234
    app/spdx.js on lines 4235..4245
    app/spdx.js on lines 4286..4296
    app/spdx.js on lines 4321..4331
    app/spdx.js on lines 4342..4354
    app/spdx.js on lines 4355..4367
    app/spdx.js on lines 4479..4489
    app/spdx.js on lines 4526..4536
    app/spdx.js on lines 4537..4547
    app/spdx.js on lines 4620..4630

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

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

        {
          reference: './MIT.html',
          isDeprecatedLicenseId: false,
          isFsfLibre: true,
          detailsUrl: 'http://spdx.org/licenses/MIT.json',
    Severity: Major
    Found in app/spdx.js and 72 other locations - About 40 mins to fix
    app/spdx.js on lines 63..75
    app/spdx.js on lines 76..86
    app/spdx.js on lines 101..111
    app/spdx.js on lines 272..282
    app/spdx.js on lines 333..343
    app/spdx.js on lines 438..448
    app/spdx.js on lines 469..479
    app/spdx.js on lines 492..502
    app/spdx.js on lines 565..575
    app/spdx.js on lines 669..679
    app/spdx.js on lines 750..760
    app/spdx.js on lines 1001..1011
    app/spdx.js on lines 1022..1032
    app/spdx.js on lines 1033..1043
    app/spdx.js on lines 1097..1107
    app/spdx.js on lines 1118..1128
    app/spdx.js on lines 1129..1139
    app/spdx.js on lines 1190..1200
    app/spdx.js on lines 1201..1211
    app/spdx.js on lines 1361..1371
    app/spdx.js on lines 1516..1528
    app/spdx.js on lines 1600..1610
    app/spdx.js on lines 1611..1621
    app/spdx.js on lines 1622..1632
    app/spdx.js on lines 1633..1643
    app/spdx.js on lines 1644..1654
    app/spdx.js on lines 1655..1665
    app/spdx.js on lines 1666..1676
    app/spdx.js on lines 1677..1687
    app/spdx.js on lines 1688..1698
    app/spdx.js on lines 1978..1988
    app/spdx.js on lines 2037..2047
    app/spdx.js on lines 2048..2058
    app/spdx.js on lines 2059..2069
    app/spdx.js on lines 2118..2128
    app/spdx.js on lines 2419..2429
    app/spdx.js on lines 2430..2440
    app/spdx.js on lines 2841..2851
    app/spdx.js on lines 2852..2862
    app/spdx.js on lines 2863..2873
    app/spdx.js on lines 2956..2966
    app/spdx.js on lines 2977..2987
    app/spdx.js on lines 3021..3031
    app/spdx.js on lines 3032..3044
    app/spdx.js on lines 3288..3300
    app/spdx.js on lines 3337..3349
    app/spdx.js on lines 3396..3406
    app/spdx.js on lines 3407..3417
    app/spdx.js on lines 3418..3430
    app/spdx.js on lines 3459..3469
    app/spdx.js on lines 3493..3503
    app/spdx.js on lines 3549..3559
    app/spdx.js on lines 3661..3671
    app/spdx.js on lines 3712..3722
    app/spdx.js on lines 3769..3779
    app/spdx.js on lines 3802..3812
    app/spdx.js on lines 3905..3915
    app/spdx.js on lines 3952..3962
    app/spdx.js on lines 4070..4080
    app/spdx.js on lines 4113..4123
    app/spdx.js on lines 4144..4154
    app/spdx.js on lines 4193..4203
    app/spdx.js on lines 4224..4234
    app/spdx.js on lines 4235..4245
    app/spdx.js on lines 4286..4296
    app/spdx.js on lines 4321..4331
    app/spdx.js on lines 4342..4354
    app/spdx.js on lines 4355..4367
    app/spdx.js on lines 4479..4489
    app/spdx.js on lines 4526..4536
    app/spdx.js on lines 4537..4547
    app/spdx.js on lines 4620..4630

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

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

        {
          reference: './OSL-1.1.html',
          isDeprecatedLicenseId: false,
          isFsfLibre: true,
          detailsUrl: 'http://spdx.org/licenses/OSL-1.1.json',
    Severity: Major
    Found in app/spdx.js and 72 other locations - About 40 mins to fix
    app/spdx.js on lines 63..75
    app/spdx.js on lines 76..86
    app/spdx.js on lines 101..111
    app/spdx.js on lines 272..282
    app/spdx.js on lines 333..343
    app/spdx.js on lines 438..448
    app/spdx.js on lines 469..479
    app/spdx.js on lines 492..502
    app/spdx.js on lines 565..575
    app/spdx.js on lines 669..679
    app/spdx.js on lines 750..760
    app/spdx.js on lines 1001..1011
    app/spdx.js on lines 1022..1032
    app/spdx.js on lines 1033..1043
    app/spdx.js on lines 1097..1107
    app/spdx.js on lines 1118..1128
    app/spdx.js on lines 1129..1139
    app/spdx.js on lines 1190..1200
    app/spdx.js on lines 1201..1211
    app/spdx.js on lines 1361..1371
    app/spdx.js on lines 1516..1528
    app/spdx.js on lines 1600..1610
    app/spdx.js on lines 1611..1621
    app/spdx.js on lines 1622..1632
    app/spdx.js on lines 1633..1643
    app/spdx.js on lines 1644..1654
    app/spdx.js on lines 1655..1665
    app/spdx.js on lines 1666..1676
    app/spdx.js on lines 1677..1687
    app/spdx.js on lines 1688..1698
    app/spdx.js on lines 1978..1988
    app/spdx.js on lines 2037..2047
    app/spdx.js on lines 2048..2058
    app/spdx.js on lines 2059..2069
    app/spdx.js on lines 2118..2128
    app/spdx.js on lines 2419..2429
    app/spdx.js on lines 2430..2440
    app/spdx.js on lines 2535..2545
    app/spdx.js on lines 2841..2851
    app/spdx.js on lines 2852..2862
    app/spdx.js on lines 2863..2873
    app/spdx.js on lines 2956..2966
    app/spdx.js on lines 2977..2987
    app/spdx.js on lines 3021..3031
    app/spdx.js on lines 3032..3044
    app/spdx.js on lines 3288..3300
    app/spdx.js on lines 3337..3349
    app/spdx.js on lines 3396..3406
    app/spdx.js on lines 3418..3430
    app/spdx.js on lines 3459..3469
    app/spdx.js on lines 3493..3503
    app/spdx.js on lines 3549..3559
    app/spdx.js on lines 3661..3671
    app/spdx.js on lines 3712..3722
    app/spdx.js on lines 3769..3779
    app/spdx.js on lines 3802..3812
    app/spdx.js on lines 3905..3915
    app/spdx.js on lines 3952..3962
    app/spdx.js on lines 4070..4080
    app/spdx.js on lines 4113..4123
    app/spdx.js on lines 4144..4154
    app/spdx.js on lines 4193..4203
    app/spdx.js on lines 4224..4234
    app/spdx.js on lines 4235..4245
    app/spdx.js on lines 4286..4296
    app/spdx.js on lines 4321..4331
    app/spdx.js on lines 4342..4354
    app/spdx.js on lines 4355..4367
    app/spdx.js on lines 4479..4489
    app/spdx.js on lines 4526..4536
    app/spdx.js on lines 4537..4547
    app/spdx.js on lines 4620..4630

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

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

        {
          reference: './SMLNJ.html',
          isDeprecatedLicenseId: false,
          isFsfLibre: true,
          detailsUrl: 'http://spdx.org/licenses/SMLNJ.json',
    Severity: Major
    Found in app/spdx.js and 72 other locations - About 40 mins to fix
    app/spdx.js on lines 63..75
    app/spdx.js on lines 76..86
    app/spdx.js on lines 101..111
    app/spdx.js on lines 272..282
    app/spdx.js on lines 333..343
    app/spdx.js on lines 438..448
    app/spdx.js on lines 469..479
    app/spdx.js on lines 492..502
    app/spdx.js on lines 565..575
    app/spdx.js on lines 669..679
    app/spdx.js on lines 750..760
    app/spdx.js on lines 1001..1011
    app/spdx.js on lines 1022..1032
    app/spdx.js on lines 1033..1043
    app/spdx.js on lines 1097..1107
    app/spdx.js on lines 1118..1128
    app/spdx.js on lines 1129..1139
    app/spdx.js on lines 1190..1200
    app/spdx.js on lines 1201..1211
    app/spdx.js on lines 1361..1371
    app/spdx.js on lines 1516..1528
    app/spdx.js on lines 1600..1610
    app/spdx.js on lines 1611..1621
    app/spdx.js on lines 1622..1632
    app/spdx.js on lines 1633..1643
    app/spdx.js on lines 1644..1654
    app/spdx.js on lines 1655..1665
    app/spdx.js on lines 1666..1676
    app/spdx.js on lines 1677..1687
    app/spdx.js on lines 1688..1698
    app/spdx.js on lines 1978..1988
    app/spdx.js on lines 2037..2047
    app/spdx.js on lines 2048..2058
    app/spdx.js on lines 2059..2069
    app/spdx.js on lines 2118..2128
    app/spdx.js on lines 2419..2429
    app/spdx.js on lines 2430..2440
    app/spdx.js on lines 2535..2545
    app/spdx.js on lines 2841..2851
    app/spdx.js on lines 2852..2862
    app/spdx.js on lines 2863..2873
    app/spdx.js on lines 2956..2966
    app/spdx.js on lines 2977..2987
    app/spdx.js on lines 3021..3031
    app/spdx.js on lines 3032..3044
    app/spdx.js on lines 3288..3300
    app/spdx.js on lines 3337..3349
    app/spdx.js on lines 3396..3406
    app/spdx.js on lines 3407..3417
    app/spdx.js on lines 3418..3430
    app/spdx.js on lines 3459..3469
    app/spdx.js on lines 3493..3503
    app/spdx.js on lines 3549..3559
    app/spdx.js on lines 3661..3671
    app/spdx.js on lines 3712..3722
    app/spdx.js on lines 3802..3812
    app/spdx.js on lines 3905..3915
    app/spdx.js on lines 3952..3962
    app/spdx.js on lines 4070..4080
    app/spdx.js on lines 4113..4123
    app/spdx.js on lines 4144..4154
    app/spdx.js on lines 4193..4203
    app/spdx.js on lines 4224..4234
    app/spdx.js on lines 4235..4245
    app/spdx.js on lines 4286..4296
    app/spdx.js on lines 4321..4331
    app/spdx.js on lines 4342..4354
    app/spdx.js on lines 4355..4367
    app/spdx.js on lines 4479..4489
    app/spdx.js on lines 4526..4536
    app/spdx.js on lines 4537..4547
    app/spdx.js on lines 4620..4630

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

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

        {
          reference: './Sleepycat.html',
          isDeprecatedLicenseId: false,
          isFsfLibre: true,
          detailsUrl: 'http://spdx.org/licenses/Sleepycat.json',
    Severity: Major
    Found in app/spdx.js and 72 other locations - About 40 mins to fix
    app/spdx.js on lines 63..75
    app/spdx.js on lines 76..86
    app/spdx.js on lines 101..111
    app/spdx.js on lines 272..282
    app/spdx.js on lines 333..343
    app/spdx.js on lines 438..448
    app/spdx.js on lines 469..479
    app/spdx.js on lines 492..502
    app/spdx.js on lines 565..575
    app/spdx.js on lines 669..679
    app/spdx.js on lines 750..760
    app/spdx.js on lines 1001..1011
    app/spdx.js on lines 1022..1032
    app/spdx.js on lines 1033..1043
    app/spdx.js on lines 1097..1107
    app/spdx.js on lines 1118..1128
    app/spdx.js on lines 1129..1139
    app/spdx.js on lines 1190..1200
    app/spdx.js on lines 1201..1211
    app/spdx.js on lines 1361..1371
    app/spdx.js on lines 1516..1528
    app/spdx.js on lines 1600..1610
    app/spdx.js on lines 1611..1621
    app/spdx.js on lines 1622..1632
    app/spdx.js on lines 1633..1643
    app/spdx.js on lines 1644..1654
    app/spdx.js on lines 1655..1665
    app/spdx.js on lines 1666..1676
    app/spdx.js on lines 1677..1687
    app/spdx.js on lines 1688..1698
    app/spdx.js on lines 1978..1988
    app/spdx.js on lines 2037..2047
    app/spdx.js on lines 2048..2058
    app/spdx.js on lines 2059..2069
    app/spdx.js on lines 2118..2128
    app/spdx.js on lines 2419..2429
    app/spdx.js on lines 2430..2440
    app/spdx.js on lines 2535..2545
    app/spdx.js on lines 2841..2851
    app/spdx.js on lines 2852..2862
    app/spdx.js on lines 2863..2873
    app/spdx.js on lines 2956..2966
    app/spdx.js on lines 2977..2987
    app/spdx.js on lines 3021..3031
    app/spdx.js on lines 3032..3044
    app/spdx.js on lines 3288..3300
    app/spdx.js on lines 3337..3349
    app/spdx.js on lines 3396..3406
    app/spdx.js on lines 3407..3417
    app/spdx.js on lines 3418..3430
    app/spdx.js on lines 3459..3469
    app/spdx.js on lines 3493..3503
    app/spdx.js on lines 3549..3559
    app/spdx.js on lines 3661..3671
    app/spdx.js on lines 3712..3722
    app/spdx.js on lines 3769..3779
    app/spdx.js on lines 3802..3812
    app/spdx.js on lines 3952..3962
    app/spdx.js on lines 4070..4080
    app/spdx.js on lines 4113..4123
    app/spdx.js on lines 4144..4154
    app/spdx.js on lines 4193..4203
    app/spdx.js on lines 4224..4234
    app/spdx.js on lines 4235..4245
    app/spdx.js on lines 4286..4296
    app/spdx.js on lines 4321..4331
    app/spdx.js on lines 4342..4354
    app/spdx.js on lines 4355..4367
    app/spdx.js on lines 4479..4489
    app/spdx.js on lines 4526..4536
    app/spdx.js on lines 4537..4547
    app/spdx.js on lines 4620..4630

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

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

        {
          reference: './UPL-1.0.html',
          isDeprecatedLicenseId: false,
          isFsfLibre: true,
          detailsUrl: 'http://spdx.org/licenses/UPL-1.0.json',
    Severity: Major
    Found in app/spdx.js and 72 other locations - About 40 mins to fix
    app/spdx.js on lines 63..75
    app/spdx.js on lines 76..86
    app/spdx.js on lines 101..111
    app/spdx.js on lines 272..282
    app/spdx.js on lines 333..343
    app/spdx.js on lines 438..448
    app/spdx.js on lines 469..479
    app/spdx.js on lines 492..502
    app/spdx.js on lines 565..575
    app/spdx.js on lines 669..679
    app/spdx.js on lines 750..760
    app/spdx.js on lines 1001..1011
    app/spdx.js on lines 1022..1032
    app/spdx.js on lines 1033..1043
    app/spdx.js on lines 1097..1107
    app/spdx.js on lines 1118..1128
    app/spdx.js on lines 1129..1139
    app/spdx.js on lines 1190..1200
    app/spdx.js on lines 1201..1211
    app/spdx.js on lines 1361..1371
    app/spdx.js on lines 1516..1528
    app/spdx.js on lines 1600..1610
    app/spdx.js on lines 1611..1621
    app/spdx.js on lines 1622..1632
    app/spdx.js on lines 1633..1643
    app/spdx.js on lines 1644..1654
    app/spdx.js on lines 1655..1665
    app/spdx.js on lines 1666..1676
    app/spdx.js on lines 1677..1687
    app/spdx.js on lines 1688..1698
    app/spdx.js on lines 1978..1988
    app/spdx.js on lines 2037..2047
    app/spdx.js on lines 2048..2058
    app/spdx.js on lines 2059..2069
    app/spdx.js on lines 2118..2128
    app/spdx.js on lines 2419..2429
    app/spdx.js on lines 2430..2440
    app/spdx.js on lines 2535..2545
    app/spdx.js on lines 2841..2851
    app/spdx.js on lines 2852..2862
    app/spdx.js on lines 2863..2873
    app/spdx.js on lines 2956..2966
    app/spdx.js on lines 2977..2987
    app/spdx.js on lines 3021..3031
    app/spdx.js on lines 3032..3044
    app/spdx.js on lines 3288..3300
    app/spdx.js on lines 3337..3349
    app/spdx.js on lines 3396..3406
    app/spdx.js on lines 3407..3417
    app/spdx.js on lines 3418..3430
    app/spdx.js on lines 3459..3469
    app/spdx.js on lines 3493..3503
    app/spdx.js on lines 3549..3559
    app/spdx.js on lines 3661..3671
    app/spdx.js on lines 3712..3722
    app/spdx.js on lines 3769..3779
    app/spdx.js on lines 3802..3812
    app/spdx.js on lines 3905..3915
    app/spdx.js on lines 3952..3962
    app/spdx.js on lines 4113..4123
    app/spdx.js on lines 4144..4154
    app/spdx.js on lines 4193..4203
    app/spdx.js on lines 4224..4234
    app/spdx.js on lines 4235..4245
    app/spdx.js on lines 4286..4296
    app/spdx.js on lines 4321..4331
    app/spdx.js on lines 4342..4354
    app/spdx.js on lines 4355..4367
    app/spdx.js on lines 4479..4489
    app/spdx.js on lines 4526..4536
    app/spdx.js on lines 4537..4547
    app/spdx.js on lines 4620..4630

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

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

        {
          reference: './CECILL-2.0.html',
          isDeprecatedLicenseId: false,
          isFsfLibre: true,
          detailsUrl: 'http://spdx.org/licenses/CECILL-2.0.json',
    Severity: Major
    Found in app/spdx.js and 72 other locations - About 40 mins to fix
    app/spdx.js on lines 63..75
    app/spdx.js on lines 76..86
    app/spdx.js on lines 101..111
    app/spdx.js on lines 272..282
    app/spdx.js on lines 333..343
    app/spdx.js on lines 438..448
    app/spdx.js on lines 469..479
    app/spdx.js on lines 492..502
    app/spdx.js on lines 565..575
    app/spdx.js on lines 669..679
    app/spdx.js on lines 750..760
    app/spdx.js on lines 1001..1011
    app/spdx.js on lines 1022..1032
    app/spdx.js on lines 1033..1043
    app/spdx.js on lines 1118..1128
    app/spdx.js on lines 1129..1139
    app/spdx.js on lines 1190..1200
    app/spdx.js on lines 1201..1211
    app/spdx.js on lines 1361..1371
    app/spdx.js on lines 1516..1528
    app/spdx.js on lines 1600..1610
    app/spdx.js on lines 1611..1621
    app/spdx.js on lines 1622..1632
    app/spdx.js on lines 1633..1643
    app/spdx.js on lines 1644..1654
    app/spdx.js on lines 1655..1665
    app/spdx.js on lines 1666..1676
    app/spdx.js on lines 1677..1687
    app/spdx.js on lines 1688..1698
    app/spdx.js on lines 1978..1988
    app/spdx.js on lines 2037..2047
    app/spdx.js on lines 2048..2058
    app/spdx.js on lines 2059..2069
    app/spdx.js on lines 2118..2128
    app/spdx.js on lines 2419..2429
    app/spdx.js on lines 2430..2440
    app/spdx.js on lines 2535..2545
    app/spdx.js on lines 2841..2851
    app/spdx.js on lines 2852..2862
    app/spdx.js on lines 2863..2873
    app/spdx.js on lines 2956..2966
    app/spdx.js on lines 2977..2987
    app/spdx.js on lines 3021..3031
    app/spdx.js on lines 3032..3044
    app/spdx.js on lines 3288..3300
    app/spdx.js on lines 3337..3349
    app/spdx.js on lines 3396..3406
    app/spdx.js on lines 3407..3417
    app/spdx.js on lines 3418..3430
    app/spdx.js on lines 3459..3469
    app/spdx.js on lines 3493..3503
    app/spdx.js on lines 3549..3559
    app/spdx.js on lines 3661..3671
    app/spdx.js on lines 3712..3722
    app/spdx.js on lines 3769..3779
    app/spdx.js on lines 3802..3812
    app/spdx.js on lines 3905..3915
    app/spdx.js on lines 3952..3962
    app/spdx.js on lines 4070..4080
    app/spdx.js on lines 4113..4123
    app/spdx.js on lines 4144..4154
    app/spdx.js on lines 4193..4203
    app/spdx.js on lines 4224..4234
    app/spdx.js on lines 4235..4245
    app/spdx.js on lines 4286..4296
    app/spdx.js on lines 4321..4331
    app/spdx.js on lines 4342..4354
    app/spdx.js on lines 4355..4367
    app/spdx.js on lines 4479..4489
    app/spdx.js on lines 4526..4536
    app/spdx.js on lines 4537..4547
    app/spdx.js on lines 4620..4630

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

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

        {
          reference: './IPA.html',
          isDeprecatedLicenseId: false,
          isFsfLibre: true,
          detailsUrl: 'http://spdx.org/licenses/IPA.json',
    Severity: Major
    Found in app/spdx.js and 72 other locations - About 40 mins to fix
    app/spdx.js on lines 63..75
    app/spdx.js on lines 76..86
    app/spdx.js on lines 101..111
    app/spdx.js on lines 272..282
    app/spdx.js on lines 333..343
    app/spdx.js on lines 438..448
    app/spdx.js on lines 469..479
    app/spdx.js on lines 492..502
    app/spdx.js on lines 565..575
    app/spdx.js on lines 669..679
    app/spdx.js on lines 750..760
    app/spdx.js on lines 1001..1011
    app/spdx.js on lines 1022..1032
    app/spdx.js on lines 1033..1043
    app/spdx.js on lines 1097..1107
    app/spdx.js on lines 1118..1128
    app/spdx.js on lines 1129..1139
    app/spdx.js on lines 1190..1200
    app/spdx.js on lines 1201..1211
    app/spdx.js on lines 1361..1371
    app/spdx.js on lines 1516..1528
    app/spdx.js on lines 1600..1610
    app/spdx.js on lines 1611..1621
    app/spdx.js on lines 1622..1632
    app/spdx.js on lines 1633..1643
    app/spdx.js on lines 1644..1654
    app/spdx.js on lines 1655..1665
    app/spdx.js on lines 1666..1676
    app/spdx.js on lines 1677..1687
    app/spdx.js on lines 1688..1698
    app/spdx.js on lines 1978..1988
    app/spdx.js on lines 2037..2047
    app/spdx.js on lines 2059..2069
    app/spdx.js on lines 2118..2128
    app/spdx.js on lines 2419..2429
    app/spdx.js on lines 2430..2440
    app/spdx.js on lines 2535..2545
    app/spdx.js on lines 2841..2851
    app/spdx.js on lines 2852..2862
    app/spdx.js on lines 2863..2873
    app/spdx.js on lines 2956..2966
    app/spdx.js on lines 2977..2987
    app/spdx.js on lines 3021..3031
    app/spdx.js on lines 3032..3044
    app/spdx.js on lines 3288..3300
    app/spdx.js on lines 3337..3349
    app/spdx.js on lines 3396..3406
    app/spdx.js on lines 3407..3417
    app/spdx.js on lines 3418..3430
    app/spdx.js on lines 3459..3469
    app/spdx.js on lines 3493..3503
    app/spdx.js on lines 3549..3559
    app/spdx.js on lines 3661..3671
    app/spdx.js on lines 3712..3722
    app/spdx.js on lines 3769..3779
    app/spdx.js on lines 3802..3812
    app/spdx.js on lines 3905..3915
    app/spdx.js on lines 3952..3962
    app/spdx.js on lines 4070..4080
    app/spdx.js on lines 4113..4123
    app/spdx.js on lines 4144..4154
    app/spdx.js on lines 4193..4203
    app/spdx.js on lines 4224..4234
    app/spdx.js on lines 4235..4245
    app/spdx.js on lines 4286..4296
    app/spdx.js on lines 4321..4331
    app/spdx.js on lines 4342..4354
    app/spdx.js on lines 4355..4367
    app/spdx.js on lines 4479..4489
    app/spdx.js on lines 4526..4536
    app/spdx.js on lines 4537..4547
    app/spdx.js on lines 4620..4630

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

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

        {
          reference: './OLDAP-2.7.html',
          isDeprecatedLicenseId: false,
          isFsfLibre: true,
          detailsUrl: 'http://spdx.org/licenses/OLDAP-2.7.json',
    Severity: Major
    Found in app/spdx.js and 72 other locations - About 40 mins to fix
    app/spdx.js on lines 63..75
    app/spdx.js on lines 76..86
    app/spdx.js on lines 101..111
    app/spdx.js on lines 272..282
    app/spdx.js on lines 333..343
    app/spdx.js on lines 438..448
    app/spdx.js on lines 469..479
    app/spdx.js on lines 492..502
    app/spdx.js on lines 565..575
    app/spdx.js on lines 669..679
    app/spdx.js on lines 750..760
    app/spdx.js on lines 1001..1011
    app/spdx.js on lines 1022..1032
    app/spdx.js on lines 1033..1043
    app/spdx.js on lines 1097..1107
    app/spdx.js on lines 1118..1128
    app/spdx.js on lines 1129..1139
    app/spdx.js on lines 1190..1200
    app/spdx.js on lines 1201..1211
    app/spdx.js on lines 1361..1371
    app/spdx.js on lines 1516..1528
    app/spdx.js on lines 1600..1610
    app/spdx.js on lines 1611..1621
    app/spdx.js on lines 1622..1632
    app/spdx.js on lines 1633..1643
    app/spdx.js on lines 1644..1654
    app/spdx.js on lines 1655..1665
    app/spdx.js on lines 1666..1676
    app/spdx.js on lines 1677..1687
    app/spdx.js on lines 1688..1698
    app/spdx.js on lines 1978..1988
    app/spdx.js on lines 2037..2047
    app/spdx.js on lines 2048..2058
    app/spdx.js on lines 2059..2069
    app/spdx.js on lines 2118..2128
    app/spdx.js on lines 2419..2429
    app/spdx.js on lines 2430..2440
    app/spdx.js on lines 2535..2545
    app/spdx.js on lines 2841..2851
    app/spdx.js on lines 2852..2862
    app/spdx.js on lines 2863..2873
    app/spdx.js on lines 2956..2966
    app/spdx.js on lines 2977..2987
    app/spdx.js on lines 3021..3031
    app/spdx.js on lines 3032..3044
    app/spdx.js on lines 3288..3300
    app/spdx.js on lines 3396..3406
    app/spdx.js on lines 3407..3417
    app/spdx.js on lines 3418..3430
    app/spdx.js on lines 3459..3469
    app/spdx.js on lines 3493..3503
    app/spdx.js on lines 3549..3559
    app/spdx.js on lines 3661..3671
    app/spdx.js on lines 3712..3722
    app/spdx.js on lines 3769..3779
    app/spdx.js on lines 3802..3812
    app/spdx.js on lines 3905..3915
    app/spdx.js on lines 3952..3962
    app/spdx.js on lines 4070..4080
    app/spdx.js on lines 4113..4123
    app/spdx.js on lines 4144..4154
    app/spdx.js on lines 4193..4203
    app/spdx.js on lines 4224..4234
    app/spdx.js on lines 4235..4245
    app/spdx.js on lines 4286..4296
    app/spdx.js on lines 4321..4331
    app/spdx.js on lines 4342..4354
    app/spdx.js on lines 4355..4367
    app/spdx.js on lines 4479..4489
    app/spdx.js on lines 4526..4536
    app/spdx.js on lines 4537..4547
    app/spdx.js on lines 4620..4630

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

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

        {
          reference: './SGI-B-2.0.html',
          isDeprecatedLicenseId: false,
          isFsfLibre: true,
          detailsUrl: 'http://spdx.org/licenses/SGI-B-2.0.json',
    Severity: Major
    Found in app/spdx.js and 72 other locations - About 40 mins to fix
    app/spdx.js on lines 63..75
    app/spdx.js on lines 76..86
    app/spdx.js on lines 101..111
    app/spdx.js on lines 272..282
    app/spdx.js on lines 333..343
    app/spdx.js on lines 438..448
    app/spdx.js on lines 469..479
    app/spdx.js on lines 492..502
    app/spdx.js on lines 565..575
    app/spdx.js on lines 669..679
    app/spdx.js on lines 750..760
    app/spdx.js on lines 1001..1011
    app/spdx.js on lines 1022..1032
    app/spdx.js on lines 1033..1043
    app/spdx.js on lines 1097..1107
    app/spdx.js on lines 1118..1128
    app/spdx.js on lines 1129..1139
    app/spdx.js on lines 1190..1200
    app/spdx.js on lines 1201..1211
    app/spdx.js on lines 1361..1371
    app/spdx.js on lines 1516..1528
    app/spdx.js on lines 1600..1610
    app/spdx.js on lines 1611..1621
    app/spdx.js on lines 1622..1632
    app/spdx.js on lines 1633..1643
    app/spdx.js on lines 1644..1654
    app/spdx.js on lines 1655..1665
    app/spdx.js on lines 1666..1676
    app/spdx.js on lines 1677..1687
    app/spdx.js on lines 1688..1698
    app/spdx.js on lines 1978..1988
    app/spdx.js on lines 2037..2047
    app/spdx.js on lines 2048..2058
    app/spdx.js on lines 2059..2069
    app/spdx.js on lines 2118..2128
    app/spdx.js on lines 2419..2429
    app/spdx.js on lines 2430..2440
    app/spdx.js on lines 2535..2545
    app/spdx.js on lines 2841..2851
    app/spdx.js on lines 2852..2862
    app/spdx.js on lines 2863..2873
    app/spdx.js on lines 2956..2966
    app/spdx.js on lines 2977..2987
    app/spdx.js on lines 3021..3031
    app/spdx.js on lines 3032..3044
    app/spdx.js on lines 3288..3300
    app/spdx.js on lines 3337..3349
    app/spdx.js on lines 3396..3406
    app/spdx.js on lines 3407..3417
    app/spdx.js on lines 3418..3430
    app/spdx.js on lines 3459..3469
    app/spdx.js on lines 3493..3503
    app/spdx.js on lines 3549..3559
    app/spdx.js on lines 3661..3671
    app/spdx.js on lines 3769..3779
    app/spdx.js on lines 3802..3812
    app/spdx.js on lines 3905..3915
    app/spdx.js on lines 3952..3962
    app/spdx.js on lines 4070..4080
    app/spdx.js on lines 4113..4123
    app/spdx.js on lines 4144..4154
    app/spdx.js on lines 4193..4203
    app/spdx.js on lines 4224..4234
    app/spdx.js on lines 4235..4245
    app/spdx.js on lines 4286..4296
    app/spdx.js on lines 4321..4331
    app/spdx.js on lines 4342..4354
    app/spdx.js on lines 4355..4367
    app/spdx.js on lines 4479..4489
    app/spdx.js on lines 4526..4536
    app/spdx.js on lines 4537..4547
    app/spdx.js on lines 4620..4630

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

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

        {
          reference: './xinetd.html',
          isDeprecatedLicenseId: false,
          isFsfLibre: true,
          detailsUrl: 'http://spdx.org/licenses/xinetd.json',
    Severity: Major
    Found in app/spdx.js and 72 other locations - About 40 mins to fix
    app/spdx.js on lines 63..75
    app/spdx.js on lines 76..86
    app/spdx.js on lines 101..111
    app/spdx.js on lines 272..282
    app/spdx.js on lines 333..343
    app/spdx.js on lines 438..448
    app/spdx.js on lines 469..479
    app/spdx.js on lines 492..502
    app/spdx.js on lines 565..575
    app/spdx.js on lines 669..679
    app/spdx.js on lines 750..760
    app/spdx.js on lines 1001..1011
    app/spdx.js on lines 1022..1032
    app/spdx.js on lines 1033..1043
    app/spdx.js on lines 1097..1107
    app/spdx.js on lines 1118..1128
    app/spdx.js on lines 1129..1139
    app/spdx.js on lines 1190..1200
    app/spdx.js on lines 1201..1211
    app/spdx.js on lines 1361..1371
    app/spdx.js on lines 1516..1528
    app/spdx.js on lines 1600..1610
    app/spdx.js on lines 1611..1621
    app/spdx.js on lines 1622..1632
    app/spdx.js on lines 1633..1643
    app/spdx.js on lines 1644..1654
    app/spdx.js on lines 1655..1665
    app/spdx.js on lines 1666..1676
    app/spdx.js on lines 1677..1687
    app/spdx.js on lines 1688..1698
    app/spdx.js on lines 1978..1988
    app/spdx.js on lines 2037..2047
    app/spdx.js on lines 2048..2058
    app/spdx.js on lines 2059..2069
    app/spdx.js on lines 2118..2128
    app/spdx.js on lines 2419..2429
    app/spdx.js on lines 2430..2440
    app/spdx.js on lines 2535..2545
    app/spdx.js on lines 2841..2851
    app/spdx.js on lines 2852..2862
    app/spdx.js on lines 2863..2873
    app/spdx.js on lines 2956..2966
    app/spdx.js on lines 2977..2987
    app/spdx.js on lines 3021..3031
    app/spdx.js on lines 3032..3044
    app/spdx.js on lines 3288..3300
    app/spdx.js on lines 3337..3349
    app/spdx.js on lines 3396..3406
    app/spdx.js on lines 3407..3417
    app/spdx.js on lines 3418..3430
    app/spdx.js on lines 3459..3469
    app/spdx.js on lines 3493..3503
    app/spdx.js on lines 3549..3559
    app/spdx.js on lines 3661..3671
    app/spdx.js on lines 3712..3722
    app/spdx.js on lines 3769..3779
    app/spdx.js on lines 3802..3812
    app/spdx.js on lines 3905..3915
    app/spdx.js on lines 3952..3962
    app/spdx.js on lines 4070..4080
    app/spdx.js on lines 4113..4123
    app/spdx.js on lines 4144..4154
    app/spdx.js on lines 4193..4203
    app/spdx.js on lines 4224..4234
    app/spdx.js on lines 4235..4245
    app/spdx.js on lines 4286..4296
    app/spdx.js on lines 4321..4331
    app/spdx.js on lines 4342..4354
    app/spdx.js on lines 4355..4367
    app/spdx.js on lines 4479..4489
    app/spdx.js on lines 4526..4536
    app/spdx.js on lines 4537..4547

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

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

        {
          reference: './CDDL-1.0.html',
          isDeprecatedLicenseId: false,
          isFsfLibre: true,
          detailsUrl: 'http://spdx.org/licenses/CDDL-1.0.json',
    Severity: Major
    Found in app/spdx.js and 72 other locations - About 40 mins to fix
    app/spdx.js on lines 63..75
    app/spdx.js on lines 76..86
    app/spdx.js on lines 101..111
    app/spdx.js on lines 272..282
    app/spdx.js on lines 333..343
    app/spdx.js on lines 438..448
    app/spdx.js on lines 469..479
    app/spdx.js on lines 492..502
    app/spdx.js on lines 565..575
    app/spdx.js on lines 669..679
    app/spdx.js on lines 750..760
    app/spdx.js on lines 1001..1011
    app/spdx.js on lines 1022..1032
    app/spdx.js on lines 1097..1107
    app/spdx.js on lines 1118..1128
    app/spdx.js on lines 1129..1139
    app/spdx.js on lines 1190..1200
    app/spdx.js on lines 1201..1211
    app/spdx.js on lines 1361..1371
    app/spdx.js on lines 1516..1528
    app/spdx.js on lines 1600..1610
    app/spdx.js on lines 1611..1621
    app/spdx.js on lines 1622..1632
    app/spdx.js on lines 1633..1643
    app/spdx.js on lines 1644..1654
    app/spdx.js on lines 1655..1665
    app/spdx.js on lines 1666..1676
    app/spdx.js on lines 1677..1687
    app/spdx.js on lines 1688..1698
    app/spdx.js on lines 1978..1988
    app/spdx.js on lines 2037..2047
    app/spdx.js on lines 2048..2058
    app/spdx.js on lines 2059..2069
    app/spdx.js on lines 2118..2128
    app/spdx.js on lines 2419..2429
    app/spdx.js on lines 2430..2440
    app/spdx.js on lines 2535..2545
    app/spdx.js on lines 2841..2851
    app/spdx.js on lines 2852..2862
    app/spdx.js on lines 2863..2873
    app/spdx.js on lines 2956..2966
    app/spdx.js on lines 2977..2987
    app/spdx.js on lines 3021..3031
    app/spdx.js on lines 3032..3044
    app/spdx.js on lines 3288..3300
    app/spdx.js on lines 3337..3349
    app/spdx.js on lines 3396..3406
    app/spdx.js on lines 3407..3417
    app/spdx.js on lines 3418..3430
    app/spdx.js on lines 3459..3469
    app/spdx.js on lines 3493..3503
    app/spdx.js on lines 3549..3559
    app/spdx.js on lines 3661..3671
    app/spdx.js on lines 3712..3722
    app/spdx.js on lines 3769..3779
    app/spdx.js on lines 3802..3812
    app/spdx.js on lines 3905..3915
    app/spdx.js on lines 3952..3962
    app/spdx.js on lines 4070..4080
    app/spdx.js on lines 4113..4123
    app/spdx.js on lines 4144..4154
    app/spdx.js on lines 4193..4203
    app/spdx.js on lines 4224..4234
    app/spdx.js on lines 4235..4245
    app/spdx.js on lines 4286..4296
    app/spdx.js on lines 4321..4331
    app/spdx.js on lines 4342..4354
    app/spdx.js on lines 4355..4367
    app/spdx.js on lines 4479..4489
    app/spdx.js on lines 4526..4536
    app/spdx.js on lines 4537..4547
    app/spdx.js on lines 4620..4630

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

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

        {
          reference: './Ruby.html',
          isDeprecatedLicenseId: false,
          isFsfLibre: true,
          detailsUrl: 'http://spdx.org/licenses/Ruby.json',
    Severity: Major
    Found in app/spdx.js and 72 other locations - About 40 mins to fix
    app/spdx.js on lines 63..75
    app/spdx.js on lines 76..86
    app/spdx.js on lines 101..111
    app/spdx.js on lines 272..282
    app/spdx.js on lines 333..343
    app/spdx.js on lines 438..448
    app/spdx.js on lines 469..479
    app/spdx.js on lines 492..502
    app/spdx.js on lines 565..575
    app/spdx.js on lines 669..679
    app/spdx.js on lines 750..760
    app/spdx.js on lines 1001..1011
    app/spdx.js on lines 1022..1032
    app/spdx.js on lines 1033..1043
    app/spdx.js on lines 1097..1107
    app/spdx.js on lines 1118..1128
    app/spdx.js on lines 1129..1139
    app/spdx.js on lines 1190..1200
    app/spdx.js on lines 1201..1211
    app/spdx.js on lines 1361..1371
    app/spdx.js on lines 1516..1528
    app/spdx.js on lines 1600..1610
    app/spdx.js on lines 1611..1621
    app/spdx.js on lines 1622..1632
    app/spdx.js on lines 1633..1643
    app/spdx.js on lines 1644..1654
    app/spdx.js on lines 1655..1665
    app/spdx.js on lines 1666..1676
    app/spdx.js on lines 1677..1687
    app/spdx.js on lines 1688..1698
    app/spdx.js on lines 1978..1988
    app/spdx.js on lines 2037..2047
    app/spdx.js on lines 2048..2058
    app/spdx.js on lines 2059..2069
    app/spdx.js on lines 2118..2128
    app/spdx.js on lines 2419..2429
    app/spdx.js on lines 2430..2440
    app/spdx.js on lines 2535..2545
    app/spdx.js on lines 2841..2851
    app/spdx.js on lines 2852..2862
    app/spdx.js on lines 2863..2873
    app/spdx.js on lines 2956..2966
    app/spdx.js on lines 2977..2987
    app/spdx.js on lines 3021..3031
    app/spdx.js on lines 3032..3044
    app/spdx.js on lines 3288..3300
    app/spdx.js on lines 3337..3349
    app/spdx.js on lines 3396..3406
    app/spdx.js on lines 3407..3417
    app/spdx.js on lines 3418..3430
    app/spdx.js on lines 3459..3469
    app/spdx.js on lines 3493..3503
    app/spdx.js on lines 3549..3559
    app/spdx.js on lines 3712..3722
    app/spdx.js on lines 3769..3779
    app/spdx.js on lines 3802..3812
    app/spdx.js on lines 3905..3915
    app/spdx.js on lines 3952..3962
    app/spdx.js on lines 4070..4080
    app/spdx.js on lines 4113..4123
    app/spdx.js on lines 4144..4154
    app/spdx.js on lines 4193..4203
    app/spdx.js on lines 4224..4234
    app/spdx.js on lines 4235..4245
    app/spdx.js on lines 4286..4296
    app/spdx.js on lines 4321..4331
    app/spdx.js on lines 4342..4354
    app/spdx.js on lines 4355..4367
    app/spdx.js on lines 4479..4489
    app/spdx.js on lines 4526..4536
    app/spdx.js on lines 4537..4547
    app/spdx.js on lines 4620..4630

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

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

        {
          reference: './SPL-1.0.html',
          isDeprecatedLicenseId: false,
          isFsfLibre: true,
          detailsUrl: 'http://spdx.org/licenses/SPL-1.0.json',
    Severity: Major
    Found in app/spdx.js and 72 other locations - About 40 mins to fix
    app/spdx.js on lines 63..75
    app/spdx.js on lines 76..86
    app/spdx.js on lines 101..111
    app/spdx.js on lines 272..282
    app/spdx.js on lines 333..343
    app/spdx.js on lines 438..448
    app/spdx.js on lines 469..479
    app/spdx.js on lines 492..502
    app/spdx.js on lines 565..575
    app/spdx.js on lines 669..679
    app/spdx.js on lines 750..760
    app/spdx.js on lines 1001..1011
    app/spdx.js on lines 1022..1032
    app/spdx.js on lines 1033..1043
    app/spdx.js on lines 1097..1107
    app/spdx.js on lines 1118..1128
    app/spdx.js on lines 1129..1139
    app/spdx.js on lines 1190..1200
    app/spdx.js on lines 1201..1211
    app/spdx.js on lines 1361..1371
    app/spdx.js on lines 1516..1528
    app/spdx.js on lines 1600..1610
    app/spdx.js on lines 1611..1621
    app/spdx.js on lines 1622..1632
    app/spdx.js on lines 1633..1643
    app/spdx.js on lines 1644..1654
    app/spdx.js on lines 1655..1665
    app/spdx.js on lines 1666..1676
    app/spdx.js on lines 1677..1687
    app/spdx.js on lines 1688..1698
    app/spdx.js on lines 1978..1988
    app/spdx.js on lines 2037..2047
    app/spdx.js on lines 2048..2058
    app/spdx.js on lines 2059..2069
    app/spdx.js on lines 2118..2128
    app/spdx.js on lines 2419..2429
    app/spdx.js on lines 2430..2440
    app/spdx.js on lines 2535..2545
    app/spdx.js on lines 2841..2851
    app/spdx.js on lines 2852..2862
    app/spdx.js on lines 2863..2873
    app/spdx.js on lines 2956..2966
    app/spdx.js on lines 2977..2987
    app/spdx.js on lines 3021..3031
    app/spdx.js on lines 3032..3044
    app/spdx.js on lines 3288..3300
    app/spdx.js on lines 3337..3349
    app/spdx.js on lines 3396..3406
    app/spdx.js on lines 3407..3417
    app/spdx.js on lines 3418..3430
    app/spdx.js on lines 3459..3469
    app/spdx.js on lines 3493..3503
    app/spdx.js on lines 3549..3559
    app/spdx.js on lines 3661..3671
    app/spdx.js on lines 3712..3722
    app/spdx.js on lines 3769..3779
    app/spdx.js on lines 3905..3915
    app/spdx.js on lines 3952..3962
    app/spdx.js on lines 4070..4080
    app/spdx.js on lines 4113..4123
    app/spdx.js on lines 4144..4154
    app/spdx.js on lines 4193..4203
    app/spdx.js on lines 4224..4234
    app/spdx.js on lines 4235..4245
    app/spdx.js on lines 4286..4296
    app/spdx.js on lines 4321..4331
    app/spdx.js on lines 4342..4354
    app/spdx.js on lines 4355..4367
    app/spdx.js on lines 4479..4489
    app/spdx.js on lines 4526..4536
    app/spdx.js on lines 4537..4547
    app/spdx.js on lines 4620..4630

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

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

        {
          reference: './CECILL-C.html',
          isDeprecatedLicenseId: false,
          isFsfLibre: true,
          detailsUrl: 'http://spdx.org/licenses/CECILL-C.json',
    Severity: Major
    Found in app/spdx.js and 72 other locations - About 40 mins to fix
    app/spdx.js on lines 63..75
    app/spdx.js on lines 76..86
    app/spdx.js on lines 101..111
    app/spdx.js on lines 272..282
    app/spdx.js on lines 333..343
    app/spdx.js on lines 438..448
    app/spdx.js on lines 469..479
    app/spdx.js on lines 492..502
    app/spdx.js on lines 565..575
    app/spdx.js on lines 669..679
    app/spdx.js on lines 750..760
    app/spdx.js on lines 1001..1011
    app/spdx.js on lines 1022..1032
    app/spdx.js on lines 1033..1043
    app/spdx.js on lines 1097..1107
    app/spdx.js on lines 1118..1128
    app/spdx.js on lines 1190..1200
    app/spdx.js on lines 1201..1211
    app/spdx.js on lines 1361..1371
    app/spdx.js on lines 1516..1528
    app/spdx.js on lines 1600..1610
    app/spdx.js on lines 1611..1621
    app/spdx.js on lines 1622..1632
    app/spdx.js on lines 1633..1643
    app/spdx.js on lines 1644..1654
    app/spdx.js on lines 1655..1665
    app/spdx.js on lines 1666..1676
    app/spdx.js on lines 1677..1687
    app/spdx.js on lines 1688..1698
    app/spdx.js on lines 1978..1988
    app/spdx.js on lines 2037..2047
    app/spdx.js on lines 2048..2058
    app/spdx.js on lines 2059..2069
    app/spdx.js on lines 2118..2128
    app/spdx.js on lines 2419..2429
    app/spdx.js on lines 2430..2440
    app/spdx.js on lines 2535..2545
    app/spdx.js on lines 2841..2851
    app/spdx.js on lines 2852..2862
    app/spdx.js on lines 2863..2873
    app/spdx.js on lines 2956..2966
    app/spdx.js on lines 2977..2987
    app/spdx.js on lines 3021..3031
    app/spdx.js on lines 3032..3044
    app/spdx.js on lines 3288..3300
    app/spdx.js on lines 3337..3349
    app/spdx.js on lines 3396..3406
    app/spdx.js on lines 3407..3417
    app/spdx.js on lines 3418..3430
    app/spdx.js on lines 3459..3469
    app/spdx.js on lines 3493..3503
    app/spdx.js on lines 3549..3559
    app/spdx.js on lines 3661..3671
    app/spdx.js on lines 3712..3722
    app/spdx.js on lines 3769..3779
    app/spdx.js on lines 3802..3812
    app/spdx.js on lines 3905..3915
    app/spdx.js on lines 3952..3962
    app/spdx.js on lines 4070..4080
    app/spdx.js on lines 4113..4123
    app/spdx.js on lines 4144..4154
    app/spdx.js on lines 4193..4203
    app/spdx.js on lines 4224..4234
    app/spdx.js on lines 4235..4245
    app/spdx.js on lines 4286..4296
    app/spdx.js on lines 4321..4331
    app/spdx.js on lines 4342..4354
    app/spdx.js on lines 4355..4367
    app/spdx.js on lines 4479..4489
    app/spdx.js on lines 4526..4536
    app/spdx.js on lines 4537..4547
    app/spdx.js on lines 4620..4630

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

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

        {
          reference: './GFDL-1.1-only.html',
          isDeprecatedLicenseId: false,
          isFsfLibre: true,
          detailsUrl: 'http://spdx.org/licenses/GFDL-1.1-only.json',
    Severity: Major
    Found in app/spdx.js and 72 other locations - About 40 mins to fix
    app/spdx.js on lines 63..75
    app/spdx.js on lines 76..86
    app/spdx.js on lines 101..111
    app/spdx.js on lines 272..282
    app/spdx.js on lines 333..343
    app/spdx.js on lines 438..448
    app/spdx.js on lines 469..479
    app/spdx.js on lines 492..502
    app/spdx.js on lines 565..575
    app/spdx.js on lines 669..679
    app/spdx.js on lines 750..760
    app/spdx.js on lines 1001..1011
    app/spdx.js on lines 1022..1032
    app/spdx.js on lines 1033..1043
    app/spdx.js on lines 1097..1107
    app/spdx.js on lines 1118..1128
    app/spdx.js on lines 1129..1139
    app/spdx.js on lines 1190..1200
    app/spdx.js on lines 1201..1211
    app/spdx.js on lines 1361..1371
    app/spdx.js on lines 1516..1528
    app/spdx.js on lines 1600..1610
    app/spdx.js on lines 1622..1632
    app/spdx.js on lines 1633..1643
    app/spdx.js on lines 1644..1654
    app/spdx.js on lines 1655..1665
    app/spdx.js on lines 1666..1676
    app/spdx.js on lines 1677..1687
    app/spdx.js on lines 1688..1698
    app/spdx.js on lines 1978..1988
    app/spdx.js on lines 2037..2047
    app/spdx.js on lines 2048..2058
    app/spdx.js on lines 2059..2069
    app/spdx.js on lines 2118..2128
    app/spdx.js on lines 2419..2429
    app/spdx.js on lines 2430..2440
    app/spdx.js on lines 2535..2545
    app/spdx.js on lines 2841..2851
    app/spdx.js on lines 2852..2862
    app/spdx.js on lines 2863..2873
    app/spdx.js on lines 2956..2966
    app/spdx.js on lines 2977..2987
    app/spdx.js on lines 3021..3031
    app/spdx.js on lines 3032..3044
    app/spdx.js on lines 3288..3300
    app/spdx.js on lines 3337..3349
    app/spdx.js on lines 3396..3406
    app/spdx.js on lines 3407..3417
    app/spdx.js on lines 3418..3430
    app/spdx.js on lines 3459..3469
    app/spdx.js on lines 3493..3503
    app/spdx.js on lines 3549..3559
    app/spdx.js on lines 3661..3671
    app/spdx.js on lines 3712..3722
    app/spdx.js on lines 3769..3779
    app/spdx.js on lines 3802..3812
    app/spdx.js on lines 3905..3915
    app/spdx.js on lines 3952..3962
    app/spdx.js on lines 4070..4080
    app/spdx.js on lines 4113..4123
    app/spdx.js on lines 4144..4154
    app/spdx.js on lines 4193..4203
    app/spdx.js on lines 4224..4234
    app/spdx.js on lines 4235..4245
    app/spdx.js on lines 4286..4296
    app/spdx.js on lines 4321..4331
    app/spdx.js on lines 4342..4354
    app/spdx.js on lines 4355..4367
    app/spdx.js on lines 4479..4489
    app/spdx.js on lines 4526..4536
    app/spdx.js on lines 4537..4547
    app/spdx.js on lines 4620..4630

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

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

        {
          reference: './LPPL-1.3a.html',
          isDeprecatedLicenseId: false,
          isFsfLibre: true,
          detailsUrl: 'http://spdx.org/licenses/LPPL-1.3a.json',
    Severity: Major
    Found in app/spdx.js and 72 other locations - About 40 mins to fix
    app/spdx.js on lines 63..75
    app/spdx.js on lines 76..86
    app/spdx.js on lines 101..111
    app/spdx.js on lines 272..282
    app/spdx.js on lines 333..343
    app/spdx.js on lines 438..448
    app/spdx.js on lines 469..479
    app/spdx.js on lines 492..502
    app/spdx.js on lines 565..575
    app/spdx.js on lines 669..679
    app/spdx.js on lines 750..760
    app/spdx.js on lines 1001..1011
    app/spdx.js on lines 1022..1032
    app/spdx.js on lines 1033..1043
    app/spdx.js on lines 1097..1107
    app/spdx.js on lines 1118..1128
    app/spdx.js on lines 1129..1139
    app/spdx.js on lines 1190..1200
    app/spdx.js on lines 1201..1211
    app/spdx.js on lines 1361..1371
    app/spdx.js on lines 1516..1528
    app/spdx.js on lines 1600..1610
    app/spdx.js on lines 1611..1621
    app/spdx.js on lines 1622..1632
    app/spdx.js on lines 1633..1643
    app/spdx.js on lines 1644..1654
    app/spdx.js on lines 1655..1665
    app/spdx.js on lines 1666..1676
    app/spdx.js on lines 1677..1687
    app/spdx.js on lines 1688..1698
    app/spdx.js on lines 1978..1988
    app/spdx.js on lines 2037..2047
    app/spdx.js on lines 2048..2058
    app/spdx.js on lines 2059..2069
    app/spdx.js on lines 2118..2128
    app/spdx.js on lines 2419..2429
    app/spdx.js on lines 2535..2545
    app/spdx.js on lines 2841..2851
    app/spdx.js on lines 2852..2862
    app/spdx.js on lines 2863..2873
    app/spdx.js on lines 2956..2966
    app/spdx.js on lines 2977..2987
    app/spdx.js on lines 3021..3031
    app/spdx.js on lines 3032..3044
    app/spdx.js on lines 3288..3300
    app/spdx.js on lines 3337..3349
    app/spdx.js on lines 3396..3406
    app/spdx.js on lines 3407..3417
    app/spdx.js on lines 3418..3430
    app/spdx.js on lines 3459..3469
    app/spdx.js on lines 3493..3503
    app/spdx.js on lines 3549..3559
    app/spdx.js on lines 3661..3671
    app/spdx.js on lines 3712..3722
    app/spdx.js on lines 3769..3779
    app/spdx.js on lines 3802..3812
    app/spdx.js on lines 3905..3915
    app/spdx.js on lines 3952..3962
    app/spdx.js on lines 4070..4080
    app/spdx.js on lines 4113..4123
    app/spdx.js on lines 4144..4154
    app/spdx.js on lines 4193..4203
    app/spdx.js on lines 4224..4234
    app/spdx.js on lines 4235..4245
    app/spdx.js on lines 4286..4296
    app/spdx.js on lines 4321..4331
    app/spdx.js on lines 4342..4354
    app/spdx.js on lines 4355..4367
    app/spdx.js on lines 4479..4489
    app/spdx.js on lines 4526..4536
    app/spdx.js on lines 4537..4547
    app/spdx.js on lines 4620..4630

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

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

        {
          reference: './OSL-2.0.html',
          isDeprecatedLicenseId: false,
          isFsfLibre: true,
          detailsUrl: 'http://spdx.org/licenses/OSL-2.0.json',
    Severity: Major
    Found in app/spdx.js and 72 other locations - About 40 mins to fix
    app/spdx.js on lines 63..75
    app/spdx.js on lines 76..86
    app/spdx.js on lines 101..111
    app/spdx.js on lines 272..282
    app/spdx.js on lines 333..343
    app/spdx.js on lines 438..448
    app/spdx.js on lines 469..479
    app/spdx.js on lines 492..502
    app/spdx.js on lines 565..575
    app/spdx.js on lines 669..679
    app/spdx.js on lines 750..760
    app/spdx.js on lines 1001..1011
    app/spdx.js on lines 1022..1032
    app/spdx.js on lines 1033..1043
    app/spdx.js on lines 1097..1107
    app/spdx.js on lines 1118..1128
    app/spdx.js on lines 1129..1139
    app/spdx.js on lines 1190..1200
    app/spdx.js on lines 1201..1211
    app/spdx.js on lines 1361..1371
    app/spdx.js on lines 1516..1528
    app/spdx.js on lines 1600..1610
    app/spdx.js on lines 1611..1621
    app/spdx.js on lines 1622..1632
    app/spdx.js on lines 1633..1643
    app/spdx.js on lines 1644..1654
    app/spdx.js on lines 1655..1665
    app/spdx.js on lines 1666..1676
    app/spdx.js on lines 1677..1687
    app/spdx.js on lines 1688..1698
    app/spdx.js on lines 1978..1988
    app/spdx.js on lines 2037..2047
    app/spdx.js on lines 2048..2058
    app/spdx.js on lines 2059..2069
    app/spdx.js on lines 2118..2128
    app/spdx.js on lines 2419..2429
    app/spdx.js on lines 2430..2440
    app/spdx.js on lines 2535..2545
    app/spdx.js on lines 2841..2851
    app/spdx.js on lines 2852..2862
    app/spdx.js on lines 2863..2873
    app/spdx.js on lines 2956..2966
    app/spdx.js on lines 2977..2987
    app/spdx.js on lines 3021..3031
    app/spdx.js on lines 3032..3044
    app/spdx.js on lines 3288..3300
    app/spdx.js on lines 3337..3349
    app/spdx.js on lines 3396..3406
    app/spdx.js on lines 3407..3417
    app/spdx.js on lines 3459..3469
    app/spdx.js on lines 3493..3503
    app/spdx.js on lines 3549..3559
    app/spdx.js on lines 3661..3671
    app/spdx.js on lines 3712..3722
    app/spdx.js on lines 3769..3779
    app/spdx.js on lines 3802..3812
    app/spdx.js on lines 3905..3915
    app/spdx.js on lines 3952..3962
    app/spdx.js on lines 4070..4080
    app/spdx.js on lines 4113..4123
    app/spdx.js on lines 4144..4154
    app/spdx.js on lines 4193..4203
    app/spdx.js on lines 4224..4234
    app/spdx.js on lines 4235..4245
    app/spdx.js on lines 4286..4296
    app/spdx.js on lines 4321..4331
    app/spdx.js on lines 4342..4354
    app/spdx.js on lines 4355..4367
    app/spdx.js on lines 4479..4489
    app/spdx.js on lines 4526..4536
    app/spdx.js on lines 4537..4547
    app/spdx.js on lines 4620..4630

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

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

        {
          reference: './WTFPL.html',
          isDeprecatedLicenseId: false,
          isFsfLibre: true,
          detailsUrl: 'http://spdx.org/licenses/WTFPL.json',
    Severity: Major
    Found in app/spdx.js and 72 other locations - About 40 mins to fix
    app/spdx.js on lines 63..75
    app/spdx.js on lines 76..86
    app/spdx.js on lines 101..111
    app/spdx.js on lines 272..282
    app/spdx.js on lines 333..343
    app/spdx.js on lines 438..448
    app/spdx.js on lines 469..479
    app/spdx.js on lines 492..502
    app/spdx.js on lines 565..575
    app/spdx.js on lines 669..679
    app/spdx.js on lines 750..760
    app/spdx.js on lines 1001..1011
    app/spdx.js on lines 1022..1032
    app/spdx.js on lines 1033..1043
    app/spdx.js on lines 1097..1107
    app/spdx.js on lines 1118..1128
    app/spdx.js on lines 1129..1139
    app/spdx.js on lines 1190..1200
    app/spdx.js on lines 1201..1211
    app/spdx.js on lines 1361..1371
    app/spdx.js on lines 1516..1528
    app/spdx.js on lines 1600..1610
    app/spdx.js on lines 1611..1621
    app/spdx.js on lines 1622..1632
    app/spdx.js on lines 1633..1643
    app/spdx.js on lines 1644..1654
    app/spdx.js on lines 1655..1665
    app/spdx.js on lines 1666..1676
    app/spdx.js on lines 1677..1687
    app/spdx.js on lines 1688..1698
    app/spdx.js on lines 1978..1988
    app/spdx.js on lines 2037..2047
    app/spdx.js on lines 2048..2058
    app/spdx.js on lines 2059..2069
    app/spdx.js on lines 2118..2128
    app/spdx.js on lines 2419..2429
    app/spdx.js on lines 2430..2440
    app/spdx.js on lines 2535..2545
    app/spdx.js on lines 2841..2851
    app/spdx.js on lines 2852..2862
    app/spdx.js on lines 2863..2873
    app/spdx.js on lines 2956..2966
    app/spdx.js on lines 2977..2987
    app/spdx.js on lines 3021..3031
    app/spdx.js on lines 3032..3044
    app/spdx.js on lines 3288..3300
    app/spdx.js on lines 3337..3349
    app/spdx.js on lines 3396..3406
    app/spdx.js on lines 3407..3417
    app/spdx.js on lines 3418..3430
    app/spdx.js on lines 3459..3469
    app/spdx.js on lines 3493..3503
    app/spdx.js on lines 3549..3559
    app/spdx.js on lines 3661..3671
    app/spdx.js on lines 3712..3722
    app/spdx.js on lines 3769..3779
    app/spdx.js on lines 3802..3812
    app/spdx.js on lines 3905..3915
    app/spdx.js on lines 3952..3962
    app/spdx.js on lines 4070..4080
    app/spdx.js on lines 4113..4123
    app/spdx.js on lines 4144..4154
    app/spdx.js on lines 4224..4234
    app/spdx.js on lines 4235..4245
    app/spdx.js on lines 4286..4296
    app/spdx.js on lines 4321..4331
    app/spdx.js on lines 4342..4354
    app/spdx.js on lines 4355..4367
    app/spdx.js on lines 4479..4489
    app/spdx.js on lines 4526..4536
    app/spdx.js on lines 4537..4547
    app/spdx.js on lines 4620..4630

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

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

        {
          reference: './IJG.html',
          isDeprecatedLicenseId: false,
          isFsfLibre: true,
          detailsUrl: 'http://spdx.org/licenses/IJG.json',
    Severity: Major
    Found in app/spdx.js and 72 other locations - About 40 mins to fix
    app/spdx.js on lines 63..75
    app/spdx.js on lines 76..86
    app/spdx.js on lines 101..111
    app/spdx.js on lines 272..282
    app/spdx.js on lines 333..343
    app/spdx.js on lines 438..448
    app/spdx.js on lines 469..479
    app/spdx.js on lines 492..502
    app/spdx.js on lines 565..575
    app/spdx.js on lines 669..679
    app/spdx.js on lines 750..760
    app/spdx.js on lines 1001..1011
    app/spdx.js on lines 1022..1032
    app/spdx.js on lines 1033..1043
    app/spdx.js on lines 1097..1107
    app/spdx.js on lines 1118..1128
    app/spdx.js on lines 1129..1139
    app/spdx.js on lines 1190..1200
    app/spdx.js on lines 1201..1211
    app/spdx.js on lines 1361..1371
    app/spdx.js on lines 1516..1528
    app/spdx.js on lines 1600..1610
    app/spdx.js on lines 1611..1621
    app/spdx.js on lines 1622..1632
    app/spdx.js on lines 1633..1643
    app/spdx.js on lines 1644..1654
    app/spdx.js on lines 1655..1665
    app/spdx.js on lines 1666..1676
    app/spdx.js on lines 1677..1687
    app/spdx.js on lines 1688..1698
    app/spdx.js on lines 1978..1988
    app/spdx.js on lines 2048..2058
    app/spdx.js on lines 2059..2069
    app/spdx.js on lines 2118..2128
    app/spdx.js on lines 2419..2429
    app/spdx.js on lines 2430..2440
    app/spdx.js on lines 2535..2545
    app/spdx.js on lines 2841..2851
    app/spdx.js on lines 2852..2862
    app/spdx.js on lines 2863..2873
    app/spdx.js on lines 2956..2966
    app/spdx.js on lines 2977..2987
    app/spdx.js on lines 3021..3031
    app/spdx.js on lines 3032..3044
    app/spdx.js on lines 3288..3300
    app/spdx.js on lines 3337..3349
    app/spdx.js on lines 3396..3406
    app/spdx.js on lines 3407..3417
    app/spdx.js on lines 3418..3430
    app/spdx.js on lines 3459..3469
    app/spdx.js on lines 3493..3503
    app/spdx.js on lines 3549..3559
    app/spdx.js on lines 3661..3671
    app/spdx.js on lines 3712..3722
    app/spdx.js on lines 3769..3779
    app/spdx.js on lines 3802..3812
    app/spdx.js on lines 3905..3915
    app/spdx.js on lines 3952..3962
    app/spdx.js on lines 4070..4080
    app/spdx.js on lines 4113..4123
    app/spdx.js on lines 4144..4154
    app/spdx.js on lines 4193..4203
    app/spdx.js on lines 4224..4234
    app/spdx.js on lines 4235..4245
    app/spdx.js on lines 4286..4296
    app/spdx.js on lines 4321..4331
    app/spdx.js on lines 4342..4354
    app/spdx.js on lines 4355..4367
    app/spdx.js on lines 4479..4489
    app/spdx.js on lines 4526..4536
    app/spdx.js on lines 4537..4547
    app/spdx.js on lines 4620..4630

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

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

        {
          reference: './GFDL-1.2-or-later.html',
          isDeprecatedLicenseId: false,
          isFsfLibre: true,
          detailsUrl: 'http://spdx.org/licenses/GFDL-1.2-or-later.json',
    Severity: Major
    Found in app/spdx.js and 72 other locations - About 40 mins to fix
    app/spdx.js on lines 63..75
    app/spdx.js on lines 76..86
    app/spdx.js on lines 101..111
    app/spdx.js on lines 272..282
    app/spdx.js on lines 333..343
    app/spdx.js on lines 438..448
    app/spdx.js on lines 469..479
    app/spdx.js on lines 492..502
    app/spdx.js on lines 565..575
    app/spdx.js on lines 669..679
    app/spdx.js on lines 750..760
    app/spdx.js on lines 1001..1011
    app/spdx.js on lines 1022..1032
    app/spdx.js on lines 1033..1043
    app/spdx.js on lines 1097..1107
    app/spdx.js on lines 1118..1128
    app/spdx.js on lines 1129..1139
    app/spdx.js on lines 1190..1200
    app/spdx.js on lines 1201..1211
    app/spdx.js on lines 1361..1371
    app/spdx.js on lines 1516..1528
    app/spdx.js on lines 1600..1610
    app/spdx.js on lines 1611..1621
    app/spdx.js on lines 1622..1632
    app/spdx.js on lines 1633..1643
    app/spdx.js on lines 1644..1654
    app/spdx.js on lines 1666..1676
    app/spdx.js on lines 1677..1687
    app/spdx.js on lines 1688..1698
    app/spdx.js on lines 1978..1988
    app/spdx.js on lines 2037..2047
    app/spdx.js on lines 2048..2058
    app/spdx.js on lines 2059..2069
    app/spdx.js on lines 2118..2128
    app/spdx.js on lines 2419..2429
    app/spdx.js on lines 2430..2440
    app/spdx.js on lines 2535..2545
    app/spdx.js on lines 2841..2851
    app/spdx.js on lines 2852..2862
    app/spdx.js on lines 2863..2873
    app/spdx.js on lines 2956..2966
    app/spdx.js on lines 2977..2987
    app/spdx.js on lines 3021..3031
    app/spdx.js on lines 3032..3044
    app/spdx.js on lines 3288..3300
    app/spdx.js on lines 3337..3349
    app/spdx.js on lines 3396..3406
    app/spdx.js on lines 3407..3417
    app/spdx.js on lines 3418..3430
    app/spdx.js on lines 3459..3469
    app/spdx.js on lines 3493..3503
    app/spdx.js on lines 3549..3559
    app/spdx.js on lines 3661..3671
    app/spdx.js on lines 3712..3722
    app/spdx.js on lines 3769..3779
    app/spdx.js on lines 3802..3812
    app/spdx.js on lines 3905..3915
    app/spdx.js on lines 3952..3962
    app/spdx.js on lines 4070..4080
    app/spdx.js on lines 4113..4123
    app/spdx.js on lines 4144..4154
    app/spdx.js on lines 4193..4203
    app/spdx.js on lines 4224..4234
    app/spdx.js on lines 4235..4245
    app/spdx.js on lines 4286..4296
    app/spdx.js on lines 4321..4331
    app/spdx.js on lines 4342..4354
    app/spdx.js on lines 4355..4367
    app/spdx.js on lines 4479..4489
    app/spdx.js on lines 4526..4536
    app/spdx.js on lines 4537..4547
    app/spdx.js on lines 4620..4630

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

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

        {
          reference: './Nokia.html',
          isDeprecatedLicenseId: false,
          isFsfLibre: true,
          detailsUrl: 'http://spdx.org/licenses/Nokia.json',
    Severity: Major
    Found in app/spdx.js and 72 other locations - About 40 mins to fix
    app/spdx.js on lines 63..75
    app/spdx.js on lines 76..86
    app/spdx.js on lines 101..111
    app/spdx.js on lines 272..282
    app/spdx.js on lines 333..343
    app/spdx.js on lines 438..448
    app/spdx.js on lines 469..479
    app/spdx.js on lines 492..502
    app/spdx.js on lines 565..575
    app/spdx.js on lines 669..679
    app/spdx.js on lines 750..760
    app/spdx.js on lines 1001..1011
    app/spdx.js on lines 1022..1032
    app/spdx.js on lines 1033..1043
    app/spdx.js on lines 1097..1107
    app/spdx.js on lines 1118..1128
    app/spdx.js on lines 1129..1139
    app/spdx.js on lines 1190..1200
    app/spdx.js on lines 1201..1211
    app/spdx.js on lines 1361..1371
    app/spdx.js on lines 1516..1528
    app/spdx.js on lines 1600..1610
    app/spdx.js on lines 1611..1621
    app/spdx.js on lines 1622..1632
    app/spdx.js on lines 1633..1643
    app/spdx.js on lines 1644..1654
    app/spdx.js on lines 1655..1665
    app/spdx.js on lines 1666..1676
    app/spdx.js on lines 1677..1687
    app/spdx.js on lines 1688..1698
    app/spdx.js on lines 1978..1988
    app/spdx.js on lines 2037..2047
    app/spdx.js on lines 2048..2058
    app/spdx.js on lines 2059..2069
    app/spdx.js on lines 2118..2128
    app/spdx.js on lines 2419..2429
    app/spdx.js on lines 2430..2440
    app/spdx.js on lines 2535..2545
    app/spdx.js on lines 2841..2851
    app/spdx.js on lines 2852..2862
    app/spdx.js on lines 2863..2873
    app/spdx.js on lines 2977..2987
    app/spdx.js on lines 3021..3031
    app/spdx.js on lines 3032..3044
    app/spdx.js on lines 3288..3300
    app/spdx.js on lines 3337..3349
    app/spdx.js on lines 3396..3406
    app/spdx.js on lines 3407..3417
    app/spdx.js on lines 3418..3430
    app/spdx.js on lines 3459..3469
    app/spdx.js on lines 3493..3503
    app/spdx.js on lines 3549..3559
    app/spdx.js on lines 3661..3671
    app/spdx.js on lines 3712..3722
    app/spdx.js on lines 3769..3779
    app/spdx.js on lines 3802..3812
    app/spdx.js on lines 3905..3915
    app/spdx.js on lines 3952..3962
    app/spdx.js on lines 4070..4080
    app/spdx.js on lines 4113..4123
    app/spdx.js on lines 4144..4154
    app/spdx.js on lines 4193..4203
    app/spdx.js on lines 4224..4234
    app/spdx.js on lines 4235..4245
    app/spdx.js on lines 4286..4296
    app/spdx.js on lines 4321..4331
    app/spdx.js on lines 4342..4354
    app/spdx.js on lines 4355..4367
    app/spdx.js on lines 4479..4489
    app/spdx.js on lines 4526..4536
    app/spdx.js on lines 4537..4547
    app/spdx.js on lines 4620..4630

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

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

        {
          reference: './OpenSSL.html',
          isDeprecatedLicenseId: false,
          isFsfLibre: true,
          detailsUrl: 'http://spdx.org/licenses/OpenSSL.json',
    Severity: Major
    Found in app/spdx.js and 72 other locations - About 40 mins to fix
    app/spdx.js on lines 63..75
    app/spdx.js on lines 76..86
    app/spdx.js on lines 101..111
    app/spdx.js on lines 272..282
    app/spdx.js on lines 333..343
    app/spdx.js on lines 438..448
    app/spdx.js on lines 469..479
    app/spdx.js on lines 492..502
    app/spdx.js on lines 565..575
    app/spdx.js on lines 669..679
    app/spdx.js on lines 750..760
    app/spdx.js on lines 1001..1011
    app/spdx.js on lines 1022..1032
    app/spdx.js on lines 1033..1043
    app/spdx.js on lines 1097..1107
    app/spdx.js on lines 1118..1128
    app/spdx.js on lines 1129..1139
    app/spdx.js on lines 1190..1200
    app/spdx.js on lines 1201..1211
    app/spdx.js on lines 1361..1371
    app/spdx.js on lines 1516..1528
    app/spdx.js on lines 1600..1610
    app/spdx.js on lines 1611..1621
    app/spdx.js on lines 1622..1632
    app/spdx.js on lines 1633..1643
    app/spdx.js on lines 1644..1654
    app/spdx.js on lines 1655..1665
    app/spdx.js on lines 1666..1676
    app/spdx.js on lines 1677..1687
    app/spdx.js on lines 1688..1698
    app/spdx.js on lines 1978..1988
    app/spdx.js on lines 2037..2047
    app/spdx.js on lines 2048..2058
    app/spdx.js on lines 2059..2069
    app/spdx.js on lines 2118..2128
    app/spdx.js on lines 2419..2429
    app/spdx.js on lines 2430..2440
    app/spdx.js on lines 2535..2545
    app/spdx.js on lines 2841..2851
    app/spdx.js on lines 2852..2862
    app/spdx.js on lines 2863..2873
    app/spdx.js on lines 2956..2966
    app/spdx.js on lines 2977..2987
    app/spdx.js on lines 3021..3031
    app/spdx.js on lines 3032..3044
    app/spdx.js on lines 3288..3300
    app/spdx.js on lines 3337..3349
    app/spdx.js on lines 3396..3406
    app/spdx.js on lines 3407..3417
    app/spdx.js on lines 3418..3430
    app/spdx.js on lines 3493..3503
    app/spdx.js on lines 3549..3559
    app/spdx.js on lines 3661..3671
    app/spdx.js on lines 3712..3722
    app/spdx.js on lines 3769..3779
    app/spdx.js on lines 3802..3812
    app/spdx.js on lines 3905..3915
    app/spdx.js on lines 3952..3962
    app/spdx.js on lines 4070..4080
    app/spdx.js on lines 4113..4123
    app/spdx.js on lines 4144..4154
    app/spdx.js on lines 4193..4203
    app/spdx.js on lines 4224..4234
    app/spdx.js on lines 4235..4245
    app/spdx.js on lines 4286..4296
    app/spdx.js on lines 4321..4331
    app/spdx.js on lines 4342..4354
    app/spdx.js on lines 4355..4367
    app/spdx.js on lines 4479..4489
    app/spdx.js on lines 4526..4536
    app/spdx.js on lines 4537..4547
    app/spdx.js on lines 4620..4630

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

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

        {
          reference: './ZPL-2.1.html',
          isDeprecatedLicenseId: false,
          isFsfLibre: true,
          detailsUrl: 'http://spdx.org/licenses/ZPL-2.1.json',
    Severity: Major
    Found in app/spdx.js and 72 other locations - About 40 mins to fix
    app/spdx.js on lines 63..75
    app/spdx.js on lines 76..86
    app/spdx.js on lines 101..111
    app/spdx.js on lines 272..282
    app/spdx.js on lines 333..343
    app/spdx.js on lines 438..448
    app/spdx.js on lines 469..479
    app/spdx.js on lines 492..502
    app/spdx.js on lines 565..575
    app/spdx.js on lines 669..679
    app/spdx.js on lines 750..760
    app/spdx.js on lines 1001..1011
    app/spdx.js on lines 1022..1032
    app/spdx.js on lines 1033..1043
    app/spdx.js on lines 1097..1107
    app/spdx.js on lines 1118..1128
    app/spdx.js on lines 1129..1139
    app/spdx.js on lines 1190..1200
    app/spdx.js on lines 1201..1211
    app/spdx.js on lines 1361..1371
    app/spdx.js on lines 1516..1528
    app/spdx.js on lines 1600..1610
    app/spdx.js on lines 1611..1621
    app/spdx.js on lines 1622..1632
    app/spdx.js on lines 1633..1643
    app/spdx.js on lines 1644..1654
    app/spdx.js on lines 1655..1665
    app/spdx.js on lines 1666..1676
    app/spdx.js on lines 1677..1687
    app/spdx.js on lines 1688..1698
    app/spdx.js on lines 1978..1988
    app/spdx.js on lines 2037..2047
    app/spdx.js on lines 2048..2058
    app/spdx.js on lines 2059..2069
    app/spdx.js on lines 2118..2128
    app/spdx.js on lines 2419..2429
    app/spdx.js on lines 2430..2440
    app/spdx.js on lines 2535..2545
    app/spdx.js on lines 2841..2851
    app/spdx.js on lines 2852..2862
    app/spdx.js on lines 2863..2873
    app/spdx.js on lines 2956..2966
    app/spdx.js on lines 2977..2987
    app/spdx.js on lines 3021..3031
    app/spdx.js on lines 3032..3044
    app/spdx.js on lines 3288..3300
    app/spdx.js on lines 3337..3349
    app/spdx.js on lines 3396..3406
    app/spdx.js on lines 3407..3417
    app/spdx.js on lines 3418..3430
    app/spdx.js on lines 3459..3469
    app/spdx.js on lines 3493..3503
    app/spdx.js on lines 3549..3559
    app/spdx.js on lines 3661..3671
    app/spdx.js on lines 3712..3722
    app/spdx.js on lines 3769..3779
    app/spdx.js on lines 3802..3812
    app/spdx.js on lines 3905..3915
    app/spdx.js on lines 3952..3962
    app/spdx.js on lines 4070..4080
    app/spdx.js on lines 4113..4123
    app/spdx.js on lines 4144..4154
    app/spdx.js on lines 4193..4203
    app/spdx.js on lines 4224..4234
    app/spdx.js on lines 4235..4245
    app/spdx.js on lines 4286..4296
    app/spdx.js on lines 4342..4354
    app/spdx.js on lines 4355..4367
    app/spdx.js on lines 4479..4489
    app/spdx.js on lines 4526..4536
    app/spdx.js on lines 4537..4547
    app/spdx.js on lines 4620..4630

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

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

        {
          reference: './Zimbra-1.3.html',
          isDeprecatedLicenseId: false,
          isFsfLibre: true,
          detailsUrl: 'http://spdx.org/licenses/Zimbra-1.3.json',
    Severity: Major
    Found in app/spdx.js and 72 other locations - About 40 mins to fix
    app/spdx.js on lines 63..75
    app/spdx.js on lines 76..86
    app/spdx.js on lines 101..111
    app/spdx.js on lines 272..282
    app/spdx.js on lines 333..343
    app/spdx.js on lines 438..448
    app/spdx.js on lines 469..479
    app/spdx.js on lines 492..502
    app/spdx.js on lines 565..575
    app/spdx.js on lines 669..679
    app/spdx.js on lines 750..760
    app/spdx.js on lines 1001..1011
    app/spdx.js on lines 1022..1032
    app/spdx.js on lines 1033..1043
    app/spdx.js on lines 1097..1107
    app/spdx.js on lines 1118..1128
    app/spdx.js on lines 1129..1139
    app/spdx.js on lines 1190..1200
    app/spdx.js on lines 1201..1211
    app/spdx.js on lines 1361..1371
    app/spdx.js on lines 1516..1528
    app/spdx.js on lines 1600..1610
    app/spdx.js on lines 1611..1621
    app/spdx.js on lines 1622..1632
    app/spdx.js on lines 1633..1643
    app/spdx.js on lines 1644..1654
    app/spdx.js on lines 1655..1665
    app/spdx.js on lines 1666..1676
    app/spdx.js on lines 1677..1687
    app/spdx.js on lines 1688..1698
    app/spdx.js on lines 1978..1988
    app/spdx.js on lines 2037..2047
    app/spdx.js on lines 2048..2058
    app/spdx.js on lines 2059..2069
    app/spdx.js on lines 2118..2128
    app/spdx.js on lines 2419..2429
    app/spdx.js on lines 2430..2440
    app/spdx.js on lines 2535..2545
    app/spdx.js on lines 2841..2851
    app/spdx.js on lines 2852..2862
    app/spdx.js on lines 2863..2873
    app/spdx.js on lines 2956..2966
    app/spdx.js on lines 2977..2987
    app/spdx.js on lines 3021..3031
    app/spdx.js on lines 3032..3044
    app/spdx.js on lines 3288..3300
    app/spdx.js on lines 3337..3349
    app/spdx.js on lines 3396..3406
    app/spdx.js on lines 3407..3417
    app/spdx.js on lines 3418..3430
    app/spdx.js on lines 3459..3469
    app/spdx.js on lines 3493..3503
    app/spdx.js on lines 3549..3559
    app/spdx.js on lines 3661..3671
    app/spdx.js on lines 3712..3722
    app/spdx.js on lines 3769..3779
    app/spdx.js on lines 3802..3812
    app/spdx.js on lines 3905..3915
    app/spdx.js on lines 3952..3962
    app/spdx.js on lines 4070..4080
    app/spdx.js on lines 4113..4123
    app/spdx.js on lines 4144..4154
    app/spdx.js on lines 4193..4203
    app/spdx.js on lines 4224..4234
    app/spdx.js on lines 4235..4245
    app/spdx.js on lines 4286..4296
    app/spdx.js on lines 4321..4331
    app/spdx.js on lines 4342..4354
    app/spdx.js on lines 4479..4489
    app/spdx.js on lines 4526..4536
    app/spdx.js on lines 4537..4547
    app/spdx.js on lines 4620..4630

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

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

        {
          reference: './CECILL-B.html',
          isDeprecatedLicenseId: false,
          isFsfLibre: true,
          detailsUrl: 'http://spdx.org/licenses/CECILL-B.json',
    Severity: Major
    Found in app/spdx.js and 72 other locations - About 40 mins to fix
    app/spdx.js on lines 63..75
    app/spdx.js on lines 76..86
    app/spdx.js on lines 101..111
    app/spdx.js on lines 272..282
    app/spdx.js on lines 333..343
    app/spdx.js on lines 438..448
    app/spdx.js on lines 469..479
    app/spdx.js on lines 492..502
    app/spdx.js on lines 565..575
    app/spdx.js on lines 669..679
    app/spdx.js on lines 750..760
    app/spdx.js on lines 1001..1011
    app/spdx.js on lines 1022..1032
    app/spdx.js on lines 1033..1043
    app/spdx.js on lines 1097..1107
    app/spdx.js on lines 1129..1139
    app/spdx.js on lines 1190..1200
    app/spdx.js on lines 1201..1211
    app/spdx.js on lines 1361..1371
    app/spdx.js on lines 1516..1528
    app/spdx.js on lines 1600..1610
    app/spdx.js on lines 1611..1621
    app/spdx.js on lines 1622..1632
    app/spdx.js on lines 1633..1643
    app/spdx.js on lines 1644..1654
    app/spdx.js on lines 1655..1665
    app/spdx.js on lines 1666..1676
    app/spdx.js on lines 1677..1687
    app/spdx.js on lines 1688..1698
    app/spdx.js on lines 1978..1988
    app/spdx.js on lines 2037..2047
    app/spdx.js on lines 2048..2058
    app/spdx.js on lines 2059..2069
    app/spdx.js on lines 2118..2128
    app/spdx.js on lines 2419..2429
    app/spdx.js on lines 2430..2440
    app/spdx.js on lines 2535..2545
    app/spdx.js on lines 2841..2851
    app/spdx.js on lines 2852..2862
    app/spdx.js on lines 2863..2873
    app/spdx.js on lines 2956..2966
    app/spdx.js on lines 2977..2987
    app/spdx.js on lines 3021..3031
    app/spdx.js on lines 3032..3044
    app/spdx.js on lines 3288..3300
    app/spdx.js on lines 3337..3349
    app/spdx.js on lines 3396..3406
    app/spdx.js on lines 3407..3417
    app/spdx.js on lines 3418..3430
    app/spdx.js on lines 3459..3469
    app/spdx.js on lines 3493..3503
    app/spdx.js on lines 3549..3559
    app/spdx.js on lines 3661..3671
    app/spdx.js on lines 3712..3722
    app/spdx.js on lines 3769..3779
    app/spdx.js on lines 3802..3812
    app/spdx.js on lines 3905..3915
    app/spdx.js on lines 3952..3962
    app/spdx.js on lines 4070..4080
    app/spdx.js on lines 4113..4123
    app/spdx.js on lines 4144..4154
    app/spdx.js on lines 4193..4203
    app/spdx.js on lines 4224..4234
    app/spdx.js on lines 4235..4245
    app/spdx.js on lines 4286..4296
    app/spdx.js on lines 4321..4331
    app/spdx.js on lines 4342..4354
    app/spdx.js on lines 4355..4367
    app/spdx.js on lines 4479..4489
    app/spdx.js on lines 4526..4536
    app/spdx.js on lines 4537..4547
    app/spdx.js on lines 4620..4630

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

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

        {
          reference: './GFDL-1.1.html',
          isDeprecatedLicenseId: true,
          isFsfLibre: true,
          detailsUrl: 'http://spdx.org/licenses/GFDL-1.1.json',
    Severity: Major
    Found in app/spdx.js and 72 other locations - About 40 mins to fix
    app/spdx.js on lines 63..75
    app/spdx.js on lines 76..86
    app/spdx.js on lines 101..111
    app/spdx.js on lines 272..282
    app/spdx.js on lines 333..343
    app/spdx.js on lines 438..448
    app/spdx.js on lines 469..479
    app/spdx.js on lines 492..502
    app/spdx.js on lines 565..575
    app/spdx.js on lines 669..679
    app/spdx.js on lines 750..760
    app/spdx.js on lines 1001..1011
    app/spdx.js on lines 1022..1032
    app/spdx.js on lines 1033..1043
    app/spdx.js on lines 1097..1107
    app/spdx.js on lines 1118..1128
    app/spdx.js on lines 1129..1139
    app/spdx.js on lines 1190..1200
    app/spdx.js on lines 1201..1211
    app/spdx.js on lines 1361..1371
    app/spdx.js on lines 1516..1528
    app/spdx.js on lines 1611..1621
    app/spdx.js on lines 1622..1632
    app/spdx.js on lines 1633..1643
    app/spdx.js on lines 1644..1654
    app/spdx.js on lines 1655..1665
    app/spdx.js on lines 1666..1676
    app/spdx.js on lines 1677..1687
    app/spdx.js on lines 1688..1698
    app/spdx.js on lines 1978..1988
    app/spdx.js on lines 2037..2047
    app/spdx.js on lines 2048..2058
    app/spdx.js on lines 2059..2069
    app/spdx.js on lines 2118..2128
    app/spdx.js on lines 2419..2429
    app/spdx.js on lines 2430..2440
    app/spdx.js on lines 2535..2545
    app/spdx.js on lines 2841..2851
    app/spdx.js on lines 2852..2862
    app/spdx.js on lines 2863..2873
    app/spdx.js on lines 2956..2966
    app/spdx.js on lines 2977..2987
    app/spdx.js on lines 3021..3031
    app/spdx.js on lines 3032..3044
    app/spdx.js on lines 3288..3300
    app/spdx.js on lines 3337..3349
    app/spdx.js on lines 3396..3406
    app/spdx.js on lines 3407..3417
    app/spdx.js on lines 3418..3430
    app/spdx.js on lines 3459..3469
    app/spdx.js on lines 3493..3503
    app/spdx.js on lines 3549..3559
    app/spdx.js on lines 3661..3671
    app/spdx.js on lines 3712..3722
    app/spdx.js on lines 3769..3779
    app/spdx.js on lines 3802..3812
    app/spdx.js on lines 3905..3915
    app/spdx.js on lines 3952..3962
    app/spdx.js on lines 4070..4080
    app/spdx.js on lines 4113..4123
    app/spdx.js on lines 4144..4154
    app/spdx.js on lines 4193..4203
    app/spdx.js on lines 4224..4234
    app/spdx.js on lines 4235..4245
    app/spdx.js on lines 4286..4296
    app/spdx.js on lines 4321..4331
    app/spdx.js on lines 4342..4354
    app/spdx.js on lines 4355..4367
    app/spdx.js on lines 4479..4489
    app/spdx.js on lines 4526..4536
    app/spdx.js on lines 4537..4547
    app/spdx.js on lines 4620..4630

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

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

        {
          reference: './GFDL-1.2.html',
          isDeprecatedLicenseId: true,
          isFsfLibre: true,
          detailsUrl: 'http://spdx.org/licenses/GFDL-1.2.json',
    Severity: Major
    Found in app/spdx.js and 72 other locations - About 40 mins to fix
    app/spdx.js on lines 63..75
    app/spdx.js on lines 76..86
    app/spdx.js on lines 101..111
    app/spdx.js on lines 272..282
    app/spdx.js on lines 333..343
    app/spdx.js on lines 438..448
    app/spdx.js on lines 469..479
    app/spdx.js on lines 492..502
    app/spdx.js on lines 565..575
    app/spdx.js on lines 669..679
    app/spdx.js on lines 750..760
    app/spdx.js on lines 1001..1011
    app/spdx.js on lines 1022..1032
    app/spdx.js on lines 1033..1043
    app/spdx.js on lines 1097..1107
    app/spdx.js on lines 1118..1128
    app/spdx.js on lines 1129..1139
    app/spdx.js on lines 1190..1200
    app/spdx.js on lines 1201..1211
    app/spdx.js on lines 1361..1371
    app/spdx.js on lines 1516..1528
    app/spdx.js on lines 1600..1610
    app/spdx.js on lines 1611..1621
    app/spdx.js on lines 1622..1632
    app/spdx.js on lines 1644..1654
    app/spdx.js on lines 1655..1665
    app/spdx.js on lines 1666..1676
    app/spdx.js on lines 1677..1687
    app/spdx.js on lines 1688..1698
    app/spdx.js on lines 1978..1988
    app/spdx.js on lines 2037..2047
    app/spdx.js on lines 2048..2058
    app/spdx.js on lines 2059..2069
    app/spdx.js on lines 2118..2128
    app/spdx.js on lines 2419..2429
    app/spdx.js on lines 2430..2440
    app/spdx.js on lines 2535..2545
    app/spdx.js on lines 2841..2851
    app/spdx.js on lines 2852..2862
    app/spdx.js on lines 2863..2873
    app/spdx.js on lines 2956..2966
    app/spdx.js on lines 2977..2987
    app/spdx.js on lines 3021..3031
    app/spdx.js on lines 3032..3044
    app/spdx.js on lines 3288..3300
    app/spdx.js on lines 3337..3349
    app/spdx.js on lines 3396..3406
    app/spdx.js on lines 3407..3417
    app/spdx.js on lines 3418..3430
    app/spdx.js on lines 3459..3469
    app/spdx.js on lines 3493..3503
    app/spdx.js on lines 3549..3559
    app/spdx.js on lines 3661..3671
    app/spdx.js on lines 3712..3722
    app/spdx.js on lines 3769..3779
    app/spdx.js on lines 3802..3812
    app/spdx.js on lines 3905..3915
    app/spdx.js on lines 3952..3962
    app/spdx.js on lines 4070..4080
    app/spdx.js on lines 4113..4123
    app/spdx.js on lines 4144..4154
    app/spdx.js on lines 4193..4203
    app/spdx.js on lines 4224..4234
    app/spdx.js on lines 4235..4245
    app/spdx.js on lines 4286..4296
    app/spdx.js on lines 4321..4331
    app/spdx.js on lines 4342..4354
    app/spdx.js on lines 4355..4367
    app/spdx.js on lines 4479..4489
    app/spdx.js on lines 4526..4536
    app/spdx.js on lines 4537..4547
    app/spdx.js on lines 4620..4630

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

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

        {
          reference: './GFDL-1.3.html',
          isDeprecatedLicenseId: true,
          isFsfLibre: true,
          detailsUrl: 'http://spdx.org/licenses/GFDL-1.3.json',
    Severity: Major
    Found in app/spdx.js and 72 other locations - About 40 mins to fix
    app/spdx.js on lines 63..75
    app/spdx.js on lines 76..86
    app/spdx.js on lines 101..111
    app/spdx.js on lines 272..282
    app/spdx.js on lines 333..343
    app/spdx.js on lines 438..448
    app/spdx.js on lines 469..479
    app/spdx.js on lines 492..502
    app/spdx.js on lines 565..575
    app/spdx.js on lines 669..679
    app/spdx.js on lines 750..760
    app/spdx.js on lines 1001..1011
    app/spdx.js on lines 1022..1032
    app/spdx.js on lines 1033..1043
    app/spdx.js on lines 1097..1107
    app/spdx.js on lines 1118..1128
    app/spdx.js on lines 1129..1139
    app/spdx.js on lines 1190..1200
    app/spdx.js on lines 1201..1211
    app/spdx.js on lines 1361..1371
    app/spdx.js on lines 1516..1528
    app/spdx.js on lines 1600..1610
    app/spdx.js on lines 1611..1621
    app/spdx.js on lines 1622..1632
    app/spdx.js on lines 1633..1643
    app/spdx.js on lines 1644..1654
    app/spdx.js on lines 1655..1665
    app/spdx.js on lines 1677..1687
    app/spdx.js on lines 1688..1698
    app/spdx.js on lines 1978..1988
    app/spdx.js on lines 2037..2047
    app/spdx.js on lines 2048..2058
    app/spdx.js on lines 2059..2069
    app/spdx.js on lines 2118..2128
    app/spdx.js on lines 2419..2429
    app/spdx.js on lines 2430..2440
    app/spdx.js on lines 2535..2545
    app/spdx.js on lines 2841..2851
    app/spdx.js on lines 2852..2862
    app/spdx.js on lines 2863..2873
    app/spdx.js on lines 2956..2966
    app/spdx.js on lines 2977..2987
    app/spdx.js on lines 3021..3031
    app/spdx.js on lines 3032..3044
    app/spdx.js on lines 3288..3300
    app/spdx.js on lines 3337..3349
    app/spdx.js on lines 3396..3406
    app/spdx.js on lines 3407..3417
    app/spdx.js on lines 3418..3430
    app/spdx.js on lines 3459..3469
    app/spdx.js on lines 3493..3503
    app/spdx.js on lines 3549..3559
    app/spdx.js on lines 3661..3671
    app/spdx.js on lines 3712..3722
    app/spdx.js on lines 3769..3779
    app/spdx.js on lines 3802..3812
    app/spdx.js on lines 3905..3915
    app/spdx.js on lines 3952..3962
    app/spdx.js on lines 4070..4080
    app/spdx.js on lines 4113..4123
    app/spdx.js on lines 4144..4154
    app/spdx.js on lines 4193..4203
    app/spdx.js on lines 4224..4234
    app/spdx.js on lines 4235..4245
    app/spdx.js on lines 4286..4296
    app/spdx.js on lines 4321..4331
    app/spdx.js on lines 4342..4354
    app/spdx.js on lines 4355..4367
    app/spdx.js on lines 4479..4489
    app/spdx.js on lines 4526..4536
    app/spdx.js on lines 4537..4547
    app/spdx.js on lines 4620..4630

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

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

        {
          reference: './GFDL-1.3-only.html',
          isDeprecatedLicenseId: false,
          isFsfLibre: true,
          detailsUrl: 'http://spdx.org/licenses/GFDL-1.3-only.json',
    Severity: Major
    Found in app/spdx.js and 72 other locations - About 40 mins to fix
    app/spdx.js on lines 63..75
    app/spdx.js on lines 76..86
    app/spdx.js on lines 101..111
    app/spdx.js on lines 272..282
    app/spdx.js on lines 333..343
    app/spdx.js on lines 438..448
    app/spdx.js on lines 469..479
    app/spdx.js on lines 492..502
    app/spdx.js on lines 565..575
    app/spdx.js on lines 669..679
    app/spdx.js on lines 750..760
    app/spdx.js on lines 1001..1011
    app/spdx.js on lines 1022..1032
    app/spdx.js on lines 1033..1043
    app/spdx.js on lines 1097..1107
    app/spdx.js on lines 1118..1128
    app/spdx.js on lines 1129..1139
    app/spdx.js on lines 1190..1200
    app/spdx.js on lines 1201..1211
    app/spdx.js on lines 1361..1371
    app/spdx.js on lines 1516..1528
    app/spdx.js on lines 1600..1610
    app/spdx.js on lines 1611..1621
    app/spdx.js on lines 1622..1632
    app/spdx.js on lines 1633..1643
    app/spdx.js on lines 1644..1654
    app/spdx.js on lines 1655..1665
    app/spdx.js on lines 1666..1676
    app/spdx.js on lines 1688..1698
    app/spdx.js on lines 1978..1988
    app/spdx.js on lines 2037..2047
    app/spdx.js on lines 2048..2058
    app/spdx.js on lines 2059..2069
    app/spdx.js on lines 2118..2128
    app/spdx.js on lines 2419..2429
    app/spdx.js on lines 2430..2440
    app/spdx.js on lines 2535..2545
    app/spdx.js on lines 2841..2851
    app/spdx.js on lines 2852..2862
    app/spdx.js on lines 2863..2873
    app/spdx.js on lines 2956..2966
    app/spdx.js on lines 2977..2987
    app/spdx.js on lines 3021..3031
    app/spdx.js on lines 3032..3044
    app/spdx.js on lines 3288..3300
    app/spdx.js on lines 3337..3349
    app/spdx.js on lines 3396..3406
    app/spdx.js on lines 3407..3417
    app/spdx.js on lines 3418..3430
    app/spdx.js on lines 3459..3469
    app/spdx.js on lines 3493..3503
    app/spdx.js on lines 3549..3559
    app/spdx.js on lines 3661..3671
    app/spdx.js on lines 3712..3722
    app/spdx.js on lines 3769..3779
    app/spdx.js on lines 3802..3812
    app/spdx.js on lines 3905..3915
    app/spdx.js on lines 3952..3962
    app/spdx.js on lines 4070..4080
    app/spdx.js on lines 4113..4123
    app/spdx.js on lines 4144..4154
    app/spdx.js on lines 4193..4203
    app/spdx.js on lines 4224..4234
    app/spdx.js on lines 4235..4245
    app/spdx.js on lines 4286..4296
    app/spdx.js on lines 4321..4331
    app/spdx.js on lines 4342..4354
    app/spdx.js on lines 4355..4367
    app/spdx.js on lines 4479..4489
    app/spdx.js on lines 4526..4536
    app/spdx.js on lines 4537..4547
    app/spdx.js on lines 4620..4630

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

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

        {
          reference: './PHP-3.01.html',
          isDeprecatedLicenseId: false,
          isFsfLibre: true,
          detailsUrl: 'http://spdx.org/licenses/PHP-3.01.json',
    Severity: Major
    Found in app/spdx.js and 72 other locations - About 40 mins to fix
    app/spdx.js on lines 63..75
    app/spdx.js on lines 76..86
    app/spdx.js on lines 101..111
    app/spdx.js on lines 272..282
    app/spdx.js on lines 333..343
    app/spdx.js on lines 438..448
    app/spdx.js on lines 469..479
    app/spdx.js on lines 492..502
    app/spdx.js on lines 565..575
    app/spdx.js on lines 669..679
    app/spdx.js on lines 750..760
    app/spdx.js on lines 1001..1011
    app/spdx.js on lines 1022..1032
    app/spdx.js on lines 1033..1043
    app/spdx.js on lines 1097..1107
    app/spdx.js on lines 1118..1128
    app/spdx.js on lines 1129..1139
    app/spdx.js on lines 1190..1200
    app/spdx.js on lines 1201..1211
    app/spdx.js on lines 1361..1371
    app/spdx.js on lines 1516..1528
    app/spdx.js on lines 1600..1610
    app/spdx.js on lines 1611..1621
    app/spdx.js on lines 1622..1632
    app/spdx.js on lines 1633..1643
    app/spdx.js on lines 1644..1654
    app/spdx.js on lines 1655..1665
    app/spdx.js on lines 1666..1676
    app/spdx.js on lines 1677..1687
    app/spdx.js on lines 1688..1698
    app/spdx.js on lines 1978..1988
    app/spdx.js on lines 2037..2047
    app/spdx.js on lines 2048..2058
    app/spdx.js on lines 2059..2069
    app/spdx.js on lines 2118..2128
    app/spdx.js on lines 2419..2429
    app/spdx.js on lines 2430..2440
    app/spdx.js on lines 2535..2545
    app/spdx.js on lines 2841..2851
    app/spdx.js on lines 2852..2862
    app/spdx.js on lines 2863..2873
    app/spdx.js on lines 2956..2966
    app/spdx.js on lines 2977..2987
    app/spdx.js on lines 3021..3031
    app/spdx.js on lines 3032..3044
    app/spdx.js on lines 3288..3300
    app/spdx.js on lines 3337..3349
    app/spdx.js on lines 3396..3406
    app/spdx.js on lines 3407..3417
    app/spdx.js on lines 3418..3430
    app/spdx.js on lines 3459..3469
    app/spdx.js on lines 3549..3559
    app/spdx.js on lines 3661..3671
    app/spdx.js on lines 3712..3722
    app/spdx.js on lines 3769..3779
    app/spdx.js on lines 3802..3812
    app/spdx.js on lines 3905..3915
    app/spdx.js on lines 3952..3962
    app/spdx.js on lines 4070..4080
    app/spdx.js on lines 4113..4123
    app/spdx.js on lines 4144..4154
    app/spdx.js on lines 4193..4203
    app/spdx.js on lines 4224..4234
    app/spdx.js on lines 4235..4245
    app/spdx.js on lines 4286..4296
    app/spdx.js on lines 4321..4331
    app/spdx.js on lines 4342..4354
    app/spdx.js on lines 4355..4367
    app/spdx.js on lines 4479..4489
    app/spdx.js on lines 4526..4536
    app/spdx.js on lines 4537..4547
    app/spdx.js on lines 4620..4630

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

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

        {
          reference: './Vim.html',
          isDeprecatedLicenseId: false,
          isFsfLibre: true,
          detailsUrl: 'http://spdx.org/licenses/Vim.json',
    Severity: Major
    Found in app/spdx.js and 72 other locations - About 40 mins to fix
    app/spdx.js on lines 63..75
    app/spdx.js on lines 76..86
    app/spdx.js on lines 101..111
    app/spdx.js on lines 272..282
    app/spdx.js on lines 333..343
    app/spdx.js on lines 438..448
    app/spdx.js on lines 469..479
    app/spdx.js on lines 492..502
    app/spdx.js on lines 565..575
    app/spdx.js on lines 669..679
    app/spdx.js on lines 750..760
    app/spdx.js on lines 1001..1011
    app/spdx.js on lines 1022..1032
    app/spdx.js on lines 1033..1043
    app/spdx.js on lines 1097..1107
    app/spdx.js on lines 1118..1128
    app/spdx.js on lines 1129..1139
    app/spdx.js on lines 1190..1200
    app/spdx.js on lines 1201..1211
    app/spdx.js on lines 1361..1371
    app/spdx.js on lines 1516..1528
    app/spdx.js on lines 1600..1610
    app/spdx.js on lines 1611..1621
    app/spdx.js on lines 1622..1632
    app/spdx.js on lines 1633..1643
    app/spdx.js on lines 1644..1654
    app/spdx.js on lines 1655..1665
    app/spdx.js on lines 1666..1676
    app/spdx.js on lines 1677..1687
    app/spdx.js on lines 1688..1698
    app/spdx.js on lines 1978..1988
    app/spdx.js on lines 2037..2047
    app/spdx.js on lines 2048..2058
    app/spdx.js on lines 2059..2069
    app/spdx.js on lines 2118..2128
    app/spdx.js on lines 2419..2429
    app/spdx.js on lines 2430..2440
    app/spdx.js on lines 2535..2545
    app/spdx.js on lines 2841..2851
    app/spdx.js on lines 2852..2862
    app/spdx.js on lines 2863..2873
    app/spdx.js on lines 2956..2966
    app/spdx.js on lines 2977..2987
    app/spdx.js on lines 3021..3031
    app/spdx.js on lines 3032..3044
    app/spdx.js on lines 3288..3300
    app/spdx.js on lines 3337..3349
    app/spdx.js on lines 3396..3406
    app/spdx.js on lines 3407..3417
    app/spdx.js on lines 3418..3430
    app/spdx.js on lines 3459..3469
    app/spdx.js on lines 3493..3503
    app/spdx.js on lines 3549..3559
    app/spdx.js on lines 3661..3671
    app/spdx.js on lines 3712..3722
    app/spdx.js on lines 3769..3779
    app/spdx.js on lines 3802..3812
    app/spdx.js on lines 3905..3915
    app/spdx.js on lines 3952..3962
    app/spdx.js on lines 4070..4080
    app/spdx.js on lines 4113..4123
    app/spdx.js on lines 4193..4203
    app/spdx.js on lines 4224..4234
    app/spdx.js on lines 4235..4245
    app/spdx.js on lines 4286..4296
    app/spdx.js on lines 4321..4331
    app/spdx.js on lines 4342..4354
    app/spdx.js on lines 4355..4367
    app/spdx.js on lines 4479..4489
    app/spdx.js on lines 4526..4536
    app/spdx.js on lines 4537..4547
    app/spdx.js on lines 4620..4630

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

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

        {
          reference: './GFDL-1.2-only.html',
          isDeprecatedLicenseId: false,
          isFsfLibre: true,
          detailsUrl: 'http://spdx.org/licenses/GFDL-1.2-only.json',
    Severity: Major
    Found in app/spdx.js and 72 other locations - About 40 mins to fix
    app/spdx.js on lines 63..75
    app/spdx.js on lines 76..86
    app/spdx.js on lines 101..111
    app/spdx.js on lines 272..282
    app/spdx.js on lines 333..343
    app/spdx.js on lines 438..448
    app/spdx.js on lines 469..479
    app/spdx.js on lines 492..502
    app/spdx.js on lines 565..575
    app/spdx.js on lines 669..679
    app/spdx.js on lines 750..760
    app/spdx.js on lines 1001..1011
    app/spdx.js on lines 1022..1032
    app/spdx.js on lines 1033..1043
    app/spdx.js on lines 1097..1107
    app/spdx.js on lines 1118..1128
    app/spdx.js on lines 1129..1139
    app/spdx.js on lines 1190..1200
    app/spdx.js on lines 1201..1211
    app/spdx.js on lines 1361..1371
    app/spdx.js on lines 1516..1528
    app/spdx.js on lines 1600..1610
    app/spdx.js on lines 1611..1621
    app/spdx.js on lines 1622..1632
    app/spdx.js on lines 1633..1643
    app/spdx.js on lines 1655..1665
    app/spdx.js on lines 1666..1676
    app/spdx.js on lines 1677..1687
    app/spdx.js on lines 1688..1698
    app/spdx.js on lines 1978..1988
    app/spdx.js on lines 2037..2047
    app/spdx.js on lines 2048..2058
    app/spdx.js on lines 2059..2069
    app/spdx.js on lines 2118..2128
    app/spdx.js on lines 2419..2429
    app/spdx.js on lines 2430..2440
    app/spdx.js on lines 2535..2545
    app/spdx.js on lines 2841..2851
    app/spdx.js on lines 2852..2862
    app/spdx.js on lines 2863..2873
    app/spdx.js on lines 2956..2966
    app/spdx.js on lines 2977..2987
    app/spdx.js on lines 3021..3031
    app/spdx.js on lines 3032..3044
    app/spdx.js on lines 3288..3300
    app/spdx.js on lines 3337..3349
    app/spdx.js on lines 3396..3406
    app/spdx.js on lines 3407..3417
    app/spdx.js on lines 3418..3430
    app/spdx.js on lines 3459..3469
    app/spdx.js on lines 3493..3503
    app/spdx.js on lines 3549..3559
    app/spdx.js on lines 3661..3671
    app/spdx.js on lines 3712..3722
    app/spdx.js on lines 3769..3779
    app/spdx.js on lines 3802..3812
    app/spdx.js on lines 3905..3915
    app/spdx.js on lines 3952..3962
    app/spdx.js on lines 4070..4080
    app/spdx.js on lines 4113..4123
    app/spdx.js on lines 4144..4154
    app/spdx.js on lines 4193..4203
    app/spdx.js on lines 4224..4234
    app/spdx.js on lines 4235..4245
    app/spdx.js on lines 4286..4296
    app/spdx.js on lines 4321..4331
    app/spdx.js on lines 4342..4354
    app/spdx.js on lines 4355..4367
    app/spdx.js on lines 4479..4489
    app/spdx.js on lines 4526..4536
    app/spdx.js on lines 4537..4547
    app/spdx.js on lines 4620..4630

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

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

        {
          reference: './Python-2.0.html',
          isDeprecatedLicenseId: false,
          isFsfLibre: true,
          detailsUrl: 'http://spdx.org/licenses/Python-2.0.json',
    Severity: Major
    Found in app/spdx.js and 72 other locations - About 40 mins to fix
    app/spdx.js on lines 63..75
    app/spdx.js on lines 76..86
    app/spdx.js on lines 101..111
    app/spdx.js on lines 272..282
    app/spdx.js on lines 333..343
    app/spdx.js on lines 438..448
    app/spdx.js on lines 469..479
    app/spdx.js on lines 492..502
    app/spdx.js on lines 565..575
    app/spdx.js on lines 669..679
    app/spdx.js on lines 750..760
    app/spdx.js on lines 1001..1011
    app/spdx.js on lines 1022..1032
    app/spdx.js on lines 1033..1043
    app/spdx.js on lines 1097..1107
    app/spdx.js on lines 1118..1128
    app/spdx.js on lines 1129..1139
    app/spdx.js on lines 1190..1200
    app/spdx.js on lines 1201..1211
    app/spdx.js on lines 1361..1371
    app/spdx.js on lines 1516..1528
    app/spdx.js on lines 1600..1610
    app/spdx.js on lines 1611..1621
    app/spdx.js on lines 1622..1632
    app/spdx.js on lines 1633..1643
    app/spdx.js on lines 1644..1654
    app/spdx.js on lines 1655..1665
    app/spdx.js on lines 1666..1676
    app/spdx.js on lines 1677..1687
    app/spdx.js on lines 1688..1698
    app/spdx.js on lines 1978..1988
    app/spdx.js on lines 2037..2047
    app/spdx.js on lines 2048..2058
    app/spdx.js on lines 2059..2069
    app/spdx.js on lines 2118..2128
    app/spdx.js on lines 2419..2429
    app/spdx.js on lines 2430..2440
    app/spdx.js on lines 2535..2545
    app/spdx.js on lines 2841..2851
    app/spdx.js on lines 2852..2862
    app/spdx.js on lines 2863..2873
    app/spdx.js on lines 2956..2966
    app/spdx.js on lines 2977..2987
    app/spdx.js on lines 3021..3031
    app/spdx.js on lines 3032..3044
    app/spdx.js on lines 3288..3300
    app/spdx.js on lines 3337..3349
    app/spdx.js on lines 3396..3406
    app/spdx.js on lines 3407..3417
    app/spdx.js on lines 3418..3430
    app/spdx.js on lines 3459..3469
    app/spdx.js on lines 3493..3503
    app/spdx.js on lines 3661..3671
    app/spdx.js on lines 3712..3722
    app/spdx.js on lines 3769..3779
    app/spdx.js on lines 3802..3812
    app/spdx.js on lines 3905..3915
    app/spdx.js on lines 3952..3962
    app/spdx.js on lines 4070..4080
    app/spdx.js on lines 4113..4123
    app/spdx.js on lines 4144..4154
    app/spdx.js on lines 4193..4203
    app/spdx.js on lines 4224..4234
    app/spdx.js on lines 4235..4245
    app/spdx.js on lines 4286..4296
    app/spdx.js on lines 4321..4331
    app/spdx.js on lines 4342..4354
    app/spdx.js on lines 4355..4367
    app/spdx.js on lines 4479..4489
    app/spdx.js on lines 4526..4536
    app/spdx.js on lines 4537..4547
    app/spdx.js on lines 4620..4630

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

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

        {
          reference: './gnuplot.html',
          isDeprecatedLicenseId: false,
          isFsfLibre: true,
          detailsUrl: 'http://spdx.org/licenses/gnuplot.json',
    Severity: Major
    Found in app/spdx.js and 72 other locations - About 40 mins to fix
    app/spdx.js on lines 63..75
    app/spdx.js on lines 76..86
    app/spdx.js on lines 101..111
    app/spdx.js on lines 272..282
    app/spdx.js on lines 333..343
    app/spdx.js on lines 438..448
    app/spdx.js on lines 469..479
    app/spdx.js on lines 492..502
    app/spdx.js on lines 565..575
    app/spdx.js on lines 669..679
    app/spdx.js on lines 750..760
    app/spdx.js on lines 1001..1011
    app/spdx.js on lines 1022..1032
    app/spdx.js on lines 1033..1043
    app/spdx.js on lines 1097..1107
    app/spdx.js on lines 1118..1128
    app/spdx.js on lines 1129..1139
    app/spdx.js on lines 1190..1200
    app/spdx.js on lines 1201..1211
    app/spdx.js on lines 1361..1371
    app/spdx.js on lines 1516..1528
    app/spdx.js on lines 1600..1610
    app/spdx.js on lines 1611..1621
    app/spdx.js on lines 1622..1632
    app/spdx.js on lines 1633..1643
    app/spdx.js on lines 1644..1654
    app/spdx.js on lines 1655..1665
    app/spdx.js on lines 1666..1676
    app/spdx.js on lines 1677..1687
    app/spdx.js on lines 1688..1698
    app/spdx.js on lines 1978..1988
    app/spdx.js on lines 2037..2047
    app/spdx.js on lines 2048..2058
    app/spdx.js on lines 2059..2069
    app/spdx.js on lines 2118..2128
    app/spdx.js on lines 2419..2429
    app/spdx.js on lines 2430..2440
    app/spdx.js on lines 2535..2545
    app/spdx.js on lines 2841..2851
    app/spdx.js on lines 2852..2862
    app/spdx.js on lines 2863..2873
    app/spdx.js on lines 2956..2966
    app/spdx.js on lines 2977..2987
    app/spdx.js on lines 3021..3031
    app/spdx.js on lines 3032..3044
    app/spdx.js on lines 3288..3300
    app/spdx.js on lines 3337..3349
    app/spdx.js on lines 3396..3406
    app/spdx.js on lines 3407..3417
    app/spdx.js on lines 3418..3430
    app/spdx.js on lines 3459..3469
    app/spdx.js on lines 3493..3503
    app/spdx.js on lines 3549..3559
    app/spdx.js on lines 3661..3671
    app/spdx.js on lines 3712..3722
    app/spdx.js on lines 3769..3779
    app/spdx.js on lines 3802..3812
    app/spdx.js on lines 3905..3915
    app/spdx.js on lines 3952..3962
    app/spdx.js on lines 4070..4080
    app/spdx.js on lines 4113..4123
    app/spdx.js on lines 4144..4154
    app/spdx.js on lines 4193..4203
    app/spdx.js on lines 4224..4234
    app/spdx.js on lines 4235..4245
    app/spdx.js on lines 4286..4296
    app/spdx.js on lines 4321..4331
    app/spdx.js on lines 4342..4354
    app/spdx.js on lines 4355..4367
    app/spdx.js on lines 4479..4489
    app/spdx.js on lines 4537..4547
    app/spdx.js on lines 4620..4630

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

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

        {
          reference: './GFDL-1.1-or-later.html',
          isDeprecatedLicenseId: false,
          isFsfLibre: true,
          detailsUrl: 'http://spdx.org/licenses/GFDL-1.1-or-later.json',
    Severity: Major
    Found in app/spdx.js and 72 other locations - About 40 mins to fix
    app/spdx.js on lines 63..75
    app/spdx.js on lines 76..86
    app/spdx.js on lines 101..111
    app/spdx.js on lines 272..282
    app/spdx.js on lines 333..343
    app/spdx.js on lines 438..448
    app/spdx.js on lines 469..479
    app/spdx.js on lines 492..502
    app/spdx.js on lines 565..575
    app/spdx.js on lines 669..679
    app/spdx.js on lines 750..760
    app/spdx.js on lines 1001..1011
    app/spdx.js on lines 1022..1032
    app/spdx.js on lines 1033..1043
    app/spdx.js on lines 1097..1107
    app/spdx.js on lines 1118..1128
    app/spdx.js on lines 1129..1139
    app/spdx.js on lines 1190..1200
    app/spdx.js on lines 1201..1211
    app/spdx.js on lines 1361..1371
    app/spdx.js on lines 1516..1528
    app/spdx.js on lines 1600..1610
    app/spdx.js on lines 1611..1621
    app/spdx.js on lines 1633..1643
    app/spdx.js on lines 1644..1654
    app/spdx.js on lines 1655..1665
    app/spdx.js on lines 1666..1676
    app/spdx.js on lines 1677..1687
    app/spdx.js on lines 1688..1698
    app/spdx.js on lines 1978..1988
    app/spdx.js on lines 2037..2047
    app/spdx.js on lines 2048..2058
    app/spdx.js on lines 2059..2069
    app/spdx.js on lines 2118..2128
    app/spdx.js on lines 2419..2429
    app/spdx.js on lines 2430..2440
    app/spdx.js on lines 2535..2545
    app/spdx.js on lines 2841..2851
    app/spdx.js on lines 2852..2862
    app/spdx.js on lines 2863..2873
    app/spdx.js on lines 2956..2966
    app/spdx.js on lines 2977..2987
    app/spdx.js on lines 3021..3031
    app/spdx.js on lines 3032..3044
    app/spdx.js on lines 3288..3300
    app/spdx.js on lines 3337..3349
    app/spdx.js on lines 3396..3406
    app/spdx.js on lines 3407..3417
    app/spdx.js on lines 3418..3430
    app/spdx.js on lines 3459..3469
    app/spdx.js on lines 3493..3503
    app/spdx.js on lines 3549..3559
    app/spdx.js on lines 3661..3671
    app/spdx.js on lines 3712..3722
    app/spdx.js on lines 3769..3779
    app/spdx.js on lines 3802..3812
    app/spdx.js on lines 3905..3915
    app/spdx.js on lines 3952..3962
    app/spdx.js on lines 4070..4080
    app/spdx.js on lines 4113..4123
    app/spdx.js on lines 4144..4154
    app/spdx.js on lines 4193..4203
    app/spdx.js on lines 4224..4234
    app/spdx.js on lines 4235..4245
    app/spdx.js on lines 4286..4296
    app/spdx.js on lines 4321..4331
    app/spdx.js on lines 4342..4354
    app/spdx.js on lines 4355..4367
    app/spdx.js on lines 4479..4489
    app/spdx.js on lines 4526..4536
    app/spdx.js on lines 4537..4547
    app/spdx.js on lines 4620..4630

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

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

        {
          reference: './BSD-2-Clause-FreeBSD.html',
          isDeprecatedLicenseId: false,
          isFsfLibre: true,
          detailsUrl: 'http://spdx.org/licenses/BSD-2-Clause-FreeBSD.json',
    Severity: Major
    Found in app/spdx.js and 72 other locations - About 40 mins to fix
    app/spdx.js on lines 63..75
    app/spdx.js on lines 76..86
    app/spdx.js on lines 101..111
    app/spdx.js on lines 272..282
    app/spdx.js on lines 333..343
    app/spdx.js on lines 469..479
    app/spdx.js on lines 492..502
    app/spdx.js on lines 565..575
    app/spdx.js on lines 669..679
    app/spdx.js on lines 750..760
    app/spdx.js on lines 1001..1011
    app/spdx.js on lines 1022..1032
    app/spdx.js on lines 1033..1043
    app/spdx.js on lines 1097..1107
    app/spdx.js on lines 1118..1128
    app/spdx.js on lines 1129..1139
    app/spdx.js on lines 1190..1200
    app/spdx.js on lines 1201..1211
    app/spdx.js on lines 1361..1371
    app/spdx.js on lines 1516..1528
    app/spdx.js on lines 1600..1610
    app/spdx.js on lines 1611..1621
    app/spdx.js on lines 1622..1632
    app/spdx.js on lines 1633..1643
    app/spdx.js on lines 1644..1654
    app/spdx.js on lines 1655..1665
    app/spdx.js on lines 1666..1676
    app/spdx.js on lines 1677..1687
    app/spdx.js on lines 1688..1698
    app/spdx.js on lines 1978..1988
    app/spdx.js on lines 2037..2047
    app/spdx.js on lines 2048..2058
    app/spdx.js on lines 2059..2069
    app/spdx.js on lines 2118..2128
    app/spdx.js on lines 2419..2429
    app/spdx.js on lines 2430..2440
    app/spdx.js on lines 2535..2545
    app/spdx.js on lines 2841..2851
    app/spdx.js on lines 2852..2862
    app/spdx.js on lines 2863..2873
    app/spdx.js on lines 2956..2966
    app/spdx.js on lines 2977..2987
    app/spdx.js on lines 3021..3031
    app/spdx.js on lines 3032..3044
    app/spdx.js on lines 3288..3300
    app/spdx.js on lines 3337..3349
    app/spdx.js on lines 3396..3406
    app/spdx.js on lines 3407..3417
    app/spdx.js on lines 3418..3430
    app/spdx.js on lines 3459..3469
    app/spdx.js on lines 3493..3503
    app/spdx.js on lines 3549..3559
    app/spdx.js on lines 3661..3671
    app/spdx.js on lines 3712..3722
    app/spdx.js on lines 3769..3779
    app/spdx.js on lines 3802..3812
    app/spdx.js on lines 3905..3915
    app/spdx.js on lines 3952..3962
    app/spdx.js on lines 4070..4080
    app/spdx.js on lines 4113..4123
    app/spdx.js on lines 4144..4154
    app/spdx.js on lines 4193..4203
    app/spdx.js on lines 4224..4234
    app/spdx.js on lines 4235..4245
    app/spdx.js on lines 4286..4296
    app/spdx.js on lines 4321..4331
    app/spdx.js on lines 4342..4354
    app/spdx.js on lines 4355..4367
    app/spdx.js on lines 4479..4489
    app/spdx.js on lines 4526..4536
    app/spdx.js on lines 4537..4547
    app/spdx.js on lines 4620..4630

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

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

        {
          reference: './CC0-1.0.html',
          isDeprecatedLicenseId: false,
          isFsfLibre: true,
          detailsUrl: 'http://spdx.org/licenses/CC0-1.0.json',
    Severity: Major
    Found in app/spdx.js and 72 other locations - About 40 mins to fix
    app/spdx.js on lines 63..75
    app/spdx.js on lines 76..86
    app/spdx.js on lines 101..111
    app/spdx.js on lines 272..282
    app/spdx.js on lines 333..343
    app/spdx.js on lines 438..448
    app/spdx.js on lines 469..479
    app/spdx.js on lines 492..502
    app/spdx.js on lines 565..575
    app/spdx.js on lines 669..679
    app/spdx.js on lines 750..760
    app/spdx.js on lines 1001..1011
    app/spdx.js on lines 1033..1043
    app/spdx.js on lines 1097..1107
    app/spdx.js on lines 1118..1128
    app/spdx.js on lines 1129..1139
    app/spdx.js on lines 1190..1200
    app/spdx.js on lines 1201..1211
    app/spdx.js on lines 1361..1371
    app/spdx.js on lines 1516..1528
    app/spdx.js on lines 1600..1610
    app/spdx.js on lines 1611..1621
    app/spdx.js on lines 1622..1632
    app/spdx.js on lines 1633..1643
    app/spdx.js on lines 1644..1654
    app/spdx.js on lines 1655..1665
    app/spdx.js on lines 1666..1676
    app/spdx.js on lines 1677..1687
    app/spdx.js on lines 1688..1698
    app/spdx.js on lines 1978..1988
    app/spdx.js on lines 2037..2047
    app/spdx.js on lines 2048..2058
    app/spdx.js on lines 2059..2069
    app/spdx.js on lines 2118..2128
    app/spdx.js on lines 2419..2429
    app/spdx.js on lines 2430..2440
    app/spdx.js on lines 2535..2545
    app/spdx.js on lines 2841..2851
    app/spdx.js on lines 2852..2862
    app/spdx.js on lines 2863..2873
    app/spdx.js on lines 2956..2966
    app/spdx.js on lines 2977..2987
    app/spdx.js on lines 3021..3031
    app/spdx.js on lines 3032..3044
    app/spdx.js on lines 3288..3300
    app/spdx.js on lines 3337..3349
    app/spdx.js on lines 3396..3406
    app/spdx.js on lines 3407..3417
    app/spdx.js on lines 3418..3430
    app/spdx.js on lines 3459..3469
    app/spdx.js on lines 3493..3503
    app/spdx.js on lines 3549..3559
    app/spdx.js on lines 3661..3671
    app/spdx.js on lines 3712..3722
    app/spdx.js on lines 3769..3779
    app/spdx.js on lines 3802..3812
    app/spdx.js on lines 3905..3915
    app/spdx.js on lines 3952..3962
    app/spdx.js on lines 4070..4080
    app/spdx.js on lines 4113..4123
    app/spdx.js on lines 4144..4154
    app/spdx.js on lines 4193..4203
    app/spdx.js on lines 4224..4234
    app/spdx.js on lines 4235..4245
    app/spdx.js on lines 4286..4296
    app/spdx.js on lines 4321..4331
    app/spdx.js on lines 4342..4354
    app/spdx.js on lines 4355..4367
    app/spdx.js on lines 4479..4489
    app/spdx.js on lines 4526..4536
    app/spdx.js on lines 4537..4547
    app/spdx.js on lines 4620..4630

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

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

        {
          reference: './GFDL-1.3-or-later.html',
          isDeprecatedLicenseId: false,
          isFsfLibre: true,
          detailsUrl: 'http://spdx.org/licenses/GFDL-1.3-or-later.json',
    Severity: Major
    Found in app/spdx.js and 72 other locations - About 40 mins to fix
    app/spdx.js on lines 63..75
    app/spdx.js on lines 76..86
    app/spdx.js on lines 101..111
    app/spdx.js on lines 272..282
    app/spdx.js on lines 333..343
    app/spdx.js on lines 438..448
    app/spdx.js on lines 469..479
    app/spdx.js on lines 492..502
    app/spdx.js on lines 565..575
    app/spdx.js on lines 669..679
    app/spdx.js on lines 750..760
    app/spdx.js on lines 1001..1011
    app/spdx.js on lines 1022..1032
    app/spdx.js on lines 1033..1043
    app/spdx.js on lines 1097..1107
    app/spdx.js on lines 1118..1128
    app/spdx.js on lines 1129..1139
    app/spdx.js on lines 1190..1200
    app/spdx.js on lines 1201..1211
    app/spdx.js on lines 1361..1371
    app/spdx.js on lines 1516..1528
    app/spdx.js on lines 1600..1610
    app/spdx.js on lines 1611..1621
    app/spdx.js on lines 1622..1632
    app/spdx.js on lines 1633..1643
    app/spdx.js on lines 1644..1654
    app/spdx.js on lines 1655..1665
    app/spdx.js on lines 1666..1676
    app/spdx.js on lines 1677..1687
    app/spdx.js on lines 1978..1988
    app/spdx.js on lines 2037..2047
    app/spdx.js on lines 2048..2058
    app/spdx.js on lines 2059..2069
    app/spdx.js on lines 2118..2128
    app/spdx.js on lines 2419..2429
    app/spdx.js on lines 2430..2440
    app/spdx.js on lines 2535..2545
    app/spdx.js on lines 2841..2851
    app/spdx.js on lines 2852..2862
    app/spdx.js on lines 2863..2873
    app/spdx.js on lines 2956..2966
    app/spdx.js on lines 2977..2987
    app/spdx.js on lines 3021..3031
    app/spdx.js on lines 3032..3044
    app/spdx.js on lines 3288..3300
    app/spdx.js on lines 3337..3349
    app/spdx.js on lines 3396..3406
    app/spdx.js on lines 3407..3417
    app/spdx.js on lines 3418..3430
    app/spdx.js on lines 3459..3469
    app/spdx.js on lines 3493..3503
    app/spdx.js on lines 3549..3559
    app/spdx.js on lines 3661..3671
    app/spdx.js on lines 3712..3722
    app/spdx.js on lines 3769..3779
    app/spdx.js on lines 3802..3812
    app/spdx.js on lines 3905..3915
    app/spdx.js on lines 3952..3962
    app/spdx.js on lines 4070..4080
    app/spdx.js on lines 4113..4123
    app/spdx.js on lines 4144..4154
    app/spdx.js on lines 4193..4203
    app/spdx.js on lines 4224..4234
    app/spdx.js on lines 4235..4245
    app/spdx.js on lines 4286..4296
    app/spdx.js on lines 4321..4331
    app/spdx.js on lines 4342..4354
    app/spdx.js on lines 4355..4367
    app/spdx.js on lines 4479..4489
    app/spdx.js on lines 4526..4536
    app/spdx.js on lines 4537..4547
    app/spdx.js on lines 4620..4630

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

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

        {
          reference: './AGPL-1.0.html',
          isDeprecatedLicenseId: true,
          isFsfLibre: true,
          detailsUrl: 'http://spdx.org/licenses/AGPL-1.0.json',
    Severity: Major
    Found in app/spdx.js and 72 other locations - About 40 mins to fix
    app/spdx.js on lines 63..75
    app/spdx.js on lines 76..86
    app/spdx.js on lines 272..282
    app/spdx.js on lines 333..343
    app/spdx.js on lines 438..448
    app/spdx.js on lines 469..479
    app/spdx.js on lines 492..502
    app/spdx.js on lines 565..575
    app/spdx.js on lines 669..679
    app/spdx.js on lines 750..760
    app/spdx.js on lines 1001..1011
    app/spdx.js on lines 1022..1032
    app/spdx.js on lines 1033..1043
    app/spdx.js on lines 1097..1107
    app/spdx.js on lines 1118..1128
    app/spdx.js on lines 1129..1139
    app/spdx.js on lines 1190..1200
    app/spdx.js on lines 1201..1211
    app/spdx.js on lines 1361..1371
    app/spdx.js on lines 1516..1528
    app/spdx.js on lines 1600..1610
    app/spdx.js on lines 1611..1621
    app/spdx.js on lines 1622..1632
    app/spdx.js on lines 1633..1643
    app/spdx.js on lines 1644..1654
    app/spdx.js on lines 1655..1665
    app/spdx.js on lines 1666..1676
    app/spdx.js on lines 1677..1687
    app/spdx.js on lines 1688..1698
    app/spdx.js on lines 1978..1988
    app/spdx.js on lines 2037..2047
    app/spdx.js on lines 2048..2058
    app/spdx.js on lines 2059..2069
    app/spdx.js on lines 2118..2128
    app/spdx.js on lines 2419..2429
    app/spdx.js on lines 2430..2440
    app/spdx.js on lines 2535..2545
    app/spdx.js on lines 2841..2851
    app/spdx.js on lines 2852..2862
    app/spdx.js on lines 2863..2873
    app/spdx.js on lines 2956..2966
    app/spdx.js on lines 2977..2987
    app/spdx.js on lines 3021..3031
    app/spdx.js on lines 3032..3044
    app/spdx.js on lines 3288..3300
    app/spdx.js on lines 3337..3349
    app/spdx.js on lines 3396..3406
    app/spdx.js on lines 3407..3417
    app/spdx.js on lines 3418..3430
    app/spdx.js on lines 3459..3469
    app/spdx.js on lines 3493..3503
    app/spdx.js on lines 3549..3559
    app/spdx.js on lines 3661..3671
    app/spdx.js on lines 3712..3722
    app/spdx.js on lines 3769..3779
    app/spdx.js on lines 3802..3812
    app/spdx.js on lines 3905..3915
    app/spdx.js on lines 3952..3962
    app/spdx.js on lines 4070..4080
    app/spdx.js on lines 4113..4123
    app/spdx.js on lines 4144..4154
    app/spdx.js on lines 4193..4203
    app/spdx.js on lines 4224..4234
    app/spdx.js on lines 4235..4245
    app/spdx.js on lines 4286..4296
    app/spdx.js on lines 4321..4331
    app/spdx.js on lines 4342..4354
    app/spdx.js on lines 4355..4367
    app/spdx.js on lines 4479..4489
    app/spdx.js on lines 4526..4536
    app/spdx.js on lines 4537..4547
    app/spdx.js on lines 4620..4630

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

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

        {
          reference: './ODbL-1.0.html',
          isDeprecatedLicenseId: false,
          isFsfLibre: true,
          detailsUrl: 'http://spdx.org/licenses/ODbL-1.0.json',
    Severity: Major
    Found in app/spdx.js and 72 other locations - About 40 mins to fix
    app/spdx.js on lines 63..75
    app/spdx.js on lines 76..86
    app/spdx.js on lines 101..111
    app/spdx.js on lines 272..282
    app/spdx.js on lines 333..343
    app/spdx.js on lines 438..448
    app/spdx.js on lines 469..479
    app/spdx.js on lines 492..502
    app/spdx.js on lines 565..575
    app/spdx.js on lines 669..679
    app/spdx.js on lines 750..760
    app/spdx.js on lines 1001..1011
    app/spdx.js on lines 1022..1032
    app/spdx.js on lines 1033..1043
    app/spdx.js on lines 1097..1107
    app/spdx.js on lines 1118..1128
    app/spdx.js on lines 1129..1139
    app/spdx.js on lines 1190..1200
    app/spdx.js on lines 1201..1211
    app/spdx.js on lines 1361..1371
    app/spdx.js on lines 1516..1528
    app/spdx.js on lines 1600..1610
    app/spdx.js on lines 1611..1621
    app/spdx.js on lines 1622..1632
    app/spdx.js on lines 1633..1643
    app/spdx.js on lines 1644..1654
    app/spdx.js on lines 1655..1665
    app/spdx.js on lines 1666..1676
    app/spdx.js on lines 1677..1687
    app/spdx.js on lines 1688..1698
    app/spdx.js on lines 1978..1988
    app/spdx.js on lines 2037..2047
    app/spdx.js on lines 2048..2058
    app/spdx.js on lines 2059..2069
    app/spdx.js on lines 2118..2128
    app/spdx.js on lines 2419..2429
    app/spdx.js on lines 2430..2440
    app/spdx.js on lines 2535..2545
    app/spdx.js on lines 2841..2851
    app/spdx.js on lines 2852..2862
    app/spdx.js on lines 2863..2873
    app/spdx.js on lines 2956..2966
    app/spdx.js on lines 2977..2987
    app/spdx.js on lines 3032..3044
    app/spdx.js on lines 3288..3300
    app/spdx.js on lines 3337..3349
    app/spdx.js on lines 3396..3406
    app/spdx.js on lines 3407..3417
    app/spdx.js on lines 3418..3430
    app/spdx.js on lines 3459..3469
    app/spdx.js on lines 3493..3503
    app/spdx.js on lines 3549..3559
    app/spdx.js on lines 3661..3671
    app/spdx.js on lines 3712..3722
    app/spdx.js on lines 3769..3779
    app/spdx.js on lines 3802..3812
    app/spdx.js on lines 3905..3915
    app/spdx.js on lines 3952..3962
    app/spdx.js on lines 4070..4080
    app/spdx.js on lines 4113..4123
    app/spdx.js on lines 4144..4154
    app/spdx.js on lines 4193..4203
    app/spdx.js on lines 4224..4234
    app/spdx.js on lines 4235..4245
    app/spdx.js on lines 4286..4296
    app/spdx.js on lines 4321..4331
    app/spdx.js on lines 4342..4354
    app/spdx.js on lines 4355..4367
    app/spdx.js on lines 4479..4489
    app/spdx.js on lines 4526..4536
    app/spdx.js on lines 4537..4547
    app/spdx.js on lines 4620..4630

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

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

        {
          reference: './Apache-1.0.html',
          isDeprecatedLicenseId: false,
          isFsfLibre: true,
          detailsUrl: 'http://spdx.org/licenses/Apache-1.0.json',
    Severity: Major
    Found in app/spdx.js and 72 other locations - About 40 mins to fix
    app/spdx.js on lines 63..75
    app/spdx.js on lines 76..86
    app/spdx.js on lines 101..111
    app/spdx.js on lines 272..282
    app/spdx.js on lines 438..448
    app/spdx.js on lines 469..479
    app/spdx.js on lines 492..502
    app/spdx.js on lines 565..575
    app/spdx.js on lines 669..679
    app/spdx.js on lines 750..760
    app/spdx.js on lines 1001..1011
    app/spdx.js on lines 1022..1032
    app/spdx.js on lines 1033..1043
    app/spdx.js on lines 1097..1107
    app/spdx.js on lines 1118..1128
    app/spdx.js on lines 1129..1139
    app/spdx.js on lines 1190..1200
    app/spdx.js on lines 1201..1211
    app/spdx.js on lines 1361..1371
    app/spdx.js on lines 1516..1528
    app/spdx.js on lines 1600..1610
    app/spdx.js on lines 1611..1621
    app/spdx.js on lines 1622..1632
    app/spdx.js on lines 1633..1643
    app/spdx.js on lines 1644..1654
    app/spdx.js on lines 1655..1665
    app/spdx.js on lines 1666..1676
    app/spdx.js on lines 1677..1687
    app/spdx.js on lines 1688..1698
    app/spdx.js on lines 1978..1988
    app/spdx.js on lines 2037..2047
    app/spdx.js on lines 2048..2058
    app/spdx.js on lines 2059..2069
    app/spdx.js on lines 2118..2128
    app/spdx.js on lines 2419..2429
    app/spdx.js on lines 2430..2440
    app/spdx.js on lines 2535..2545
    app/spdx.js on lines 2841..2851
    app/spdx.js on lines 2852..2862
    app/spdx.js on lines 2863..2873
    app/spdx.js on lines 2956..2966
    app/spdx.js on lines 2977..2987
    app/spdx.js on lines 3021..3031
    app/spdx.js on lines 3032..3044
    app/spdx.js on lines 3288..3300
    app/spdx.js on lines 3337..3349
    app/spdx.js on lines 3396..3406
    app/spdx.js on lines 3407..3417
    app/spdx.js on lines 3418..3430
    app/spdx.js on lines 3459..3469
    app/spdx.js on lines 3493..3503
    app/spdx.js on lines 3549..3559
    app/spdx.js on lines 3661..3671
    app/spdx.js on lines 3712..3722
    app/spdx.js on lines 3769..3779
    app/spdx.js on lines 3802..3812
    app/spdx.js on lines 3905..3915
    app/spdx.js on lines 3952..3962
    app/spdx.js on lines 4070..4080
    app/spdx.js on lines 4113..4123
    app/spdx.js on lines 4144..4154
    app/spdx.js on lines 4193..4203
    app/spdx.js on lines 4224..4234
    app/spdx.js on lines 4235..4245
    app/spdx.js on lines 4286..4296
    app/spdx.js on lines 4321..4331
    app/spdx.js on lines 4342..4354
    app/spdx.js on lines 4355..4367
    app/spdx.js on lines 4479..4489
    app/spdx.js on lines 4526..4536
    app/spdx.js on lines 4537..4547
    app/spdx.js on lines 4620..4630

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

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

        {
          reference: './CC-BY-SA-4.0.html',
          isDeprecatedLicenseId: false,
          isFsfLibre: true,
          detailsUrl: 'http://spdx.org/licenses/CC-BY-SA-4.0.json',
    Severity: Major
    Found in app/spdx.js and 72 other locations - About 40 mins to fix
    app/spdx.js on lines 63..75
    app/spdx.js on lines 76..86
    app/spdx.js on lines 101..111
    app/spdx.js on lines 272..282
    app/spdx.js on lines 333..343
    app/spdx.js on lines 438..448
    app/spdx.js on lines 469..479
    app/spdx.js on lines 492..502
    app/spdx.js on lines 565..575
    app/spdx.js on lines 669..679
    app/spdx.js on lines 750..760
    app/spdx.js on lines 1022..1032
    app/spdx.js on lines 1033..1043
    app/spdx.js on lines 1097..1107
    app/spdx.js on lines 1118..1128
    app/spdx.js on lines 1129..1139
    app/spdx.js on lines 1190..1200
    app/spdx.js on lines 1201..1211
    app/spdx.js on lines 1361..1371
    app/spdx.js on lines 1516..1528
    app/spdx.js on lines 1600..1610
    app/spdx.js on lines 1611..1621
    app/spdx.js on lines 1622..1632
    app/spdx.js on lines 1633..1643
    app/spdx.js on lines 1644..1654
    app/spdx.js on lines 1655..1665
    app/spdx.js on lines 1666..1676
    app/spdx.js on lines 1677..1687
    app/spdx.js on lines 1688..1698
    app/spdx.js on lines 1978..1988
    app/spdx.js on lines 2037..2047
    app/spdx.js on lines 2048..2058
    app/spdx.js on lines 2059..2069
    app/spdx.js on lines 2118..2128
    app/spdx.js on lines 2419..2429
    app/spdx.js on lines 2430..2440
    app/spdx.js on lines 2535..2545
    app/spdx.js on lines 2841..2851
    app/spdx.js on lines 2852..2862
    app/spdx.js on lines 2863..2873
    app/spdx.js on lines 2956..2966
    app/spdx.js on lines 2977..2987
    app/spdx.js on lines 3021..3031
    app/spdx.js on lines 3032..3044
    app/spdx.js on lines 3288..3300
    app/spdx.js on lines 3337..3349
    app/spdx.js on lines 3396..3406
    app/spdx.js on lines 3407..3417
    app/spdx.js on lines 3418..3430
    app/spdx.js on lines 3459..3469
    app/spdx.js on lines 3493..3503
    app/spdx.js on lines 3549..3559
    app/spdx.js on lines 3661..3671
    app/spdx.js on lines 3712..3722
    app/spdx.js on lines 3769..3779
    app/spdx.js on lines 3802..3812
    app/spdx.js on lines 3905..3915
    app/spdx.js on lines 3952..3962
    app/spdx.js on lines 4070..4080
    app/spdx.js on lines 4113..4123
    app/spdx.js on lines 4144..4154
    app/spdx.js on lines 4193..4203
    app/spdx.js on lines 4224..4234
    app/spdx.js on lines 4235..4245
    app/spdx.js on lines 4286..4296
    app/spdx.js on lines 4321..4331
    app/spdx.js on lines 4342..4354
    app/spdx.js on lines 4355..4367
    app/spdx.js on lines 4479..4489
    app/spdx.js on lines 4526..4536
    app/spdx.js on lines 4537..4547
    app/spdx.js on lines 4620..4630

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

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

        {
          reference: './CPL-1.0.html',
          isDeprecatedLicenseId: false,
          isFsfLibre: true,
          detailsUrl: 'http://spdx.org/licenses/CPL-1.0.json',
    Severity: Major
    Found in app/spdx.js and 72 other locations - About 40 mins to fix
    app/spdx.js on lines 63..75
    app/spdx.js on lines 76..86
    app/spdx.js on lines 101..111
    app/spdx.js on lines 272..282
    app/spdx.js on lines 333..343
    app/spdx.js on lines 438..448
    app/spdx.js on lines 469..479
    app/spdx.js on lines 492..502
    app/spdx.js on lines 565..575
    app/spdx.js on lines 669..679
    app/spdx.js on lines 750..760
    app/spdx.js on lines 1001..1011
    app/spdx.js on lines 1022..1032
    app/spdx.js on lines 1033..1043
    app/spdx.js on lines 1097..1107
    app/spdx.js on lines 1118..1128
    app/spdx.js on lines 1129..1139
    app/spdx.js on lines 1190..1200
    app/spdx.js on lines 1361..1371
    app/spdx.js on lines 1516..1528
    app/spdx.js on lines 1600..1610
    app/spdx.js on lines 1611..1621
    app/spdx.js on lines 1622..1632
    app/spdx.js on lines 1633..1643
    app/spdx.js on lines 1644..1654
    app/spdx.js on lines 1655..1665
    app/spdx.js on lines 1666..1676
    app/spdx.js on lines 1677..1687
    app/spdx.js on lines 1688..1698
    app/spdx.js on lines 1978..1988
    app/spdx.js on lines 2037..2047
    app/spdx.js on lines 2048..2058
    app/spdx.js on lines 2059..2069
    app/spdx.js on lines 2118..2128
    app/spdx.js on lines 2419..2429
    app/spdx.js on lines 2430..2440
    app/spdx.js on lines 2535..2545
    app/spdx.js on lines 2841..2851
    app/spdx.js on lines 2852..2862
    app/spdx.js on lines 2863..2873
    app/spdx.js on lines 2956..2966
    app/spdx.js on lines 2977..2987
    app/spdx.js on lines 3021..3031
    app/spdx.js on lines 3032..3044
    app/spdx.js on lines 3288..3300
    app/spdx.js on lines 3337..3349
    app/spdx.js on lines 3396..3406
    app/spdx.js on lines 3407..3417
    app/spdx.js on lines 3418..3430
    app/spdx.js on lines 3459..3469
    app/spdx.js on lines 3493..3503
    app/spdx.js on lines 3549..3559
    app/spdx.js on lines 3661..3671
    app/spdx.js on lines 3712..3722
    app/spdx.js on lines 3769..3779
    app/spdx.js on lines 3802..3812
    app/spdx.js on lines 3905..3915
    app/spdx.js on lines 3952..3962
    app/spdx.js on lines 4070..4080
    app/spdx.js on lines 4113..4123
    app/spdx.js on lines 4144..4154
    app/spdx.js on lines 4193..4203
    app/spdx.js on lines 4224..4234
    app/spdx.js on lines 4235..4245
    app/spdx.js on lines 4286..4296
    app/spdx.js on lines 4321..4331
    app/spdx.js on lines 4342..4354
    app/spdx.js on lines 4355..4367
    app/spdx.js on lines 4479..4489
    app/spdx.js on lines 4526..4536
    app/spdx.js on lines 4537..4547
    app/spdx.js on lines 4620..4630

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

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

        {
          reference: './HPND.html',
          isDeprecatedLicenseId: false,
          isFsfLibre: true,
          detailsUrl: 'http://spdx.org/licenses/HPND.json',
    Severity: Major
    Found in app/spdx.js and 72 other locations - About 40 mins to fix
    app/spdx.js on lines 63..75
    app/spdx.js on lines 76..86
    app/spdx.js on lines 101..111
    app/spdx.js on lines 272..282
    app/spdx.js on lines 333..343
    app/spdx.js on lines 438..448
    app/spdx.js on lines 469..479
    app/spdx.js on lines 492..502
    app/spdx.js on lines 565..575
    app/spdx.js on lines 669..679
    app/spdx.js on lines 750..760
    app/spdx.js on lines 1001..1011
    app/spdx.js on lines 1022..1032
    app/spdx.js on lines 1033..1043
    app/spdx.js on lines 1097..1107
    app/spdx.js on lines 1118..1128
    app/spdx.js on lines 1129..1139
    app/spdx.js on lines 1190..1200
    app/spdx.js on lines 1201..1211
    app/spdx.js on lines 1361..1371
    app/spdx.js on lines 1516..1528
    app/spdx.js on lines 1600..1610
    app/spdx.js on lines 1611..1621
    app/spdx.js on lines 1622..1632
    app/spdx.js on lines 1633..1643
    app/spdx.js on lines 1644..1654
    app/spdx.js on lines 1655..1665
    app/spdx.js on lines 1666..1676
    app/spdx.js on lines 1677..1687
    app/spdx.js on lines 1688..1698
    app/spdx.js on lines 2037..2047
    app/spdx.js on lines 2048..2058
    app/spdx.js on lines 2059..2069
    app/spdx.js on lines 2118..2128
    app/spdx.js on lines 2419..2429
    app/spdx.js on lines 2430..2440
    app/spdx.js on lines 2535..2545
    app/spdx.js on lines 2841..2851
    app/spdx.js on lines 2852..2862
    app/spdx.js on lines 2863..2873
    app/spdx.js on lines 2956..2966
    app/spdx.js on lines 2977..2987
    app/spdx.js on lines 3021..3031
    app/spdx.js on lines 3032..3044
    app/spdx.js on lines 3288..3300
    app/spdx.js on lines 3337..3349
    app/spdx.js on lines 3396..3406
    app/spdx.js on lines 3407..3417
    app/spdx.js on lines 3418..3430
    app/spdx.js on lines 3459..3469
    app/spdx.js on lines 3493..3503
    app/spdx.js on lines 3549..3559
    app/spdx.js on lines 3661..3671
    app/spdx.js on lines 3712..3722
    app/spdx.js on lines 3769..3779
    app/spdx.js on lines 3802..3812
    app/spdx.js on lines 3905..3915
    app/spdx.js on lines 3952..3962
    app/spdx.js on lines 4070..4080
    app/spdx.js on lines 4113..4123
    app/spdx.js on lines 4144..4154
    app/spdx.js on lines 4193..4203
    app/spdx.js on lines 4224..4234
    app/spdx.js on lines 4235..4245
    app/spdx.js on lines 4286..4296
    app/spdx.js on lines 4321..4331
    app/spdx.js on lines 4342..4354
    app/spdx.js on lines 4355..4367
    app/spdx.js on lines 4479..4489
    app/spdx.js on lines 4526..4536
    app/spdx.js on lines 4537..4547
    app/spdx.js on lines 4620..4630

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

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

        {
          reference: './LPPL-1.2.html',
          isDeprecatedLicenseId: false,
          isFsfLibre: true,
          detailsUrl: 'http://spdx.org/licenses/LPPL-1.2.json',
    Severity: Major
    Found in app/spdx.js and 72 other locations - About 40 mins to fix
    app/spdx.js on lines 63..75
    app/spdx.js on lines 76..86
    app/spdx.js on lines 101..111
    app/spdx.js on lines 272..282
    app/spdx.js on lines 333..343
    app/spdx.js on lines 438..448
    app/spdx.js on lines 469..479
    app/spdx.js on lines 492..502
    app/spdx.js on lines 565..575
    app/spdx.js on lines 669..679
    app/spdx.js on lines 750..760
    app/spdx.js on lines 1001..1011
    app/spdx.js on lines 1022..1032
    app/spdx.js on lines 1033..1043
    app/spdx.js on lines 1097..1107
    app/spdx.js on lines 1118..1128
    app/spdx.js on lines 1129..1139
    app/spdx.js on lines 1190..1200
    app/spdx.js on lines 1201..1211
    app/spdx.js on lines 1361..1371
    app/spdx.js on lines 1516..1528
    app/spdx.js on lines 1600..1610
    app/spdx.js on lines 1611..1621
    app/spdx.js on lines 1622..1632
    app/spdx.js on lines 1633..1643
    app/spdx.js on lines 1644..1654
    app/spdx.js on lines 1655..1665
    app/spdx.js on lines 1666..1676
    app/spdx.js on lines 1677..1687
    app/spdx.js on lines 1688..1698
    app/spdx.js on lines 1978..1988
    app/spdx.js on lines 2037..2047
    app/spdx.js on lines 2048..2058
    app/spdx.js on lines 2059..2069
    app/spdx.js on lines 2118..2128
    app/spdx.js on lines 2430..2440
    app/spdx.js on lines 2535..2545
    app/spdx.js on lines 2841..2851
    app/spdx.js on lines 2852..2862
    app/spdx.js on lines 2863..2873
    app/spdx.js on lines 2956..2966
    app/spdx.js on lines 2977..2987
    app/spdx.js on lines 3021..3031
    app/spdx.js on lines 3032..3044
    app/spdx.js on lines 3288..3300
    app/spdx.js on lines 3337..3349
    app/spdx.js on lines 3396..3406
    app/spdx.js on lines 3407..3417
    app/spdx.js on lines 3418..3430
    app/spdx.js on lines 3459..3469
    app/spdx.js on lines 3493..3503
    app/spdx.js on lines 3549..3559
    app/spdx.js on lines 3661..3671
    app/spdx.js on lines 3712..3722
    app/spdx.js on lines 3769..3779
    app/spdx.js on lines 3802..3812
    app/spdx.js on lines 3905..3915
    app/spdx.js on lines 3952..3962
    app/spdx.js on lines 4070..4080
    app/spdx.js on lines 4113..4123
    app/spdx.js on lines 4144..4154
    app/spdx.js on lines 4193..4203
    app/spdx.js on lines 4224..4234
    app/spdx.js on lines 4235..4245
    app/spdx.js on lines 4286..4296
    app/spdx.js on lines 4321..4331
    app/spdx.js on lines 4342..4354
    app/spdx.js on lines 4355..4367
    app/spdx.js on lines 4479..4489
    app/spdx.js on lines 4526..4536
    app/spdx.js on lines 4537..4547
    app/spdx.js on lines 4620..4630

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

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

        {
          reference: './NOSL.html',
          isDeprecatedLicenseId: false,
          isFsfLibre: true,
          detailsUrl: 'http://spdx.org/licenses/NOSL.json',
    Severity: Major
    Found in app/spdx.js and 72 other locations - About 40 mins to fix
    app/spdx.js on lines 63..75
    app/spdx.js on lines 76..86
    app/spdx.js on lines 101..111
    app/spdx.js on lines 272..282
    app/spdx.js on lines 333..343
    app/spdx.js on lines 438..448
    app/spdx.js on lines 469..479
    app/spdx.js on lines 492..502
    app/spdx.js on lines 565..575
    app/spdx.js on lines 669..679
    app/spdx.js on lines 750..760
    app/spdx.js on lines 1001..1011
    app/spdx.js on lines 1022..1032
    app/spdx.js on lines 1033..1043
    app/spdx.js on lines 1097..1107
    app/spdx.js on lines 1118..1128
    app/spdx.js on lines 1129..1139
    app/spdx.js on lines 1190..1200
    app/spdx.js on lines 1201..1211
    app/spdx.js on lines 1361..1371
    app/spdx.js on lines 1516..1528
    app/spdx.js on lines 1600..1610
    app/spdx.js on lines 1611..1621
    app/spdx.js on lines 1622..1632
    app/spdx.js on lines 1633..1643
    app/spdx.js on lines 1644..1654
    app/spdx.js on lines 1655..1665
    app/spdx.js on lines 1666..1676
    app/spdx.js on lines 1677..1687
    app/spdx.js on lines 1688..1698
    app/spdx.js on lines 1978..1988
    app/spdx.js on lines 2037..2047
    app/spdx.js on lines 2048..2058
    app/spdx.js on lines 2059..2069
    app/spdx.js on lines 2118..2128
    app/spdx.js on lines 2419..2429
    app/spdx.js on lines 2430..2440
    app/spdx.js on lines 2535..2545
    app/spdx.js on lines 2852..2862
    app/spdx.js on lines 2863..2873
    app/spdx.js on lines 2956..2966
    app/spdx.js on lines 2977..2987
    app/spdx.js on lines 3021..3031
    app/spdx.js on lines 3032..3044
    app/spdx.js on lines 3288..3300
    app/spdx.js on lines 3337..3349
    app/spdx.js on lines 3396..3406
    app/spdx.js on lines 3407..3417
    app/spdx.js on lines 3418..3430
    app/spdx.js on lines 3459..3469
    app/spdx.js on lines 3493..3503
    app/spdx.js on lines 3549..3559
    app/spdx.js on lines 3661..3671
    app/spdx.js on lines 3712..3722
    app/spdx.js on lines 3769..3779
    app/spdx.js on lines 3802..3812
    app/spdx.js on lines 3905..3915
    app/spdx.js on lines 3952..3962
    app/spdx.js on lines 4070..4080
    app/spdx.js on lines 4113..4123
    app/spdx.js on lines 4144..4154
    app/spdx.js on lines 4193..4203
    app/spdx.js on lines 4224..4234
    app/spdx.js on lines 4235..4245
    app/spdx.js on lines 4286..4296
    app/spdx.js on lines 4321..4331
    app/spdx.js on lines 4342..4354
    app/spdx.js on lines 4355..4367
    app/spdx.js on lines 4479..4489
    app/spdx.js on lines 4526..4536
    app/spdx.js on lines 4537..4547
    app/spdx.js on lines 4620..4630

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

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

        {
          reference: './Nunit.html',
          isDeprecatedLicenseId: true,
          isFsfLibre: true,
          detailsUrl: 'http://spdx.org/licenses/Nunit.json',
    Severity: Major
    Found in app/spdx.js and 72 other locations - About 40 mins to fix
    app/spdx.js on lines 63..75
    app/spdx.js on lines 76..86
    app/spdx.js on lines 101..111
    app/spdx.js on lines 272..282
    app/spdx.js on lines 333..343
    app/spdx.js on lines 438..448
    app/spdx.js on lines 469..479
    app/spdx.js on lines 492..502
    app/spdx.js on lines 565..575
    app/spdx.js on lines 669..679
    app/spdx.js on lines 750..760
    app/spdx.js on lines 1001..1011
    app/spdx.js on lines 1022..1032
    app/spdx.js on lines 1033..1043
    app/spdx.js on lines 1097..1107
    app/spdx.js on lines 1118..1128
    app/spdx.js on lines 1129..1139
    app/spdx.js on lines 1190..1200
    app/spdx.js on lines 1201..1211
    app/spdx.js on lines 1361..1371
    app/spdx.js on lines 1516..1528
    app/spdx.js on lines 1600..1610
    app/spdx.js on lines 1611..1621
    app/spdx.js on lines 1622..1632
    app/spdx.js on lines 1633..1643
    app/spdx.js on lines 1644..1654
    app/spdx.js on lines 1655..1665
    app/spdx.js on lines 1666..1676
    app/spdx.js on lines 1677..1687
    app/spdx.js on lines 1688..1698
    app/spdx.js on lines 1978..1988
    app/spdx.js on lines 2037..2047
    app/spdx.js on lines 2048..2058
    app/spdx.js on lines 2059..2069
    app/spdx.js on lines 2118..2128
    app/spdx.js on lines 2419..2429
    app/spdx.js on lines 2430..2440
    app/spdx.js on lines 2535..2545
    app/spdx.js on lines 2841..2851
    app/spdx.js on lines 2852..2862
    app/spdx.js on lines 2863..2873
    app/spdx.js on lines 2956..2966
    app/spdx.js on lines 3021..3031
    app/spdx.js on lines 3032..3044
    app/spdx.js on lines 3288..3300
    app/spdx.js on lines 3337..3349
    app/spdx.js on lines 3396..3406
    app/spdx.js on lines 3407..3417
    app/spdx.js on lines 3418..3430
    app/spdx.js on lines 3459..3469
    app/spdx.js on lines 3493..3503
    app/spdx.js on lines 3549..3559
    app/spdx.js on lines 3661..3671
    app/spdx.js on lines 3712..3722
    app/spdx.js on lines 3769..3779
    app/spdx.js on lines 3802..3812
    app/spdx.js on lines 3905..3915
    app/spdx.js on lines 3952..3962
    app/spdx.js on lines 4070..4080
    app/spdx.js on lines 4113..4123
    app/spdx.js on lines 4144..4154
    app/spdx.js on lines 4193..4203
    app/spdx.js on lines 4224..4234
    app/spdx.js on lines 4235..4245
    app/spdx.js on lines 4286..4296
    app/spdx.js on lines 4321..4331
    app/spdx.js on lines 4342..4354
    app/spdx.js on lines 4355..4367
    app/spdx.js on lines 4479..4489
    app/spdx.js on lines 4526..4536
    app/spdx.js on lines 4537..4547
    app/spdx.js on lines 4620..4630

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

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

        {
          reference: './OFL-1.0.html',
          isDeprecatedLicenseId: false,
          isFsfLibre: true,
          detailsUrl: 'http://spdx.org/licenses/OFL-1.0.json',
    Severity: Major
    Found in app/spdx.js and 72 other locations - About 40 mins to fix
    app/spdx.js on lines 63..75
    app/spdx.js on lines 76..86
    app/spdx.js on lines 101..111
    app/spdx.js on lines 272..282
    app/spdx.js on lines 333..343
    app/spdx.js on lines 438..448
    app/spdx.js on lines 469..479
    app/spdx.js on lines 492..502
    app/spdx.js on lines 565..575
    app/spdx.js on lines 669..679
    app/spdx.js on lines 750..760
    app/spdx.js on lines 1001..1011
    app/spdx.js on lines 1022..1032
    app/spdx.js on lines 1033..1043
    app/spdx.js on lines 1097..1107
    app/spdx.js on lines 1118..1128
    app/spdx.js on lines 1129..1139
    app/spdx.js on lines 1190..1200
    app/spdx.js on lines 1201..1211
    app/spdx.js on lines 1361..1371
    app/spdx.js on lines 1516..1528
    app/spdx.js on lines 1600..1610
    app/spdx.js on lines 1611..1621
    app/spdx.js on lines 1622..1632
    app/spdx.js on lines 1633..1643
    app/spdx.js on lines 1644..1654
    app/spdx.js on lines 1655..1665
    app/spdx.js on lines 1666..1676
    app/spdx.js on lines 1677..1687
    app/spdx.js on lines 1688..1698
    app/spdx.js on lines 1978..1988
    app/spdx.js on lines 2037..2047
    app/spdx.js on lines 2048..2058
    app/spdx.js on lines 2059..2069
    app/spdx.js on lines 2118..2128
    app/spdx.js on lines 2419..2429
    app/spdx.js on lines 2430..2440
    app/spdx.js on lines 2535..2545
    app/spdx.js on lines 2841..2851
    app/spdx.js on lines 2852..2862
    app/spdx.js on lines 2863..2873
    app/spdx.js on lines 2956..2966
    app/spdx.js on lines 2977..2987
    app/spdx.js on lines 3021..3031
    app/spdx.js on lines 3288..3300
    app/spdx.js on lines 3337..3349
    app/spdx.js on lines 3396..3406
    app/spdx.js on lines 3407..3417
    app/spdx.js on lines 3418..3430
    app/spdx.js on lines 3459..3469
    app/spdx.js on lines 3493..3503
    app/spdx.js on lines 3549..3559
    app/spdx.js on lines 3661..3671
    app/spdx.js on lines 3712..3722
    app/spdx.js on lines 3769..3779
    app/spdx.js on lines 3802..3812
    app/spdx.js on lines 3905..3915
    app/spdx.js on lines 3952..3962
    app/spdx.js on lines 4070..4080
    app/spdx.js on lines 4113..4123
    app/spdx.js on lines 4144..4154
    app/spdx.js on lines 4193..4203
    app/spdx.js on lines 4224..4234
    app/spdx.js on lines 4235..4245
    app/spdx.js on lines 4286..4296
    app/spdx.js on lines 4321..4331
    app/spdx.js on lines 4342..4354
    app/spdx.js on lines 4355..4367
    app/spdx.js on lines 4479..4489
    app/spdx.js on lines 4526..4536
    app/spdx.js on lines 4537..4547
    app/spdx.js on lines 4620..4630

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

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

        {
          reference: './OSL-1.0.html',
          isDeprecatedLicenseId: false,
          isFsfLibre: true,
          detailsUrl: 'http://spdx.org/licenses/OSL-1.0.json',
    Severity: Major
    Found in app/spdx.js and 72 other locations - About 40 mins to fix
    app/spdx.js on lines 63..75
    app/spdx.js on lines 76..86
    app/spdx.js on lines 101..111
    app/spdx.js on lines 272..282
    app/spdx.js on lines 333..343
    app/spdx.js on lines 438..448
    app/spdx.js on lines 469..479
    app/spdx.js on lines 492..502
    app/spdx.js on lines 565..575
    app/spdx.js on lines 669..679
    app/spdx.js on lines 750..760
    app/spdx.js on lines 1001..1011
    app/spdx.js on lines 1022..1032
    app/spdx.js on lines 1033..1043
    app/spdx.js on lines 1097..1107
    app/spdx.js on lines 1118..1128
    app/spdx.js on lines 1129..1139
    app/spdx.js on lines 1190..1200
    app/spdx.js on lines 1201..1211
    app/spdx.js on lines 1361..1371
    app/spdx.js on lines 1516..1528
    app/spdx.js on lines 1600..1610
    app/spdx.js on lines 1611..1621
    app/spdx.js on lines 1622..1632
    app/spdx.js on lines 1633..1643
    app/spdx.js on lines 1644..1654
    app/spdx.js on lines 1655..1665
    app/spdx.js on lines 1666..1676
    app/spdx.js on lines 1677..1687
    app/spdx.js on lines 1688..1698
    app/spdx.js on lines 1978..1988
    app/spdx.js on lines 2037..2047
    app/spdx.js on lines 2048..2058
    app/spdx.js on lines 2059..2069
    app/spdx.js on lines 2118..2128
    app/spdx.js on lines 2419..2429
    app/spdx.js on lines 2430..2440
    app/spdx.js on lines 2535..2545
    app/spdx.js on lines 2841..2851
    app/spdx.js on lines 2852..2862
    app/spdx.js on lines 2863..2873
    app/spdx.js on lines 2956..2966
    app/spdx.js on lines 2977..2987
    app/spdx.js on lines 3021..3031
    app/spdx.js on lines 3032..3044
    app/spdx.js on lines 3288..3300
    app/spdx.js on lines 3337..3349
    app/spdx.js on lines 3407..3417
    app/spdx.js on lines 3418..3430
    app/spdx.js on lines 3459..3469
    app/spdx.js on lines 3493..3503
    app/spdx.js on lines 3549..3559
    app/spdx.js on lines 3661..3671
    app/spdx.js on lines 3712..3722
    app/spdx.js on lines 3769..3779
    app/spdx.js on lines 3802..3812
    app/spdx.js on lines 3905..3915
    app/spdx.js on lines 3952..3962
    app/spdx.js on lines 4070..4080
    app/spdx.js on lines 4113..4123
    app/spdx.js on lines 4144..4154
    app/spdx.js on lines 4193..4203
    app/spdx.js on lines 4224..4234
    app/spdx.js on lines 4235..4245
    app/spdx.js on lines 4286..4296
    app/spdx.js on lines 4321..4331
    app/spdx.js on lines 4342..4354
    app/spdx.js on lines 4355..4367
    app/spdx.js on lines 4479..4489
    app/spdx.js on lines 4526..4536
    app/spdx.js on lines 4537..4547
    app/spdx.js on lines 4620..4630

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

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

        {
          reference: './Unlicense.html',
          isDeprecatedLicenseId: false,
          isFsfLibre: true,
          detailsUrl: 'http://spdx.org/licenses/Unlicense.json',
    Severity: Major
    Found in app/spdx.js and 72 other locations - About 40 mins to fix
    app/spdx.js on lines 63..75
    app/spdx.js on lines 76..86
    app/spdx.js on lines 101..111
    app/spdx.js on lines 272..282
    app/spdx.js on lines 333..343
    app/spdx.js on lines 438..448
    app/spdx.js on lines 469..479
    app/spdx.js on lines 492..502
    app/spdx.js on lines 565..575
    app/spdx.js on lines 669..679
    app/spdx.js on lines 750..760
    app/spdx.js on lines 1001..1011
    app/spdx.js on lines 1022..1032
    app/spdx.js on lines 1033..1043
    app/spdx.js on lines 1097..1107
    app/spdx.js on lines 1118..1128
    app/spdx.js on lines 1129..1139
    app/spdx.js on lines 1190..1200
    app/spdx.js on lines 1201..1211
    app/spdx.js on lines 1361..1371
    app/spdx.js on lines 1516..1528
    app/spdx.js on lines 1600..1610
    app/spdx.js on lines 1611..1621
    app/spdx.js on lines 1622..1632
    app/spdx.js on lines 1633..1643
    app/spdx.js on lines 1644..1654
    app/spdx.js on lines 1655..1665
    app/spdx.js on lines 1666..1676
    app/spdx.js on lines 1677..1687
    app/spdx.js on lines 1688..1698
    app/spdx.js on lines 1978..1988
    app/spdx.js on lines 2037..2047
    app/spdx.js on lines 2048..2058
    app/spdx.js on lines 2059..2069
    app/spdx.js on lines 2118..2128
    app/spdx.js on lines 2419..2429
    app/spdx.js on lines 2430..2440
    app/spdx.js on lines 2535..2545
    app/spdx.js on lines 2841..2851
    app/spdx.js on lines 2852..2862
    app/spdx.js on lines 2863..2873
    app/spdx.js on lines 2956..2966
    app/spdx.js on lines 2977..2987
    app/spdx.js on lines 3021..3031
    app/spdx.js on lines 3032..3044
    app/spdx.js on lines 3288..3300
    app/spdx.js on lines 3337..3349
    app/spdx.js on lines 3396..3406
    app/spdx.js on lines 3407..3417
    app/spdx.js on lines 3418..3430
    app/spdx.js on lines 3459..3469
    app/spdx.js on lines 3493..3503
    app/spdx.js on lines 3549..3559
    app/spdx.js on lines 3661..3671
    app/spdx.js on lines 3712..3722
    app/spdx.js on lines 3769..3779
    app/spdx.js on lines 3802..3812
    app/spdx.js on lines 3905..3915
    app/spdx.js on lines 3952..3962
    app/spdx.js on lines 4070..4080
    app/spdx.js on lines 4144..4154
    app/spdx.js on lines 4193..4203
    app/spdx.js on lines 4224..4234
    app/spdx.js on lines 4235..4245
    app/spdx.js on lines 4286..4296
    app/spdx.js on lines 4321..4331
    app/spdx.js on lines 4342..4354
    app/spdx.js on lines 4355..4367
    app/spdx.js on lines 4479..4489
    app/spdx.js on lines 4526..4536
    app/spdx.js on lines 4537..4547
    app/spdx.js on lines 4620..4630

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

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

        {
          reference: './iMatix.html',
          isDeprecatedLicenseId: false,
          isFsfLibre: true,
          detailsUrl: 'http://spdx.org/licenses/iMatix.json',
    Severity: Major
    Found in app/spdx.js and 72 other locations - About 40 mins to fix
    app/spdx.js on lines 63..75
    app/spdx.js on lines 76..86
    app/spdx.js on lines 101..111
    app/spdx.js on lines 272..282
    app/spdx.js on lines 333..343
    app/spdx.js on lines 438..448
    app/spdx.js on lines 469..479
    app/spdx.js on lines 492..502
    app/spdx.js on lines 565..575
    app/spdx.js on lines 669..679
    app/spdx.js on lines 750..760
    app/spdx.js on lines 1001..1011
    app/spdx.js on lines 1022..1032
    app/spdx.js on lines 1033..1043
    app/spdx.js on lines 1097..1107
    app/spdx.js on lines 1118..1128
    app/spdx.js on lines 1129..1139
    app/spdx.js on lines 1190..1200
    app/spdx.js on lines 1201..1211
    app/spdx.js on lines 1361..1371
    app/spdx.js on lines 1516..1528
    app/spdx.js on lines 1600..1610
    app/spdx.js on lines 1611..1621
    app/spdx.js on lines 1622..1632
    app/spdx.js on lines 1633..1643
    app/spdx.js on lines 1644..1654
    app/spdx.js on lines 1655..1665
    app/spdx.js on lines 1666..1676
    app/spdx.js on lines 1677..1687
    app/spdx.js on lines 1688..1698
    app/spdx.js on lines 1978..1988
    app/spdx.js on lines 2037..2047
    app/spdx.js on lines 2048..2058
    app/spdx.js on lines 2059..2069
    app/spdx.js on lines 2118..2128
    app/spdx.js on lines 2419..2429
    app/spdx.js on lines 2430..2440
    app/spdx.js on lines 2535..2545
    app/spdx.js on lines 2841..2851
    app/spdx.js on lines 2852..2862
    app/spdx.js on lines 2863..2873
    app/spdx.js on lines 2956..2966
    app/spdx.js on lines 2977..2987
    app/spdx.js on lines 3021..3031
    app/spdx.js on lines 3032..3044
    app/spdx.js on lines 3288..3300
    app/spdx.js on lines 3337..3349
    app/spdx.js on lines 3396..3406
    app/spdx.js on lines 3407..3417
    app/spdx.js on lines 3418..3430
    app/spdx.js on lines 3459..3469
    app/spdx.js on lines 3493..3503
    app/spdx.js on lines 3549..3559
    app/spdx.js on lines 3661..3671
    app/spdx.js on lines 3712..3722
    app/spdx.js on lines 3769..3779
    app/spdx.js on lines 3802..3812
    app/spdx.js on lines 3905..3915
    app/spdx.js on lines 3952..3962
    app/spdx.js on lines 4070..4080
    app/spdx.js on lines 4113..4123
    app/spdx.js on lines 4144..4154
    app/spdx.js on lines 4193..4203
    app/spdx.js on lines 4224..4234
    app/spdx.js on lines 4235..4245
    app/spdx.js on lines 4286..4296
    app/spdx.js on lines 4321..4331
    app/spdx.js on lines 4342..4354
    app/spdx.js on lines 4355..4367
    app/spdx.js on lines 4479..4489
    app/spdx.js on lines 4526..4536
    app/spdx.js on lines 4620..4630

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

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

        {
          reference: './IPL-1.0.html',
          isDeprecatedLicenseId: false,
          isFsfLibre: true,
          detailsUrl: 'http://spdx.org/licenses/IPL-1.0.json',
    Severity: Major
    Found in app/spdx.js and 72 other locations - About 40 mins to fix
    app/spdx.js on lines 63..75
    app/spdx.js on lines 76..86
    app/spdx.js on lines 101..111
    app/spdx.js on lines 272..282
    app/spdx.js on lines 333..343
    app/spdx.js on lines 438..448
    app/spdx.js on lines 469..479
    app/spdx.js on lines 492..502
    app/spdx.js on lines 565..575
    app/spdx.js on lines 669..679
    app/spdx.js on lines 750..760
    app/spdx.js on lines 1001..1011
    app/spdx.js on lines 1022..1032
    app/spdx.js on lines 1033..1043
    app/spdx.js on lines 1097..1107
    app/spdx.js on lines 1118..1128
    app/spdx.js on lines 1129..1139
    app/spdx.js on lines 1190..1200
    app/spdx.js on lines 1201..1211
    app/spdx.js on lines 1361..1371
    app/spdx.js on lines 1516..1528
    app/spdx.js on lines 1600..1610
    app/spdx.js on lines 1611..1621
    app/spdx.js on lines 1622..1632
    app/spdx.js on lines 1633..1643
    app/spdx.js on lines 1644..1654
    app/spdx.js on lines 1655..1665
    app/spdx.js on lines 1666..1676
    app/spdx.js on lines 1677..1687
    app/spdx.js on lines 1688..1698
    app/spdx.js on lines 1978..1988
    app/spdx.js on lines 2037..2047
    app/spdx.js on lines 2048..2058
    app/spdx.js on lines 2118..2128
    app/spdx.js on lines 2419..2429
    app/spdx.js on lines 2430..2440
    app/spdx.js on lines 2535..2545
    app/spdx.js on lines 2841..2851
    app/spdx.js on lines 2852..2862
    app/spdx.js on lines 2863..2873
    app/spdx.js on lines 2956..2966
    app/spdx.js on lines 2977..2987
    app/spdx.js on lines 3021..3031
    app/spdx.js on lines 3032..3044
    app/spdx.js on lines 3288..3300
    app/spdx.js on lines 3337..3349
    app/spdx.js on lines 3396..3406
    app/spdx.js on lines 3407..3417
    app/spdx.js on lines 3418..3430
    app/spdx.js on lines 3459..3469
    app/spdx.js on lines 3493..3503
    app/spdx.js on lines 3549..3559
    app/spdx.js on lines 3661..3671
    app/spdx.js on lines 3712..3722
    app/spdx.js on lines 3769..3779
    app/spdx.js on lines 3802..3812
    app/spdx.js on lines 3905..3915
    app/spdx.js on lines 3952..3962
    app/spdx.js on lines 4070..4080
    app/spdx.js on lines 4113..4123
    app/spdx.js on lines 4144..4154
    app/spdx.js on lines 4193..4203
    app/spdx.js on lines 4224..4234
    app/spdx.js on lines 4235..4245
    app/spdx.js on lines 4286..4296
    app/spdx.js on lines 4321..4331
    app/spdx.js on lines 4342..4354
    app/spdx.js on lines 4355..4367
    app/spdx.js on lines 4479..4489
    app/spdx.js on lines 4526..4536
    app/spdx.js on lines 4537..4547
    app/spdx.js on lines 4620..4630

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

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

        {
          reference: './Intel.html',
          isDeprecatedLicenseId: false,
          isFsfLibre: true,
          detailsUrl: 'http://spdx.org/licenses/Intel.json',
    Severity: Major
    Found in app/spdx.js and 72 other locations - About 40 mins to fix
    app/spdx.js on lines 63..75
    app/spdx.js on lines 76..86
    app/spdx.js on lines 101..111
    app/spdx.js on lines 272..282
    app/spdx.js on lines 333..343
    app/spdx.js on lines 438..448
    app/spdx.js on lines 469..479
    app/spdx.js on lines 492..502
    app/spdx.js on lines 565..575
    app/spdx.js on lines 669..679
    app/spdx.js on lines 750..760
    app/spdx.js on lines 1001..1011
    app/spdx.js on lines 1022..1032
    app/spdx.js on lines 1033..1043
    app/spdx.js on lines 1097..1107
    app/spdx.js on lines 1118..1128
    app/spdx.js on lines 1129..1139
    app/spdx.js on lines 1190..1200
    app/spdx.js on lines 1201..1211
    app/spdx.js on lines 1361..1371
    app/spdx.js on lines 1516..1528
    app/spdx.js on lines 1600..1610
    app/spdx.js on lines 1611..1621
    app/spdx.js on lines 1622..1632
    app/spdx.js on lines 1633..1643
    app/spdx.js on lines 1644..1654
    app/spdx.js on lines 1655..1665
    app/spdx.js on lines 1666..1676
    app/spdx.js on lines 1677..1687
    app/spdx.js on lines 1688..1698
    app/spdx.js on lines 1978..1988
    app/spdx.js on lines 2037..2047
    app/spdx.js on lines 2048..2058
    app/spdx.js on lines 2059..2069
    app/spdx.js on lines 2419..2429
    app/spdx.js on lines 2430..2440
    app/spdx.js on lines 2535..2545
    app/spdx.js on lines 2841..2851
    app/spdx.js on lines 2852..2862
    app/spdx.js on lines 2863..2873
    app/spdx.js on lines 2956..2966
    app/spdx.js on lines 2977..2987
    app/spdx.js on lines 3021..3031
    app/spdx.js on lines 3032..3044
    app/spdx.js on lines 3288..3300
    app/spdx.js on lines 3337..3349
    app/spdx.js on lines 3396..3406
    app/spdx.js on lines 3407..3417
    app/spdx.js on lines 3418..3430
    app/spdx.js on lines 3459..3469
    app/spdx.js on lines 3493..3503
    app/spdx.js on lines 3549..3559
    app/spdx.js on lines 3661..3671
    app/spdx.js on lines 3712..3722
    app/spdx.js on lines 3769..3779
    app/spdx.js on lines 3802..3812
    app/spdx.js on lines 3905..3915
    app/spdx.js on lines 3952..3962
    app/spdx.js on lines 4070..4080
    app/spdx.js on lines 4113..4123
    app/spdx.js on lines 4144..4154
    app/spdx.js on lines 4193..4203
    app/spdx.js on lines 4224..4234
    app/spdx.js on lines 4235..4245
    app/spdx.js on lines 4286..4296
    app/spdx.js on lines 4321..4331
    app/spdx.js on lines 4342..4354
    app/spdx.js on lines 4355..4367
    app/spdx.js on lines 4479..4489
    app/spdx.js on lines 4526..4536
    app/spdx.js on lines 4537..4547
    app/spdx.js on lines 4620..4630

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

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

        {
          reference: './OLDAP-2.3.html',
          isDeprecatedLicenseId: false,
          isFsfLibre: true,
          detailsUrl: 'http://spdx.org/licenses/OLDAP-2.3.json',
    Severity: Major
    Found in app/spdx.js and 72 other locations - About 40 mins to fix
    app/spdx.js on lines 63..75
    app/spdx.js on lines 76..86
    app/spdx.js on lines 101..111
    app/spdx.js on lines 272..282
    app/spdx.js on lines 333..343
    app/spdx.js on lines 438..448
    app/spdx.js on lines 469..479
    app/spdx.js on lines 492..502
    app/spdx.js on lines 565..575
    app/spdx.js on lines 669..679
    app/spdx.js on lines 750..760
    app/spdx.js on lines 1001..1011
    app/spdx.js on lines 1022..1032
    app/spdx.js on lines 1033..1043
    app/spdx.js on lines 1097..1107
    app/spdx.js on lines 1118..1128
    app/spdx.js on lines 1129..1139
    app/spdx.js on lines 1190..1200
    app/spdx.js on lines 1201..1211
    app/spdx.js on lines 1361..1371
    app/spdx.js on lines 1516..1528
    app/spdx.js on lines 1600..1610
    app/spdx.js on lines 1611..1621
    app/spdx.js on lines 1622..1632
    app/spdx.js on lines 1633..1643
    app/spdx.js on lines 1644..1654
    app/spdx.js on lines 1655..1665
    app/spdx.js on lines 1666..1676
    app/spdx.js on lines 1677..1687
    app/spdx.js on lines 1688..1698
    app/spdx.js on lines 1978..1988
    app/spdx.js on lines 2037..2047
    app/spdx.js on lines 2048..2058
    app/spdx.js on lines 2059..2069
    app/spdx.js on lines 2118..2128
    app/spdx.js on lines 2419..2429
    app/spdx.js on lines 2430..2440
    app/spdx.js on lines 2535..2545
    app/spdx.js on lines 2841..2851
    app/spdx.js on lines 2852..2862
    app/spdx.js on lines 2863..2873
    app/spdx.js on lines 2956..2966
    app/spdx.js on lines 2977..2987
    app/spdx.js on lines 3021..3031
    app/spdx.js on lines 3032..3044
    app/spdx.js on lines 3337..3349
    app/spdx.js on lines 3396..3406
    app/spdx.js on lines 3407..3417
    app/spdx.js on lines 3418..3430
    app/spdx.js on lines 3459..3469
    app/spdx.js on lines 3493..3503
    app/spdx.js on lines 3549..3559
    app/spdx.js on lines 3661..3671
    app/spdx.js on lines 3712..3722
    app/spdx.js on lines 3769..3779
    app/spdx.js on lines 3802..3812
    app/spdx.js on lines 3905..3915
    app/spdx.js on lines 3952..3962
    app/spdx.js on lines 4070..4080
    app/spdx.js on lines 4113..4123
    app/spdx.js on lines 4144..4154
    app/spdx.js on lines 4193..4203
    app/spdx.js on lines 4224..4234
    app/spdx.js on lines 4235..4245
    app/spdx.js on lines 4286..4296
    app/spdx.js on lines 4321..4331
    app/spdx.js on lines 4342..4354
    app/spdx.js on lines 4355..4367
    app/spdx.js on lines 4479..4489
    app/spdx.js on lines 4526..4536
    app/spdx.js on lines 4537..4547
    app/spdx.js on lines 4620..4630

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

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

        {
          reference: './eCos-2.0.html',
          isDeprecatedLicenseId: true,
          isFsfLibre: true,
          detailsUrl: 'http://spdx.org/licenses/eCos-2.0.json',
    Severity: Major
    Found in app/spdx.js and 72 other locations - About 40 mins to fix
    app/spdx.js on lines 63..75
    app/spdx.js on lines 76..86
    app/spdx.js on lines 101..111
    app/spdx.js on lines 272..282
    app/spdx.js on lines 333..343
    app/spdx.js on lines 438..448
    app/spdx.js on lines 469..479
    app/spdx.js on lines 492..502
    app/spdx.js on lines 565..575
    app/spdx.js on lines 669..679
    app/spdx.js on lines 750..760
    app/spdx.js on lines 1001..1011
    app/spdx.js on lines 1022..1032
    app/spdx.js on lines 1033..1043
    app/spdx.js on lines 1097..1107
    app/spdx.js on lines 1118..1128
    app/spdx.js on lines 1129..1139
    app/spdx.js on lines 1190..1200
    app/spdx.js on lines 1201..1211
    app/spdx.js on lines 1361..1371
    app/spdx.js on lines 1516..1528
    app/spdx.js on lines 1600..1610
    app/spdx.js on lines 1611..1621
    app/spdx.js on lines 1622..1632
    app/spdx.js on lines 1633..1643
    app/spdx.js on lines 1644..1654
    app/spdx.js on lines 1655..1665
    app/spdx.js on lines 1666..1676
    app/spdx.js on lines 1677..1687
    app/spdx.js on lines 1688..1698
    app/spdx.js on lines 1978..1988
    app/spdx.js on lines 2037..2047
    app/spdx.js on lines 2048..2058
    app/spdx.js on lines 2059..2069
    app/spdx.js on lines 2118..2128
    app/spdx.js on lines 2419..2429
    app/spdx.js on lines 2430..2440
    app/spdx.js on lines 2535..2545
    app/spdx.js on lines 2841..2851
    app/spdx.js on lines 2852..2862
    app/spdx.js on lines 2863..2873
    app/spdx.js on lines 2956..2966
    app/spdx.js on lines 2977..2987
    app/spdx.js on lines 3021..3031
    app/spdx.js on lines 3032..3044
    app/spdx.js on lines 3288..3300
    app/spdx.js on lines 3337..3349
    app/spdx.js on lines 3396..3406
    app/spdx.js on lines 3407..3417
    app/spdx.js on lines 3418..3430
    app/spdx.js on lines 3459..3469
    app/spdx.js on lines 3493..3503
    app/spdx.js on lines 3549..3559
    app/spdx.js on lines 3661..3671
    app/spdx.js on lines 3712..3722
    app/spdx.js on lines 3769..3779
    app/spdx.js on lines 3802..3812
    app/spdx.js on lines 3905..3915
    app/spdx.js on lines 3952..3962
    app/spdx.js on lines 4070..4080
    app/spdx.js on lines 4113..4123
    app/spdx.js on lines 4144..4154
    app/spdx.js on lines 4193..4203
    app/spdx.js on lines 4224..4234
    app/spdx.js on lines 4235..4245
    app/spdx.js on lines 4286..4296
    app/spdx.js on lines 4321..4331
    app/spdx.js on lines 4342..4354
    app/spdx.js on lines 4355..4367
    app/spdx.js on lines 4526..4536
    app/spdx.js on lines 4537..4547
    app/spdx.js on lines 4620..4630

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

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

        {
          reference: './BSD-3-Clause.html',
          isDeprecatedLicenseId: false,
          isFsfLibre: true,
          detailsUrl: 'http://spdx.org/licenses/BSD-3-Clause.json',
    Severity: Major
    Found in app/spdx.js and 72 other locations - About 40 mins to fix
    app/spdx.js on lines 63..75
    app/spdx.js on lines 76..86
    app/spdx.js on lines 101..111
    app/spdx.js on lines 272..282
    app/spdx.js on lines 333..343
    app/spdx.js on lines 438..448
    app/spdx.js on lines 492..502
    app/spdx.js on lines 565..575
    app/spdx.js on lines 669..679
    app/spdx.js on lines 750..760
    app/spdx.js on lines 1001..1011
    app/spdx.js on lines 1022..1032
    app/spdx.js on lines 1033..1043
    app/spdx.js on lines 1097..1107
    app/spdx.js on lines 1118..1128
    app/spdx.js on lines 1129..1139
    app/spdx.js on lines 1190..1200
    app/spdx.js on lines 1201..1211
    app/spdx.js on lines 1361..1371
    app/spdx.js on lines 1516..1528
    app/spdx.js on lines 1600..1610
    app/spdx.js on lines 1611..1621
    app/spdx.js on lines 1622..1632
    app/spdx.js on lines 1633..1643
    app/spdx.js on lines 1644..1654
    app/spdx.js on lines 1655..1665
    app/spdx.js on lines 1666..1676
    app/spdx.js on lines 1677..1687
    app/spdx.js on lines 1688..1698
    app/spdx.js on lines 1978..1988
    app/spdx.js on lines 2037..2047
    app/spdx.js on lines 2048..2058
    app/spdx.js on lines 2059..2069
    app/spdx.js on lines 2118..2128
    app/spdx.js on lines 2419..2429
    app/spdx.js on lines 2430..2440
    app/spdx.js on lines 2535..2545
    app/spdx.js on lines 2841..2851
    app/spdx.js on lines 2852..2862
    app/spdx.js on lines 2863..2873
    app/spdx.js on lines 2956..2966
    app/spdx.js on lines 2977..2987
    app/spdx.js on lines 3021..3031
    app/spdx.js on lines 3032..3044
    app/spdx.js on lines 3288..3300
    app/spdx.js on lines 3337..3349
    app/spdx.js on lines 3396..3406
    app/spdx.js on lines 3407..3417
    app/spdx.js on lines 3418..3430
    app/spdx.js on lines 3459..3469
    app/spdx.js on lines 3493..3503
    app/spdx.js on lines 3549..3559
    app/spdx.js on lines 3661..3671
    app/spdx.js on lines 3712..3722
    app/spdx.js on lines 3769..3779
    app/spdx.js on lines 3802..3812
    app/spdx.js on lines 3905..3915
    app/spdx.js on lines 3952..3962
    app/spdx.js on lines 4070..4080
    app/spdx.js on lines 4113..4123
    app/spdx.js on lines 4144..4154
    app/spdx.js on lines 4193..4203
    app/spdx.js on lines 4224..4234
    app/spdx.js on lines 4235..4245
    app/spdx.js on lines 4286..4296
    app/spdx.js on lines 4321..4331
    app/spdx.js on lines 4342..4354
    app/spdx.js on lines 4355..4367
    app/spdx.js on lines 4479..4489
    app/spdx.js on lines 4526..4536
    app/spdx.js on lines 4537..4547
    app/spdx.js on lines 4620..4630

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

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

        {
          reference: './NPL-1.1.html',
          isDeprecatedLicenseId: false,
          isFsfLibre: true,
          detailsUrl: 'http://spdx.org/licenses/NPL-1.1.json',
    Severity: Major
    Found in app/spdx.js and 72 other locations - About 40 mins to fix
    app/spdx.js on lines 63..75
    app/spdx.js on lines 76..86
    app/spdx.js on lines 101..111
    app/spdx.js on lines 272..282
    app/spdx.js on lines 333..343
    app/spdx.js on lines 438..448
    app/spdx.js on lines 469..479
    app/spdx.js on lines 492..502
    app/spdx.js on lines 565..575
    app/spdx.js on lines 669..679
    app/spdx.js on lines 750..760
    app/spdx.js on lines 1001..1011
    app/spdx.js on lines 1022..1032
    app/spdx.js on lines 1033..1043
    app/spdx.js on lines 1097..1107
    app/spdx.js on lines 1118..1128
    app/spdx.js on lines 1129..1139
    app/spdx.js on lines 1190..1200
    app/spdx.js on lines 1201..1211
    app/spdx.js on lines 1361..1371
    app/spdx.js on lines 1516..1528
    app/spdx.js on lines 1600..1610
    app/spdx.js on lines 1611..1621
    app/spdx.js on lines 1622..1632
    app/spdx.js on lines 1633..1643
    app/spdx.js on lines 1644..1654
    app/spdx.js on lines 1655..1665
    app/spdx.js on lines 1666..1676
    app/spdx.js on lines 1677..1687
    app/spdx.js on lines 1688..1698
    app/spdx.js on lines 1978..1988
    app/spdx.js on lines 2037..2047
    app/spdx.js on lines 2048..2058
    app/spdx.js on lines 2059..2069
    app/spdx.js on lines 2118..2128
    app/spdx.js on lines 2419..2429
    app/spdx.js on lines 2430..2440
    app/spdx.js on lines 2535..2545
    app/spdx.js on lines 2841..2851
    app/spdx.js on lines 2852..2862
    app/spdx.js on lines 2956..2966
    app/spdx.js on lines 2977..2987
    app/spdx.js on lines 3021..3031
    app/spdx.js on lines 3032..3044
    app/spdx.js on lines 3288..3300
    app/spdx.js on lines 3337..3349
    app/spdx.js on lines 3396..3406
    app/spdx.js on lines 3407..3417
    app/spdx.js on lines 3418..3430
    app/spdx.js on lines 3459..3469
    app/spdx.js on lines 3493..3503
    app/spdx.js on lines 3549..3559
    app/spdx.js on lines 3661..3671
    app/spdx.js on lines 3712..3722
    app/spdx.js on lines 3769..3779
    app/spdx.js on lines 3802..3812
    app/spdx.js on lines 3905..3915
    app/spdx.js on lines 3952..3962
    app/spdx.js on lines 4070..4080
    app/spdx.js on lines 4113..4123
    app/spdx.js on lines 4144..4154
    app/spdx.js on lines 4193..4203
    app/spdx.js on lines 4224..4234
    app/spdx.js on lines 4235..4245
    app/spdx.js on lines 4286..4296
    app/spdx.js on lines 4321..4331
    app/spdx.js on lines 4342..4354
    app/spdx.js on lines 4355..4367
    app/spdx.js on lines 4479..4489
    app/spdx.js on lines 4526..4536
    app/spdx.js on lines 4537..4547
    app/spdx.js on lines 4620..4630

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

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

        {
          reference: './StandardML-NJ.html',
          isDeprecatedLicenseId: true,
          isFsfLibre: true,
          detailsUrl: 'http://spdx.org/licenses/StandardML-NJ.json',
    Severity: Major
    Found in app/spdx.js and 72 other locations - About 40 mins to fix
    app/spdx.js on lines 63..75
    app/spdx.js on lines 76..86
    app/spdx.js on lines 101..111
    app/spdx.js on lines 272..282
    app/spdx.js on lines 333..343
    app/spdx.js on lines 438..448
    app/spdx.js on lines 469..479
    app/spdx.js on lines 492..502
    app/spdx.js on lines 565..575
    app/spdx.js on lines 669..679
    app/spdx.js on lines 750..760
    app/spdx.js on lines 1001..1011
    app/spdx.js on lines 1022..1032
    app/spdx.js on lines 1033..1043
    app/spdx.js on lines 1097..1107
    app/spdx.js on lines 1118..1128
    app/spdx.js on lines 1129..1139
    app/spdx.js on lines 1190..1200
    app/spdx.js on lines 1201..1211
    app/spdx.js on lines 1361..1371
    app/spdx.js on lines 1516..1528
    app/spdx.js on lines 1600..1610
    app/spdx.js on lines 1611..1621
    app/spdx.js on lines 1622..1632
    app/spdx.js on lines 1633..1643
    app/spdx.js on lines 1644..1654
    app/spdx.js on lines 1655..1665
    app/spdx.js on lines 1666..1676
    app/spdx.js on lines 1677..1687
    app/spdx.js on lines 1688..1698
    app/spdx.js on lines 1978..1988
    app/spdx.js on lines 2037..2047
    app/spdx.js on lines 2048..2058
    app/spdx.js on lines 2059..2069
    app/spdx.js on lines 2118..2128
    app/spdx.js on lines 2419..2429
    app/spdx.js on lines 2430..2440
    app/spdx.js on lines 2535..2545
    app/spdx.js on lines 2841..2851
    app/spdx.js on lines 2852..2862
    app/spdx.js on lines 2863..2873
    app/spdx.js on lines 2956..2966
    app/spdx.js on lines 2977..2987
    app/spdx.js on lines 3021..3031
    app/spdx.js on lines 3032..3044
    app/spdx.js on lines 3288..3300
    app/spdx.js on lines 3337..3349
    app/spdx.js on lines 3396..3406
    app/spdx.js on lines 3407..3417
    app/spdx.js on lines 3418..3430
    app/spdx.js on lines 3459..3469
    app/spdx.js on lines 3493..3503
    app/spdx.js on lines 3549..3559
    app/spdx.js on lines 3661..3671
    app/spdx.js on lines 3712..3722
    app/spdx.js on lines 3769..3779
    app/spdx.js on lines 3802..3812
    app/spdx.js on lines 3905..3915
    app/spdx.js on lines 4070..4080
    app/spdx.js on lines 4113..4123
    app/spdx.js on lines 4144..4154
    app/spdx.js on lines 4193..4203
    app/spdx.js on lines 4224..4234
    app/spdx.js on lines 4235..4245
    app/spdx.js on lines 4286..4296
    app/spdx.js on lines 4321..4331
    app/spdx.js on lines 4342..4354
    app/spdx.js on lines 4355..4367
    app/spdx.js on lines 4479..4489
    app/spdx.js on lines 4526..4536
    app/spdx.js on lines 4537..4547
    app/spdx.js on lines 4620..4630

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

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

        {
          reference: './XFree86-1.1.html',
          isDeprecatedLicenseId: false,
          isFsfLibre: true,
          detailsUrl: 'http://spdx.org/licenses/XFree86-1.1.json',
    Severity: Major
    Found in app/spdx.js and 72 other locations - About 40 mins to fix
    app/spdx.js on lines 63..75
    app/spdx.js on lines 76..86
    app/spdx.js on lines 101..111
    app/spdx.js on lines 272..282
    app/spdx.js on lines 333..343
    app/spdx.js on lines 438..448
    app/spdx.js on lines 469..479
    app/spdx.js on lines 492..502
    app/spdx.js on lines 565..575
    app/spdx.js on lines 669..679
    app/spdx.js on lines 750..760
    app/spdx.js on lines 1001..1011
    app/spdx.js on lines 1022..1032
    app/spdx.js on lines 1033..1043
    app/spdx.js on lines 1097..1107
    app/spdx.js on lines 1118..1128
    app/spdx.js on lines 1129..1139
    app/spdx.js on lines 1190..1200
    app/spdx.js on lines 1201..1211
    app/spdx.js on lines 1361..1371
    app/spdx.js on lines 1516..1528
    app/spdx.js on lines 1600..1610
    app/spdx.js on lines 1611..1621
    app/spdx.js on lines 1622..1632
    app/spdx.js on lines 1633..1643
    app/spdx.js on lines 1644..1654
    app/spdx.js on lines 1655..1665
    app/spdx.js on lines 1666..1676
    app/spdx.js on lines 1677..1687
    app/spdx.js on lines 1688..1698
    app/spdx.js on lines 1978..1988
    app/spdx.js on lines 2037..2047
    app/spdx.js on lines 2048..2058
    app/spdx.js on lines 2059..2069
    app/spdx.js on lines 2118..2128
    app/spdx.js on lines 2419..2429
    app/spdx.js on lines 2430..2440
    app/spdx.js on lines 2535..2545
    app/spdx.js on lines 2841..2851
    app/spdx.js on lines 2852..2862
    app/spdx.js on lines 2863..2873
    app/spdx.js on lines 2956..2966
    app/spdx.js on lines 2977..2987
    app/spdx.js on lines 3021..3031
    app/spdx.js on lines 3032..3044
    app/spdx.js on lines 3288..3300
    app/spdx.js on lines 3337..3349
    app/spdx.js on lines 3396..3406
    app/spdx.js on lines 3407..3417
    app/spdx.js on lines 3418..3430
    app/spdx.js on lines 3459..3469
    app/spdx.js on lines 3493..3503
    app/spdx.js on lines 3549..3559
    app/spdx.js on lines 3661..3671
    app/spdx.js on lines 3712..3722
    app/spdx.js on lines 3769..3779
    app/spdx.js on lines 3802..3812
    app/spdx.js on lines 3905..3915
    app/spdx.js on lines 3952..3962
    app/spdx.js on lines 4070..4080
    app/spdx.js on lines 4113..4123
    app/spdx.js on lines 4144..4154
    app/spdx.js on lines 4193..4203
    app/spdx.js on lines 4224..4234
    app/spdx.js on lines 4286..4296
    app/spdx.js on lines 4321..4331
    app/spdx.js on lines 4342..4354
    app/spdx.js on lines 4355..4367
    app/spdx.js on lines 4479..4489
    app/spdx.js on lines 4526..4536
    app/spdx.js on lines 4537..4547
    app/spdx.js on lines 4620..4630

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

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

        {
          reference: './Zend-2.0.html',
          isDeprecatedLicenseId: false,
          isFsfLibre: true,
          detailsUrl: 'http://spdx.org/licenses/Zend-2.0.json',
    Severity: Major
    Found in app/spdx.js and 72 other locations - About 40 mins to fix
    app/spdx.js on lines 63..75
    app/spdx.js on lines 76..86
    app/spdx.js on lines 101..111
    app/spdx.js on lines 272..282
    app/spdx.js on lines 333..343
    app/spdx.js on lines 438..448
    app/spdx.js on lines 469..479
    app/spdx.js on lines 492..502
    app/spdx.js on lines 565..575
    app/spdx.js on lines 669..679
    app/spdx.js on lines 750..760
    app/spdx.js on lines 1001..1011
    app/spdx.js on lines 1022..1032
    app/spdx.js on lines 1033..1043
    app/spdx.js on lines 1097..1107
    app/spdx.js on lines 1118..1128
    app/spdx.js on lines 1129..1139
    app/spdx.js on lines 1190..1200
    app/spdx.js on lines 1201..1211
    app/spdx.js on lines 1361..1371
    app/spdx.js on lines 1516..1528
    app/spdx.js on lines 1600..1610
    app/spdx.js on lines 1611..1621
    app/spdx.js on lines 1622..1632
    app/spdx.js on lines 1633..1643
    app/spdx.js on lines 1644..1654
    app/spdx.js on lines 1655..1665
    app/spdx.js on lines 1666..1676
    app/spdx.js on lines 1677..1687
    app/spdx.js on lines 1688..1698
    app/spdx.js on lines 1978..1988
    app/spdx.js on lines 2037..2047
    app/spdx.js on lines 2048..2058
    app/spdx.js on lines 2059..2069
    app/spdx.js on lines 2118..2128
    app/spdx.js on lines 2419..2429
    app/spdx.js on lines 2430..2440
    app/spdx.js on lines 2535..2545
    app/spdx.js on lines 2841..2851
    app/spdx.js on lines 2852..2862
    app/spdx.js on lines 2863..2873
    app/spdx.js on lines 2956..2966
    app/spdx.js on lines 2977..2987
    app/spdx.js on lines 3021..3031
    app/spdx.js on lines 3032..3044
    app/spdx.js on lines 3288..3300
    app/spdx.js on lines 3337..3349
    app/spdx.js on lines 3396..3406
    app/spdx.js on lines 3407..3417
    app/spdx.js on lines 3418..3430
    app/spdx.js on lines 3459..3469
    app/spdx.js on lines 3493..3503
    app/spdx.js on lines 3549..3559
    app/spdx.js on lines 3661..3671
    app/spdx.js on lines 3712..3722
    app/spdx.js on lines 3769..3779
    app/spdx.js on lines 3802..3812
    app/spdx.js on lines 3905..3915
    app/spdx.js on lines 3952..3962
    app/spdx.js on lines 4070..4080
    app/spdx.js on lines 4113..4123
    app/spdx.js on lines 4144..4154
    app/spdx.js on lines 4193..4203
    app/spdx.js on lines 4224..4234
    app/spdx.js on lines 4235..4245
    app/spdx.js on lines 4286..4296
    app/spdx.js on lines 4321..4331
    app/spdx.js on lines 4355..4367
    app/spdx.js on lines 4479..4489
    app/spdx.js on lines 4526..4536
    app/spdx.js on lines 4537..4547
    app/spdx.js on lines 4620..4630

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

    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

        {
          reference: './SSH-short.html',
          isDeprecatedLicenseId: false,
          detailsUrl: 'http://spdx.org/licenses/SSH-short.json',
          referenceNumber: '67',
    Severity: Minor
    Found in app/spdx.js and 1 other location - About 35 mins to fix
    app/spdx.js on lines 2546..2559

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

    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

        {
          reference: './MIT-0.html',
          isDeprecatedLicenseId: false,
          detailsUrl: 'http://spdx.org/licenses/MIT-0.json',
          referenceNumber: '76',
    Severity: Minor
    Found in app/spdx.js and 1 other location - About 35 mins to fix
    app/spdx.js on lines 3825..3838

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

    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: './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: './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: './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: './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: './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: './NASA-1.3.html',
          isDeprecatedLicenseId: false,
          detailsUrl: 'http://spdx.org/licenses/NASA-1.3.json',
          referenceNumber: '110',
    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 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: './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: './EFL-1.0.html',
          isDeprecatedLicenseId: false,
          detailsUrl: 'http://spdx.org/licenses/EFL-1.0.json',
          referenceNumber: '73',
    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 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: './Fair.html',
          isDeprecatedLicenseId: false,
          detailsUrl: 'http://spdx.org/licenses/Fair.json',
          referenceNumber: '253',
    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 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: './LPPL-1.3c.html',
          isDeprecatedLicenseId: false,
          detailsUrl: 'http://spdx.org/licenses/LPPL-1.3c.json',
          referenceNumber: '126',
    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 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: './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: './PostgreSQL.html',
          isDeprecatedLicenseId: false,
          detailsUrl: 'http://spdx.org/licenses/PostgreSQL.json',
          referenceNumber: '11',
    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 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 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: './blessing.html',
          isDeprecatedLicenseId: false,
          detailsUrl: 'http://spdx.org/licenses/blessing.json',
          referenceNumber: '301',
    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 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 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

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

        {
          reference: './OSET-PL-2.1.html',
          isDeprecatedLicenseId: false,
          detailsUrl: 'http://spdx.org/licenses/OSET-PL-2.1.json',
          referenceNumber: '203',
    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 3096..3108
    app/spdx.js on lines 3155..3167
    app/spdx.js on lines 3370..3382
    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: './Sendmail.html',
          isDeprecatedLicenseId: false,
          detailsUrl: 'http://spdx.org/licenses/Sendmail.json',
          referenceNumber: '293',
    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 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 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: './Sendmail-8.23.html',
          isDeprecatedLicenseId: false,
          detailsUrl: 'http://spdx.org/licenses/Sendmail-8.23.json',
          referenceNumber: '176',
    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 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 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: './TCL.html',
          isDeprecatedLicenseId: false,
          detailsUrl: 'http://spdx.org/licenses/TCL.json',
          referenceNumber: '54',
    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 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 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: './etalab-2.0.html',
          isDeprecatedLicenseId: false,
          detailsUrl: 'http://spdx.org/licenses/etalab-2.0.json',
          referenceNumber: '259',
    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 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

    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: './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: './RSCPL.html',
          isDeprecatedLicenseId: false,
          detailsUrl: 'http://spdx.org/licenses/RSCPL.json',
          referenceNumber: '339',
    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 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 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: './PHP-3.0.html',
          isDeprecatedLicenseId: false,
          detailsUrl: 'http://spdx.org/licenses/PHP-3.0.json',
          referenceNumber: '191',
    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 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 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: './OGTSL.html',
          isDeprecatedLicenseId: false,
          detailsUrl: 'http://spdx.org/licenses/OGTSL.json',
          referenceNumber: '26',
    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 3096..3108
    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: './OPL-1.0.html',
          isDeprecatedLicenseId: false,
          detailsUrl: 'http://spdx.org/licenses/OPL-1.0.json',
          referenceNumber: '338',
    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 3096..3108
    app/spdx.js on lines 3155..3167
    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-R-1.1.html',
          isDeprecatedLicenseId: false,
          detailsUrl: 'http://spdx.org/licenses/LiLiQ-R-1.1.json',
          referenceNumber: '290',
    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 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: './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: './eGenix.html',
          isDeprecatedLicenseId: false,
          detailsUrl: 'http://spdx.org/licenses/eGenix.json',
          referenceNumber: '214',
    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 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 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

    There are no issues that match your filters.

    Category
    Status