victor-valencia/bootstrap-iconpicker

View on GitHub
src/js/iconset/iconset-octicon-all.js

Summary

Maintainability
F
1 mo
Test Coverage

File iconset-octicon-all.js has 5167 lines of code (exceeds 250 allowed). Consider refactoring.
Open

/*!========================================================================
 * Iconset: Octicons
 * Versions: 2.1.2
 * https://octicons.github.com/
 * CDN: https://cdnjs.cloudflare.com/ajax/libs/octicons/4.x.x/font/octicons.min.css
Severity: Major
Found in src/js/iconset/iconset-octicon-all.js - About 2 wks to fix

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

                {
                    version: '2.1.1',
                    icons: [
                        '',
                        'alert',
    Severity: Major
    Found in src/js/iconset/iconset-octicon-all.js and 3 other locations - About 1 day to fix
    src/js/iconset/iconset-octicon-all.js on lines 198..407
    src/js/iconset/iconset-octicon-all.js on lines 408..617
    src/js/iconset/iconset-octicon-all.js on lines 618..827

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

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

                {
                    version: '2.0.1',
                    icons: [
                        '',
                        'alert',
    Severity: Major
    Found in src/js/iconset/iconset-octicon-all.js and 3 other locations - About 1 day to fix
    src/js/iconset/iconset-octicon-all.js on lines 408..617
    src/js/iconset/iconset-octicon-all.js on lines 618..827
    src/js/iconset/iconset-octicon-all.js on lines 828..1037

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

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

                {
                    version: '2.0.2',
                    icons: [
                        '',
                        'alert',
    Severity: Major
    Found in src/js/iconset/iconset-octicon-all.js and 3 other locations - About 1 day to fix
    src/js/iconset/iconset-octicon-all.js on lines 198..407
    src/js/iconset/iconset-octicon-all.js on lines 618..827
    src/js/iconset/iconset-octicon-all.js on lines 828..1037

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

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

                {
                    version: '2.1.0',
                    icons: [
                        '',
                        'alert',
    Severity: Major
    Found in src/js/iconset/iconset-octicon-all.js and 3 other locations - About 1 day to fix
    src/js/iconset/iconset-octicon-all.js on lines 198..407
    src/js/iconset/iconset-octicon-all.js on lines 408..617
    src/js/iconset/iconset-octicon-all.js on lines 828..1037

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

    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

                {
                    version: '3.4.0',
                    icons: [
                        '',
                        'alert',
    Severity: Major
    Found in src/js/iconset/iconset-octicon-all.js and 1 other location - About 1 day to fix
    src/js/iconset/iconset-octicon-all.js on lines 3525..3725

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

    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

                {
                    version: '3.4.1',
                    icons: [
                        '',
                        'alert',
    Severity: Major
    Found in src/js/iconset/iconset-octicon-all.js and 1 other location - About 1 day to fix
    src/js/iconset/iconset-octicon-all.js on lines 3324..3524

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

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

                {
                    version: '2.2.1',
                    icons: [
                        '',
                        'alert',
    Severity: Major
    Found in src/js/iconset/iconset-octicon-all.js and 6 other locations - About 1 day to fix
    src/js/iconset/iconset-octicon-all.js on lines 1224..1411
    src/js/iconset/iconset-octicon-all.js on lines 1600..1787
    src/js/iconset/iconset-octicon-all.js on lines 1788..1975
    src/js/iconset/iconset-octicon-all.js on lines 1976..2163
    src/js/iconset/iconset-octicon-all.js on lines 2164..2351
    src/js/iconset/iconset-octicon-all.js on lines 2352..2539

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

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

                {
                    version: '2.2.2',
                    icons: [
                        '',
                        'alert',
    Severity: Major
    Found in src/js/iconset/iconset-octicon-all.js and 6 other locations - About 1 day to fix
    src/js/iconset/iconset-octicon-all.js on lines 1224..1411
    src/js/iconset/iconset-octicon-all.js on lines 1412..1599
    src/js/iconset/iconset-octicon-all.js on lines 1788..1975
    src/js/iconset/iconset-octicon-all.js on lines 1976..2163
    src/js/iconset/iconset-octicon-all.js on lines 2164..2351
    src/js/iconset/iconset-octicon-all.js on lines 2352..2539

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

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

                {
                    version: '2.3.0',
                    icons: [
                        '',
                        'alert',
    Severity: Major
    Found in src/js/iconset/iconset-octicon-all.js and 6 other locations - About 1 day to fix
    src/js/iconset/iconset-octicon-all.js on lines 1224..1411
    src/js/iconset/iconset-octicon-all.js on lines 1412..1599
    src/js/iconset/iconset-octicon-all.js on lines 1600..1787
    src/js/iconset/iconset-octicon-all.js on lines 1788..1975
    src/js/iconset/iconset-octicon-all.js on lines 2164..2351
    src/js/iconset/iconset-octicon-all.js on lines 2352..2539

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

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

                {
                    version: '2.4.0',
                    icons: [
                        '',
                        'alert',
    Severity: Major
    Found in src/js/iconset/iconset-octicon-all.js and 6 other locations - About 1 day to fix
    src/js/iconset/iconset-octicon-all.js on lines 1224..1411
    src/js/iconset/iconset-octicon-all.js on lines 1412..1599
    src/js/iconset/iconset-octicon-all.js on lines 1600..1787
    src/js/iconset/iconset-octicon-all.js on lines 1788..1975
    src/js/iconset/iconset-octicon-all.js on lines 1976..2163
    src/js/iconset/iconset-octicon-all.js on lines 2352..2539

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

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

                {
                    version: '2.4.1',
                    icons: [
                        '',
                        'alert',
    Severity: Major
    Found in src/js/iconset/iconset-octicon-all.js and 6 other locations - About 1 day to fix
    src/js/iconset/iconset-octicon-all.js on lines 1224..1411
    src/js/iconset/iconset-octicon-all.js on lines 1412..1599
    src/js/iconset/iconset-octicon-all.js on lines 1600..1787
    src/js/iconset/iconset-octicon-all.js on lines 1788..1975
    src/js/iconset/iconset-octicon-all.js on lines 1976..2163
    src/js/iconset/iconset-octicon-all.js on lines 2164..2351

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

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

                {
                    version: '2.2.0',
                    icons: [
                        '',
                        'alert',
    Severity: Major
    Found in src/js/iconset/iconset-octicon-all.js and 6 other locations - About 1 day to fix
    src/js/iconset/iconset-octicon-all.js on lines 1412..1599
    src/js/iconset/iconset-octicon-all.js on lines 1600..1787
    src/js/iconset/iconset-octicon-all.js on lines 1788..1975
    src/js/iconset/iconset-octicon-all.js on lines 1976..2163
    src/js/iconset/iconset-octicon-all.js on lines 2164..2351
    src/js/iconset/iconset-octicon-all.js on lines 2352..2539

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

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

                {
                    version: '2.2.3',
                    icons: [
                        '',
                        'alert',
    Severity: Major
    Found in src/js/iconset/iconset-octicon-all.js and 6 other locations - About 1 day to fix
    src/js/iconset/iconset-octicon-all.js on lines 1224..1411
    src/js/iconset/iconset-octicon-all.js on lines 1412..1599
    src/js/iconset/iconset-octicon-all.js on lines 1600..1787
    src/js/iconset/iconset-octicon-all.js on lines 1976..2163
    src/js/iconset/iconset-octicon-all.js on lines 2164..2351
    src/js/iconset/iconset-octicon-all.js on lines 2352..2539

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

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

                {
                    version: '4.2.0',
                    icons: [
                        '',
                        'alert',
    Severity: Major
    Found in src/js/iconset/iconset-octicon-all.js and 5 other locations - About 7 hrs to fix
    src/js/iconset/iconset-octicon-all.js on lines 4103..4280
    src/js/iconset/iconset-octicon-all.js on lines 4281..4458
    src/js/iconset/iconset-octicon-all.js on lines 4637..4814
    src/js/iconset/iconset-octicon-all.js on lines 4815..4992
    src/js/iconset/iconset-octicon-all.js on lines 4993..5170

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

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

                {
                    version: '4.3.0',
                    icons: [
                        '',
                        'alert',
    Severity: Major
    Found in src/js/iconset/iconset-octicon-all.js and 5 other locations - About 7 hrs to fix
    src/js/iconset/iconset-octicon-all.js on lines 4103..4280
    src/js/iconset/iconset-octicon-all.js on lines 4281..4458
    src/js/iconset/iconset-octicon-all.js on lines 4459..4636
    src/js/iconset/iconset-octicon-all.js on lines 4637..4814
    src/js/iconset/iconset-octicon-all.js on lines 4993..5170

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

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

                {
                    version: '4.1.0',
                    icons: [
                        '',
                        'alert',
    Severity: Major
    Found in src/js/iconset/iconset-octicon-all.js and 5 other locations - About 7 hrs to fix
    src/js/iconset/iconset-octicon-all.js on lines 4281..4458
    src/js/iconset/iconset-octicon-all.js on lines 4459..4636
    src/js/iconset/iconset-octicon-all.js on lines 4637..4814
    src/js/iconset/iconset-octicon-all.js on lines 4815..4992
    src/js/iconset/iconset-octicon-all.js on lines 4993..5170

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

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

                {
                    version: '4.4.0',
                    icons: [
                        '',
                        'alert',
    Severity: Major
    Found in src/js/iconset/iconset-octicon-all.js and 5 other locations - About 7 hrs to fix
    src/js/iconset/iconset-octicon-all.js on lines 4103..4280
    src/js/iconset/iconset-octicon-all.js on lines 4281..4458
    src/js/iconset/iconset-octicon-all.js on lines 4459..4636
    src/js/iconset/iconset-octicon-all.js on lines 4637..4814
    src/js/iconset/iconset-octicon-all.js on lines 4815..4992

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

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

                {
                    version: '4.1.1',
                    icons: [
                        '',
                        'alert',
    Severity: Major
    Found in src/js/iconset/iconset-octicon-all.js and 5 other locations - About 7 hrs to fix
    src/js/iconset/iconset-octicon-all.js on lines 4103..4280
    src/js/iconset/iconset-octicon-all.js on lines 4459..4636
    src/js/iconset/iconset-octicon-all.js on lines 4637..4814
    src/js/iconset/iconset-octicon-all.js on lines 4815..4992
    src/js/iconset/iconset-octicon-all.js on lines 4993..5170

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

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

                {
                    version: '4.2.1',
                    icons: [
                        '',
                        'alert',
    Severity: Major
    Found in src/js/iconset/iconset-octicon-all.js and 5 other locations - About 7 hrs to fix
    src/js/iconset/iconset-octicon-all.js on lines 4103..4280
    src/js/iconset/iconset-octicon-all.js on lines 4281..4458
    src/js/iconset/iconset-octicon-all.js on lines 4459..4636
    src/js/iconset/iconset-octicon-all.js on lines 4815..4992
    src/js/iconset/iconset-octicon-all.js on lines 4993..5170

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

    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