Reconmap/web-client

View on GitHub
src/components/ui/Icons.jsx

Summary

Maintainability
F
1 wk
Test Coverage

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

export const IconEye = ({ styling }) => <svg viewBox="0 0 20 20" fill="currentColor" style={styling} className={`eye `}>
    <path d="M10 12a2 2 0 100-4 2 2 0 000 4z" />
    <path fillRule="evenodd"
        d="M.458 10C1.732 5.943 5.522 3 10 3s8.268 2.943 9.542 7c-1.274 4.057-5.064 7-9.542 7S1.732 14.057.458 10zM14 10a4 4 0 11-8 0 4 4 0 018 0z"
        clipRule="evenodd" />
Severity: Major
Found in src/components/ui/Icons.jsx and 2 other locations - About 3 hrs to fix
src/components/ui/Icons.jsx on lines 68..74
src/components/ui/Icons.jsx on lines 76..82

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

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

export const IconClipboardList = ({ styling }) => <svg viewBox="0 0 20 20" fill="currentColor" style={styling}
    className={`clipboard-list `}>
    <path d="M9 2a1 1 0 000 2h2a1 1 0 100-2H9z" />
    <path fillRule="evenodd"
        d="M4 5a2 2 0 012-2 3 3 0 003 3h2a3 3 0 003-3 2 2 0 012 2v11a2 2 0 01-2 2H6a2 2 0 01-2-2V5zm3 4a1 1 0 000 2h.01a1 1 0 100-2H7zm3 0a1 1 0 000 2h3a1 1 0 100-2h-3zm-3 4a1 1 0 100 2h.01a1 1 0 100-2H7zm3 0a1 1 0 100 2h3a1 1 0 100-2h-3z"
Severity: Major
Found in src/components/ui/Icons.jsx and 2 other locations - About 3 hrs to fix
src/components/ui/Icons.jsx on lines 76..82
src/components/ui/Icons.jsx on lines 144..149

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

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

export const IconClipboardCheck = ({ styling }) => <svg viewBox="0 0 20 20" fill="currentColor" style={styling}
    className={`clipboard-check `}>
    <path d="M9 2a1 1 0 000 2h2a1 1 0 100-2H9z" />
    <path fillRule="evenodd"
        d="M4 5a2 2 0 012-2 3 3 0 003 3h2a3 3 0 003-3 2 2 0 012 2v11a2 2 0 01-2 2H6a2 2 0 01-2-2V5zm9.707 5.707a1 1 0 00-1.414-1.414L9 12.586l-1.293-1.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z"
Severity: Major
Found in src/components/ui/Icons.jsx and 2 other locations - About 3 hrs to fix
src/components/ui/Icons.jsx on lines 68..74
src/components/ui/Icons.jsx on lines 144..149

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

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

export const IconList = ({ styling }) => <svg style={styling} fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path strokeLinecap="round" strokeLinejoin="round" strokeWidth="2" d="M4 6h16M4 10h16M4 14h16M4 18h16"></path></svg>
Severity: Major
Found in src/components/ui/Icons.jsx and 3 other locations - About 2 hrs to fix
src/components/ui/Icons.jsx on lines 278..278
src/components/ui/Icons.jsx on lines 279..279
src/components/ui/Icons.jsx on lines 280..280

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

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

export const IconChevronUp = ({ styling }) => <svg style={styling} fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path strokeLinecap="round" strokeLinejoin="round" strokeWidth="2" d="M5 15l7-7 7 7"></path></svg>
Severity: Major
Found in src/components/ui/Icons.jsx and 3 other locations - About 2 hrs to fix
src/components/ui/Icons.jsx on lines 277..277
src/components/ui/Icons.jsx on lines 278..278
src/components/ui/Icons.jsx on lines 280..280

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

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

export const IconChevronDown = ({ styling }) => <svg style={styling} fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path strokeLinecap="round" strokeLinejoin="round" strokeWidth="2" d="M19 9l-7 7-7-7"></path></svg>
Severity: Major
Found in src/components/ui/Icons.jsx and 3 other locations - About 2 hrs to fix
src/components/ui/Icons.jsx on lines 277..277
src/components/ui/Icons.jsx on lines 279..279
src/components/ui/Icons.jsx on lines 280..280

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

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

export const IconSupport = ({ styling }) => <svg style={styling} fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path strokeLinecap="round" strokeLinejoin="round" strokeWidth="2" d="M18.364 5.636l-3.536 3.536m0 5.656l3.536 3.536M9.172 9.172L5.636 5.636m3.536 9.192l-3.536 3.536M21 12a9 9 0 11-18 0 9 9 0 0118 0zm-5 0a4 4 0 11-8 0 4 4 0 018 0z"></path></svg>
Severity: Major
Found in src/components/ui/Icons.jsx and 3 other locations - About 2 hrs to fix
src/components/ui/Icons.jsx on lines 277..277
src/components/ui/Icons.jsx on lines 278..278
src/components/ui/Icons.jsx on lines 279..279

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

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

export const IconClipboard = ({ styling }) => <svg viewBox="0 0 20 20" fill="currentColor" style={styling}
    className={`clipboard `}>
    <path d="M8 3a1 1 0 011-1h2a1 1 0 110 2H9a1 1 0 01-1-1z" />
    <path d="M6 3a2 2 0 00-2 2v11a2 2 0 002 2h8a2 2 0 002-2V5a2 2 0 00-2-2 3 3 0 01-3 3H9a3 3 0 01-3-3z" />
</svg>
Severity: Major
Found in src/components/ui/Icons.jsx and 1 other location - About 2 hrs to fix
src/components/ui/Icons.jsx on lines 115..119

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

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

export const IconDocumentDuplicate = ({ styling }) => <svg viewBox="0 0 20 20" fill="currentColor" style={styling}
    className={`document-duplicate `}>
    <path d="M9 2a2 2 0 00-2 2v8a2 2 0 002 2h6a2 2 0 002-2V6.414A2 2 0 0016.414 5L14 2.586A2 2 0 0012.586 2H9z" />
    <path d="M3 8a2 2 0 012-2v10h8a2 2 0 01-2 2H5a2 2 0 01-2-2V8z" />
</svg>
Severity: Major
Found in src/components/ui/Icons.jsx and 1 other location - About 2 hrs to fix
src/components/ui/Icons.jsx on lines 62..66

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

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

export const IconQuestionCircle = ({ styling }) => <svg viewBox="0 0 20 20" fill="currentColor" style={styling}
    className={`question-mark-circle `}>
    <path fillRule="evenodd"
        d="M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-3a1 1 0 00-.867.5 1 1 0 11-1.731-1A3 3 0 0113 8a3.001 3.001 0 01-2 2.83V11a1 1 0 11-2 0v-1a1 1 0 011-1 1 1 0 100-2zm0 8a1 1 0 100-2 1 1 0 000 2z"
        clipRule="evenodd" />
Severity: Major
Found in src/components/ui/Icons.jsx and 22 other locations - About 2 hrs to fix
src/components/ui/Icons.jsx on lines 1..6
src/components/ui/Icons.jsx on lines 21..26
src/components/ui/Icons.jsx on lines 55..60
src/components/ui/Icons.jsx on lines 84..88
src/components/ui/Icons.jsx on lines 101..106
src/components/ui/Icons.jsx on lines 108..113
src/components/ui/Icons.jsx on lines 130..135
src/components/ui/Icons.jsx on lines 137..142
src/components/ui/Icons.jsx on lines 151..155
src/components/ui/Icons.jsx on lines 162..167
src/components/ui/Icons.jsx on lines 169..174
src/components/ui/Icons.jsx on lines 176..179
src/components/ui/Icons.jsx on lines 181..186
src/components/ui/Icons.jsx on lines 201..206
src/components/ui/Icons.jsx on lines 213..218
src/components/ui/Icons.jsx on lines 220..225
src/components/ui/Icons.jsx on lines 227..232
src/components/ui/Icons.jsx on lines 234..239
src/components/ui/Icons.jsx on lines 241..246
src/components/ui/Icons.jsx on lines 248..253
src/components/ui/Icons.jsx on lines 255..257
src/components/ui/Icons.jsx on lines 265..269

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

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

export const IconFlag = ({ styling }) => <svg viewBox="0 0 20 20" fill="currentColor" style={styling} className={`flag `}>
    <path fillRule="evenodd"
        d="M3 6a3 3 0 013-3h10a1 1 0 01.8 1.6L14.25 8l2.55 3.4A1 1 0 0116 13H6a1 1 0 00-1 1v3a1 1 0 11-2 0V6z"
        clipRule="evenodd" />
</svg>
Severity: Major
Found in src/components/ui/Icons.jsx and 22 other locations - About 2 hrs to fix
src/components/ui/Icons.jsx on lines 1..6
src/components/ui/Icons.jsx on lines 21..26
src/components/ui/Icons.jsx on lines 55..60
src/components/ui/Icons.jsx on lines 84..88
src/components/ui/Icons.jsx on lines 101..106
src/components/ui/Icons.jsx on lines 108..113
src/components/ui/Icons.jsx on lines 130..135
src/components/ui/Icons.jsx on lines 137..142
src/components/ui/Icons.jsx on lines 162..167
src/components/ui/Icons.jsx on lines 169..174
src/components/ui/Icons.jsx on lines 176..179
src/components/ui/Icons.jsx on lines 181..186
src/components/ui/Icons.jsx on lines 194..199
src/components/ui/Icons.jsx on lines 201..206
src/components/ui/Icons.jsx on lines 213..218
src/components/ui/Icons.jsx on lines 220..225
src/components/ui/Icons.jsx on lines 227..232
src/components/ui/Icons.jsx on lines 234..239
src/components/ui/Icons.jsx on lines 241..246
src/components/ui/Icons.jsx on lines 248..253
src/components/ui/Icons.jsx on lines 255..257
src/components/ui/Icons.jsx on lines 265..269

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

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

export const IconId = ({ styling }) => <svg viewBox="0 0 20 20" fill="currentColor" style={styling}
    className={`identification `}>
    <path fillRule="evenodd"
        d="M10 2a1 1 0 00-1 1v1a1 1 0 002 0V3a1 1 0 00-1-1zM4 4h3a3 3 0 006 0h3a2 2 0 012 2v9a2 2 0 01-2 2H4a2 2 0 01-2-2V6a2 2 0 012-2zm2.5 7a1.5 1.5 0 100-3 1.5 1.5 0 000 3zm2.45 4a2.5 2.5 0 10-4.9 0h4.9zM12 9a1 1 0 100 2h3a1 1 0 100-2h-3zm-1 4a1 1 0 011-1h2a1 1 0 110 2h-2a1 1 0 01-1-1z"
        clipRule="evenodd" />
Severity: Major
Found in src/components/ui/Icons.jsx and 22 other locations - About 2 hrs to fix
src/components/ui/Icons.jsx on lines 1..6
src/components/ui/Icons.jsx on lines 21..26
src/components/ui/Icons.jsx on lines 55..60
src/components/ui/Icons.jsx on lines 84..88
src/components/ui/Icons.jsx on lines 101..106
src/components/ui/Icons.jsx on lines 108..113
src/components/ui/Icons.jsx on lines 130..135
src/components/ui/Icons.jsx on lines 137..142
src/components/ui/Icons.jsx on lines 151..155
src/components/ui/Icons.jsx on lines 169..174
src/components/ui/Icons.jsx on lines 176..179
src/components/ui/Icons.jsx on lines 181..186
src/components/ui/Icons.jsx on lines 194..199
src/components/ui/Icons.jsx on lines 201..206
src/components/ui/Icons.jsx on lines 213..218
src/components/ui/Icons.jsx on lines 220..225
src/components/ui/Icons.jsx on lines 227..232
src/components/ui/Icons.jsx on lines 234..239
src/components/ui/Icons.jsx on lines 241..246
src/components/ui/Icons.jsx on lines 248..253
src/components/ui/Icons.jsx on lines 255..257
src/components/ui/Icons.jsx on lines 265..269

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

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

export const IconShieldExclamation = ({ styling }) => <svg viewBox="0 0 20 20" fill="currentColor" style={styling}
    className={`shield-exclamation `}>
    <path fillRule="evenodd"
        d="M10 1.944A11.954 11.954 0 012.166 5C2.056 5.649 2 6.319 2 7c0 5.225 3.34 9.67 8 11.317C14.66 16.67 18 12.225 18 7c0-.682-.057-1.35-.166-2.001A11.954 11.954 0 0110 1.944zM11 14a1 1 0 11-2 0 1 1 0 012 0zm0-7a1 1 0 10-2 0v3a1 1 0 102 0V7z"
        clipRule="evenodd" />
Severity: Major
Found in src/components/ui/Icons.jsx and 22 other locations - About 2 hrs to fix
src/components/ui/Icons.jsx on lines 1..6
src/components/ui/Icons.jsx on lines 21..26
src/components/ui/Icons.jsx on lines 55..60
src/components/ui/Icons.jsx on lines 84..88
src/components/ui/Icons.jsx on lines 101..106
src/components/ui/Icons.jsx on lines 108..113
src/components/ui/Icons.jsx on lines 130..135
src/components/ui/Icons.jsx on lines 137..142
src/components/ui/Icons.jsx on lines 151..155
src/components/ui/Icons.jsx on lines 162..167
src/components/ui/Icons.jsx on lines 169..174
src/components/ui/Icons.jsx on lines 176..179
src/components/ui/Icons.jsx on lines 181..186
src/components/ui/Icons.jsx on lines 194..199
src/components/ui/Icons.jsx on lines 201..206
src/components/ui/Icons.jsx on lines 213..218
src/components/ui/Icons.jsx on lines 220..225
src/components/ui/Icons.jsx on lines 227..232
src/components/ui/Icons.jsx on lines 241..246
src/components/ui/Icons.jsx on lines 248..253
src/components/ui/Icons.jsx on lines 255..257
src/components/ui/Icons.jsx on lines 265..269

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

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

export const IconX = ({ styling }) => <svg viewBox="0 0 20 20" fill="currentColor" style={styling} className={`x `}>
    <path fillRule="evenodd"
        d="M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z"
        clipRule="evenodd" />
</svg>
Severity: Major
Found in src/components/ui/Icons.jsx and 22 other locations - About 2 hrs to fix
src/components/ui/Icons.jsx on lines 1..6
src/components/ui/Icons.jsx on lines 21..26
src/components/ui/Icons.jsx on lines 55..60
src/components/ui/Icons.jsx on lines 84..88
src/components/ui/Icons.jsx on lines 101..106
src/components/ui/Icons.jsx on lines 108..113
src/components/ui/Icons.jsx on lines 130..135
src/components/ui/Icons.jsx on lines 137..142
src/components/ui/Icons.jsx on lines 151..155
src/components/ui/Icons.jsx on lines 162..167
src/components/ui/Icons.jsx on lines 169..174
src/components/ui/Icons.jsx on lines 176..179
src/components/ui/Icons.jsx on lines 181..186
src/components/ui/Icons.jsx on lines 194..199
src/components/ui/Icons.jsx on lines 201..206
src/components/ui/Icons.jsx on lines 213..218
src/components/ui/Icons.jsx on lines 220..225
src/components/ui/Icons.jsx on lines 227..232
src/components/ui/Icons.jsx on lines 234..239
src/components/ui/Icons.jsx on lines 241..246
src/components/ui/Icons.jsx on lines 248..253
src/components/ui/Icons.jsx on lines 255..257

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

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

export const IconReport = ({ styling }) => <svg viewBox="0 0 20 20" fill="currentColor" style={styling}
    className={`document-report `}>
    <path fillRule="evenodd"
        d="M6 2a2 2 0 00-2 2v12a2 2 0 002 2h8a2 2 0 002-2V7.414A2 2 0 0015.414 6L12 2.586A2 2 0 0010.586 2H6zm2 10a1 1 0 10-2 0v3a1 1 0 102 0v-3zm2-3a1 1 0 011 1v5a1 1 0 11-2 0v-5a1 1 0 011-1zm4-1a1 1 0 10-2 0v7a1 1 0 102 0V8z"
        clipRule="evenodd" />
Severity: Major
Found in src/components/ui/Icons.jsx and 22 other locations - About 2 hrs to fix
src/components/ui/Icons.jsx on lines 1..6
src/components/ui/Icons.jsx on lines 21..26
src/components/ui/Icons.jsx on lines 55..60
src/components/ui/Icons.jsx on lines 84..88
src/components/ui/Icons.jsx on lines 108..113
src/components/ui/Icons.jsx on lines 130..135
src/components/ui/Icons.jsx on lines 137..142
src/components/ui/Icons.jsx on lines 151..155
src/components/ui/Icons.jsx on lines 162..167
src/components/ui/Icons.jsx on lines 169..174
src/components/ui/Icons.jsx on lines 176..179
src/components/ui/Icons.jsx on lines 181..186
src/components/ui/Icons.jsx on lines 194..199
src/components/ui/Icons.jsx on lines 201..206
src/components/ui/Icons.jsx on lines 213..218
src/components/ui/Icons.jsx on lines 220..225
src/components/ui/Icons.jsx on lines 227..232
src/components/ui/Icons.jsx on lines 234..239
src/components/ui/Icons.jsx on lines 241..246
src/components/ui/Icons.jsx on lines 248..253
src/components/ui/Icons.jsx on lines 255..257
src/components/ui/Icons.jsx on lines 265..269

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

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

export const IconServer = ({ styling }) => <svg viewBox="0 0 20 20" fill="currentColor" style={styling}
    className={`server `}>
    <path fillRule="evenodd"
        d="M2 5a2 2 0 012-2h12a2 2 0 012 2v2a2 2 0 01-2 2H4a2 2 0 01-2-2V5zm14 1a1 1 0 11-2 0 1 1 0 012 0zM2 13a2 2 0 012-2h12a2 2 0 012 2v2a2 2 0 01-2 2H4a2 2 0 01-2-2v-2zm14 1a1 1 0 11-2 0 1 1 0 012 0z"
        clipRule="evenodd" />
Severity: Major
Found in src/components/ui/Icons.jsx and 22 other locations - About 2 hrs to fix
src/components/ui/Icons.jsx on lines 1..6
src/components/ui/Icons.jsx on lines 21..26
src/components/ui/Icons.jsx on lines 55..60
src/components/ui/Icons.jsx on lines 84..88
src/components/ui/Icons.jsx on lines 101..106
src/components/ui/Icons.jsx on lines 108..113
src/components/ui/Icons.jsx on lines 130..135
src/components/ui/Icons.jsx on lines 137..142
src/components/ui/Icons.jsx on lines 151..155
src/components/ui/Icons.jsx on lines 162..167
src/components/ui/Icons.jsx on lines 169..174
src/components/ui/Icons.jsx on lines 176..179
src/components/ui/Icons.jsx on lines 181..186
src/components/ui/Icons.jsx on lines 194..199
src/components/ui/Icons.jsx on lines 201..206
src/components/ui/Icons.jsx on lines 213..218
src/components/ui/Icons.jsx on lines 227..232
src/components/ui/Icons.jsx on lines 234..239
src/components/ui/Icons.jsx on lines 241..246
src/components/ui/Icons.jsx on lines 248..253
src/components/ui/Icons.jsx on lines 255..257
src/components/ui/Icons.jsx on lines 265..269

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

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

export const IconUpload = ({ styling }) => <svg viewBox="0 0 20 20" fill="currentColor" style={styling}
    className={`upload `}>
    <path fillRule="evenodd"
        d="M3 17a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1zM6.293 6.707a1 1 0 010-1.414l3-3a1 1 0 011.414 0l3 3a1 1 0 01-1.414 1.414L11 5.414V13a1 1 0 11-2 0V5.414L7.707 6.707a1 1 0 01-1.414 0z"
        clipRule="evenodd" />
Severity: Major
Found in src/components/ui/Icons.jsx and 22 other locations - About 2 hrs to fix
src/components/ui/Icons.jsx on lines 1..6
src/components/ui/Icons.jsx on lines 21..26
src/components/ui/Icons.jsx on lines 55..60
src/components/ui/Icons.jsx on lines 84..88
src/components/ui/Icons.jsx on lines 101..106
src/components/ui/Icons.jsx on lines 108..113
src/components/ui/Icons.jsx on lines 130..135
src/components/ui/Icons.jsx on lines 137..142
src/components/ui/Icons.jsx on lines 151..155
src/components/ui/Icons.jsx on lines 162..167
src/components/ui/Icons.jsx on lines 169..174
src/components/ui/Icons.jsx on lines 176..179
src/components/ui/Icons.jsx on lines 181..186
src/components/ui/Icons.jsx on lines 194..199
src/components/ui/Icons.jsx on lines 201..206
src/components/ui/Icons.jsx on lines 213..218
src/components/ui/Icons.jsx on lines 220..225
src/components/ui/Icons.jsx on lines 227..232
src/components/ui/Icons.jsx on lines 234..239
src/components/ui/Icons.jsx on lines 241..246
src/components/ui/Icons.jsx on lines 255..257
src/components/ui/Icons.jsx on lines 265..269

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

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

export const IconCode = ({ styling }) => <svg viewBox="0 0 20 20" fill="currentColor" style={styling} className={`code `}>
    <path fillRule="evenodd"
        d="M12.316 3.051a1 1 0 01.633 1.265l-4 12a1 1 0 11-1.898-.632l4-12a1 1 0 011.265-.633zM5.707 6.293a1 1 0 010 1.414L3.414 10l2.293 2.293a1 1 0 11-1.414 1.414l-3-3a1 1 0 010-1.414l3-3a1 1 0 011.414 0zm8.586 0a1 1 0 011.414 0l3 3a1 1 0 010 1.414l-3 3a1 1 0 11-1.414-1.414L16.586 10l-2.293-2.293a1 1 0 010-1.414z"
        clipRule="evenodd" />
</svg>
Severity: Major
Found in src/components/ui/Icons.jsx and 22 other locations - About 2 hrs to fix
src/components/ui/Icons.jsx on lines 1..6
src/components/ui/Icons.jsx on lines 21..26
src/components/ui/Icons.jsx on lines 55..60
src/components/ui/Icons.jsx on lines 101..106
src/components/ui/Icons.jsx on lines 108..113
src/components/ui/Icons.jsx on lines 130..135
src/components/ui/Icons.jsx on lines 137..142
src/components/ui/Icons.jsx on lines 151..155
src/components/ui/Icons.jsx on lines 162..167
src/components/ui/Icons.jsx on lines 169..174
src/components/ui/Icons.jsx on lines 176..179
src/components/ui/Icons.jsx on lines 181..186
src/components/ui/Icons.jsx on lines 194..199
src/components/ui/Icons.jsx on lines 201..206
src/components/ui/Icons.jsx on lines 213..218
src/components/ui/Icons.jsx on lines 220..225
src/components/ui/Icons.jsx on lines 227..232
src/components/ui/Icons.jsx on lines 234..239
src/components/ui/Icons.jsx on lines 241..246
src/components/ui/Icons.jsx on lines 248..253
src/components/ui/Icons.jsx on lines 255..257
src/components/ui/Icons.jsx on lines 265..269

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

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

export const IconUser = ({ styling }) => <svg viewBox="0 0 20 20" fill="currentColor" style={styling} className={`user `}>
    <path fillRule="evenodd" d="M10 9a3 3 0 100-6 3 3 0 000 6zm-7 9a7 7 0 1114 0H3z" clipRule="evenodd" />
</svg>
Severity: Major
Found in src/components/ui/Icons.jsx and 22 other locations - About 2 hrs to fix
src/components/ui/Icons.jsx on lines 1..6
src/components/ui/Icons.jsx on lines 21..26
src/components/ui/Icons.jsx on lines 55..60
src/components/ui/Icons.jsx on lines 84..88
src/components/ui/Icons.jsx on lines 101..106
src/components/ui/Icons.jsx on lines 108..113
src/components/ui/Icons.jsx on lines 130..135
src/components/ui/Icons.jsx on lines 137..142
src/components/ui/Icons.jsx on lines 151..155
src/components/ui/Icons.jsx on lines 162..167
src/components/ui/Icons.jsx on lines 169..174
src/components/ui/Icons.jsx on lines 176..179
src/components/ui/Icons.jsx on lines 181..186
src/components/ui/Icons.jsx on lines 194..199
src/components/ui/Icons.jsx on lines 201..206
src/components/ui/Icons.jsx on lines 213..218
src/components/ui/Icons.jsx on lines 220..225
src/components/ui/Icons.jsx on lines 227..232
src/components/ui/Icons.jsx on lines 234..239
src/components/ui/Icons.jsx on lines 241..246
src/components/ui/Icons.jsx on lines 248..253
src/components/ui/Icons.jsx on lines 265..269

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

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

export const IconCheck = ({ styling }) => <svg viewBox="0 0 20 20" fill="currentColor" style={styling}
    className={`check `}>
    <path fillRule="evenodd"
        d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z"
        clipRule="evenodd" />
Severity: Major
Found in src/components/ui/Icons.jsx and 22 other locations - About 2 hrs to fix
src/components/ui/Icons.jsx on lines 1..6
src/components/ui/Icons.jsx on lines 21..26
src/components/ui/Icons.jsx on lines 84..88
src/components/ui/Icons.jsx on lines 101..106
src/components/ui/Icons.jsx on lines 108..113
src/components/ui/Icons.jsx on lines 130..135
src/components/ui/Icons.jsx on lines 137..142
src/components/ui/Icons.jsx on lines 151..155
src/components/ui/Icons.jsx on lines 162..167
src/components/ui/Icons.jsx on lines 169..174
src/components/ui/Icons.jsx on lines 176..179
src/components/ui/Icons.jsx on lines 181..186
src/components/ui/Icons.jsx on lines 194..199
src/components/ui/Icons.jsx on lines 201..206
src/components/ui/Icons.jsx on lines 213..218
src/components/ui/Icons.jsx on lines 220..225
src/components/ui/Icons.jsx on lines 227..232
src/components/ui/Icons.jsx on lines 234..239
src/components/ui/Icons.jsx on lines 241..246
src/components/ui/Icons.jsx on lines 248..253
src/components/ui/Icons.jsx on lines 255..257
src/components/ui/Icons.jsx on lines 265..269

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

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

export const IconDocument = ({ styling }) => <svg viewBox="0 0 20 20" fill="currentColor" style={styling}
    className={`document `}>
    <path fillRule="evenodd"
        d="M4 4a2 2 0 012-2h4.586A2 2 0 0112 2.586L15.414 6A2 2 0 0116 7.414V16a2 2 0 01-2 2H6a2 2 0 01-2-2V4z"
        clipRule="evenodd" />
Severity: Major
Found in src/components/ui/Icons.jsx and 22 other locations - About 2 hrs to fix
src/components/ui/Icons.jsx on lines 1..6
src/components/ui/Icons.jsx on lines 21..26
src/components/ui/Icons.jsx on lines 55..60
src/components/ui/Icons.jsx on lines 84..88
src/components/ui/Icons.jsx on lines 101..106
src/components/ui/Icons.jsx on lines 130..135
src/components/ui/Icons.jsx on lines 137..142
src/components/ui/Icons.jsx on lines 151..155
src/components/ui/Icons.jsx on lines 162..167
src/components/ui/Icons.jsx on lines 169..174
src/components/ui/Icons.jsx on lines 176..179
src/components/ui/Icons.jsx on lines 181..186
src/components/ui/Icons.jsx on lines 194..199
src/components/ui/Icons.jsx on lines 201..206
src/components/ui/Icons.jsx on lines 213..218
src/components/ui/Icons.jsx on lines 220..225
src/components/ui/Icons.jsx on lines 227..232
src/components/ui/Icons.jsx on lines 234..239
src/components/ui/Icons.jsx on lines 241..246
src/components/ui/Icons.jsx on lines 248..253
src/components/ui/Icons.jsx on lines 255..257
src/components/ui/Icons.jsx on lines 265..269

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

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

export const IconShield = ({ styling }) => <svg viewBox="0 0 20 20" fill="currentColor" style={styling}
    className={`shield-check `}>
    <path fillRule="evenodd"
        d="M2.166 4.999A11.954 11.954 0 0010 1.944 11.954 11.954 0 0017.834 5c.11.65.166 1.32.166 2.001 0 5.225-3.34 9.67-8 11.317C5.34 16.67 2 12.225 2 7c0-.682.057-1.35.166-2.001zm11.541 3.708a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z"
        clipRule="evenodd" />
Severity: Major
Found in src/components/ui/Icons.jsx and 22 other locations - About 2 hrs to fix
src/components/ui/Icons.jsx on lines 1..6
src/components/ui/Icons.jsx on lines 21..26
src/components/ui/Icons.jsx on lines 55..60
src/components/ui/Icons.jsx on lines 84..88
src/components/ui/Icons.jsx on lines 101..106
src/components/ui/Icons.jsx on lines 108..113
src/components/ui/Icons.jsx on lines 130..135
src/components/ui/Icons.jsx on lines 137..142
src/components/ui/Icons.jsx on lines 151..155
src/components/ui/Icons.jsx on lines 162..167
src/components/ui/Icons.jsx on lines 169..174
src/components/ui/Icons.jsx on lines 176..179
src/components/ui/Icons.jsx on lines 181..186
src/components/ui/Icons.jsx on lines 194..199
src/components/ui/Icons.jsx on lines 201..206
src/components/ui/Icons.jsx on lines 213..218
src/components/ui/Icons.jsx on lines 220..225
src/components/ui/Icons.jsx on lines 234..239
src/components/ui/Icons.jsx on lines 241..246
src/components/ui/Icons.jsx on lines 248..253
src/components/ui/Icons.jsx on lines 255..257
src/components/ui/Icons.jsx on lines 265..269

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

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

export const IconRefresh = ({ styling }) => <svg viewBox="0 0 20 20" fill="currentColor" style={styling}
    className={`refresh `}>
    <path fillRule="evenodd"
        d="M4 2a1 1 0 011 1v2.101a7.002 7.002 0 0111.601 2.566 1 1 0 11-1.885.666A5.002 5.002 0 005.999 7H9a1 1 0 010 2H4a1 1 0 01-1-1V3a1 1 0 011-1zm.008 9.057a1 1 0 011.276.61A5.002 5.002 0 0014.001 13H11a1 1 0 110-2h5a1 1 0 011 1v5a1 1 0 11-2 0v-2.101a7.002 7.002 0 01-11.601-2.566 1 1 0 01.61-1.276z"
        clipRule="evenodd" />
Severity: Major
Found in src/components/ui/Icons.jsx and 22 other locations - About 2 hrs to fix
src/components/ui/Icons.jsx on lines 1..6
src/components/ui/Icons.jsx on lines 21..26
src/components/ui/Icons.jsx on lines 55..60
src/components/ui/Icons.jsx on lines 84..88
src/components/ui/Icons.jsx on lines 101..106
src/components/ui/Icons.jsx on lines 108..113
src/components/ui/Icons.jsx on lines 130..135
src/components/ui/Icons.jsx on lines 137..142
src/components/ui/Icons.jsx on lines 151..155
src/components/ui/Icons.jsx on lines 162..167
src/components/ui/Icons.jsx on lines 169..174
src/components/ui/Icons.jsx on lines 176..179
src/components/ui/Icons.jsx on lines 181..186
src/components/ui/Icons.jsx on lines 194..199
src/components/ui/Icons.jsx on lines 213..218
src/components/ui/Icons.jsx on lines 220..225
src/components/ui/Icons.jsx on lines 227..232
src/components/ui/Icons.jsx on lines 234..239
src/components/ui/Icons.jsx on lines 241..246
src/components/ui/Icons.jsx on lines 248..253
src/components/ui/Icons.jsx on lines 255..257
src/components/ui/Icons.jsx on lines 265..269

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

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

export const IconInformation = ({ styling }) => <svg viewBox="0 0 20 20" fill="currentColor" style={styling}
    className={`information-circle `}>
    <path fillRule="evenodd"
        d="M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a1 1 0 000 2v3a1 1 0 001 1h1a1 1 0 100-2v-3a1 1 0 00-1-1H9z"
        clipRule="evenodd" />
Severity: Major
Found in src/components/ui/Icons.jsx and 22 other locations - About 2 hrs to fix
src/components/ui/Icons.jsx on lines 1..6
src/components/ui/Icons.jsx on lines 21..26
src/components/ui/Icons.jsx on lines 55..60
src/components/ui/Icons.jsx on lines 84..88
src/components/ui/Icons.jsx on lines 101..106
src/components/ui/Icons.jsx on lines 108..113
src/components/ui/Icons.jsx on lines 130..135
src/components/ui/Icons.jsx on lines 137..142
src/components/ui/Icons.jsx on lines 151..155
src/components/ui/Icons.jsx on lines 162..167
src/components/ui/Icons.jsx on lines 176..179
src/components/ui/Icons.jsx on lines 181..186
src/components/ui/Icons.jsx on lines 194..199
src/components/ui/Icons.jsx on lines 201..206
src/components/ui/Icons.jsx on lines 213..218
src/components/ui/Icons.jsx on lines 220..225
src/components/ui/Icons.jsx on lines 227..232
src/components/ui/Icons.jsx on lines 234..239
src/components/ui/Icons.jsx on lines 241..246
src/components/ui/Icons.jsx on lines 248..253
src/components/ui/Icons.jsx on lines 255..257
src/components/ui/Icons.jsx on lines 265..269

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

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

export const IconExclamation = ({ styling }) => <svg viewBox="0 0 20 20" fill="currentColor" style={styling}
    className={`exclamation `}>
    <path fillRule="evenodd"
        d="M8.257 3.099c.765-1.36 2.722-1.36 3.486 0l5.58 9.92c.75 1.334-.213 2.98-1.742 2.98H4.42c-1.53 0-2.493-1.646-1.743-2.98l5.58-9.92zM11 13a1 1 0 11-2 0 1 1 0 012 0zm-1-8a1 1 0 00-1 1v3a1 1 0 002 0V6a1 1 0 00-1-1z"
        clipRule="evenodd" />
Severity: Major
Found in src/components/ui/Icons.jsx and 22 other locations - About 2 hrs to fix
src/components/ui/Icons.jsx on lines 1..6
src/components/ui/Icons.jsx on lines 21..26
src/components/ui/Icons.jsx on lines 55..60
src/components/ui/Icons.jsx on lines 84..88
src/components/ui/Icons.jsx on lines 101..106
src/components/ui/Icons.jsx on lines 108..113
src/components/ui/Icons.jsx on lines 137..142
src/components/ui/Icons.jsx on lines 151..155
src/components/ui/Icons.jsx on lines 162..167
src/components/ui/Icons.jsx on lines 169..174
src/components/ui/Icons.jsx on lines 176..179
src/components/ui/Icons.jsx on lines 181..186
src/components/ui/Icons.jsx on lines 194..199
src/components/ui/Icons.jsx on lines 201..206
src/components/ui/Icons.jsx on lines 213..218
src/components/ui/Icons.jsx on lines 220..225
src/components/ui/Icons.jsx on lines 227..232
src/components/ui/Icons.jsx on lines 234..239
src/components/ui/Icons.jsx on lines 241..246
src/components/ui/Icons.jsx on lines 248..253
src/components/ui/Icons.jsx on lines 255..257
src/components/ui/Icons.jsx on lines 265..269

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

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

export const IconTerminal = ({ styling }) => <svg viewBox="0 0 20 20" fill="currentColor" style={styling}
    className={`terminal `}>
    <path fillRule="evenodd"
        d="M2 5a2 2 0 012-2h12a2 2 0 012 2v10a2 2 0 01-2 2H4a2 2 0 01-2-2V5zm3.293 1.293a1 1 0 011.414 0l3 3a1 1 0 010 1.414l-3 3a1 1 0 01-1.414-1.414L7.586 10 5.293 7.707a1 1 0 010-1.414zM11 12a1 1 0 100 2h3a1 1 0 100-2h-3z"
        clipRule="evenodd" />
Severity: Major
Found in src/components/ui/Icons.jsx and 22 other locations - About 2 hrs to fix
src/components/ui/Icons.jsx on lines 1..6
src/components/ui/Icons.jsx on lines 21..26
src/components/ui/Icons.jsx on lines 55..60
src/components/ui/Icons.jsx on lines 84..88
src/components/ui/Icons.jsx on lines 101..106
src/components/ui/Icons.jsx on lines 108..113
src/components/ui/Icons.jsx on lines 130..135
src/components/ui/Icons.jsx on lines 137..142
src/components/ui/Icons.jsx on lines 151..155
src/components/ui/Icons.jsx on lines 162..167
src/components/ui/Icons.jsx on lines 169..174
src/components/ui/Icons.jsx on lines 176..179
src/components/ui/Icons.jsx on lines 181..186
src/components/ui/Icons.jsx on lines 194..199
src/components/ui/Icons.jsx on lines 201..206
src/components/ui/Icons.jsx on lines 213..218
src/components/ui/Icons.jsx on lines 220..225
src/components/ui/Icons.jsx on lines 227..232
src/components/ui/Icons.jsx on lines 234..239
src/components/ui/Icons.jsx on lines 248..253
src/components/ui/Icons.jsx on lines 255..257
src/components/ui/Icons.jsx on lines 265..269

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

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

export const IconDownloadDocument = ({ styling }) => <svg viewBox="0 0 20 20" fill="currentColor" style={styling}
    className={`document-download`}>
    <path fillRule="evenodd"
        d="M6 2a2 2 0 00-2 2v12a2 2 0 002 2h8a2 2 0 002-2V7.414A2 2 0 0015.414 6L12 2.586A2 2 0 0010.586 2H6zm5 6a1 1 0 10-2 0v3.586l-1.293-1.293a1 1 0 10-1.414 1.414l3 3a1 1 0 001.414 0l3-3a1 1 0 00-1.414-1.414L11 11.586V8z"
        clipRule="evenodd" />
Severity: Major
Found in src/components/ui/Icons.jsx and 22 other locations - About 2 hrs to fix
src/components/ui/Icons.jsx on lines 21..26
src/components/ui/Icons.jsx on lines 55..60
src/components/ui/Icons.jsx on lines 84..88
src/components/ui/Icons.jsx on lines 101..106
src/components/ui/Icons.jsx on lines 108..113
src/components/ui/Icons.jsx on lines 130..135
src/components/ui/Icons.jsx on lines 137..142
src/components/ui/Icons.jsx on lines 151..155
src/components/ui/Icons.jsx on lines 162..167
src/components/ui/Icons.jsx on lines 169..174
src/components/ui/Icons.jsx on lines 176..179
src/components/ui/Icons.jsx on lines 181..186
src/components/ui/Icons.jsx on lines 194..199
src/components/ui/Icons.jsx on lines 201..206
src/components/ui/Icons.jsx on lines 213..218
src/components/ui/Icons.jsx on lines 220..225
src/components/ui/Icons.jsx on lines 227..232
src/components/ui/Icons.jsx on lines 234..239
src/components/ui/Icons.jsx on lines 241..246
src/components/ui/Icons.jsx on lines 248..253
src/components/ui/Icons.jsx on lines 255..257
src/components/ui/Icons.jsx on lines 265..269

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

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

export const IconPlus = ({ styling }) => <svg viewBox="0 0 20 20" fill="currentColor" style={styling} className={`plus `}>
    <path fillRule="evenodd" d="M10 5a1 1 0 011 1v3h3a1 1 0 110 2h-3v3a1 1 0 11-2 0v-3H6a1 1 0 110-2h3V6a1 1 0 011-1z"
        clipRule="evenodd" />
</svg>
Severity: Major
Found in src/components/ui/Icons.jsx and 22 other locations - About 2 hrs to fix
src/components/ui/Icons.jsx on lines 1..6
src/components/ui/Icons.jsx on lines 21..26
src/components/ui/Icons.jsx on lines 55..60
src/components/ui/Icons.jsx on lines 84..88
src/components/ui/Icons.jsx on lines 101..106
src/components/ui/Icons.jsx on lines 108..113
src/components/ui/Icons.jsx on lines 130..135
src/components/ui/Icons.jsx on lines 137..142
src/components/ui/Icons.jsx on lines 151..155
src/components/ui/Icons.jsx on lines 162..167
src/components/ui/Icons.jsx on lines 169..174
src/components/ui/Icons.jsx on lines 181..186
src/components/ui/Icons.jsx on lines 194..199
src/components/ui/Icons.jsx on lines 201..206
src/components/ui/Icons.jsx on lines 213..218
src/components/ui/Icons.jsx on lines 220..225
src/components/ui/Icons.jsx on lines 227..232
src/components/ui/Icons.jsx on lines 234..239
src/components/ui/Icons.jsx on lines 241..246
src/components/ui/Icons.jsx on lines 248..253
src/components/ui/Icons.jsx on lines 255..257
src/components/ui/Icons.jsx on lines 265..269

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

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

export const IconPlusCircle = ({ styling }) => <svg viewBox="0 0 20 20" fill="currentColor" style={styling}
    className={`plus-circle `}>
    <path fillRule="evenodd"
        d="M10 18a8 8 0 100-16 8 8 0 000 16zm1-11a1 1 0 10-2 0v2H7a1 1 0 100 2h2v2a1 1 0 102 0v-2h2a1 1 0 100-2h-2V7z"
        clipRule="evenodd" />
Severity: Major
Found in src/components/ui/Icons.jsx and 22 other locations - About 2 hrs to fix
src/components/ui/Icons.jsx on lines 1..6
src/components/ui/Icons.jsx on lines 21..26
src/components/ui/Icons.jsx on lines 55..60
src/components/ui/Icons.jsx on lines 84..88
src/components/ui/Icons.jsx on lines 101..106
src/components/ui/Icons.jsx on lines 108..113
src/components/ui/Icons.jsx on lines 130..135
src/components/ui/Icons.jsx on lines 137..142
src/components/ui/Icons.jsx on lines 151..155
src/components/ui/Icons.jsx on lines 162..167
src/components/ui/Icons.jsx on lines 169..174
src/components/ui/Icons.jsx on lines 176..179
src/components/ui/Icons.jsx on lines 194..199
src/components/ui/Icons.jsx on lines 201..206
src/components/ui/Icons.jsx on lines 213..218
src/components/ui/Icons.jsx on lines 220..225
src/components/ui/Icons.jsx on lines 227..232
src/components/ui/Icons.jsx on lines 234..239
src/components/ui/Icons.jsx on lines 241..246
src/components/ui/Icons.jsx on lines 248..253
src/components/ui/Icons.jsx on lines 255..257
src/components/ui/Icons.jsx on lines 265..269

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

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

export const IconSearch = ({ styling }) => <svg viewBox="0 0 20 20" fill="currentColor" style={styling}
    className={`search `}>
    <path fillRule="evenodd"
        d="M8 4a4 4 0 100 8 4 4 0 000-8zM2 8a6 6 0 1110.89 3.476l4.817 4.817a1 1 0 01-1.414 1.414l-4.816-4.816A6 6 0 012 8z"
        clipRule="evenodd" />
Severity: Major
Found in src/components/ui/Icons.jsx and 22 other locations - About 2 hrs to fix
src/components/ui/Icons.jsx on lines 1..6
src/components/ui/Icons.jsx on lines 21..26
src/components/ui/Icons.jsx on lines 55..60
src/components/ui/Icons.jsx on lines 84..88
src/components/ui/Icons.jsx on lines 101..106
src/components/ui/Icons.jsx on lines 108..113
src/components/ui/Icons.jsx on lines 130..135
src/components/ui/Icons.jsx on lines 137..142
src/components/ui/Icons.jsx on lines 151..155
src/components/ui/Icons.jsx on lines 162..167
src/components/ui/Icons.jsx on lines 169..174
src/components/ui/Icons.jsx on lines 176..179
src/components/ui/Icons.jsx on lines 181..186
src/components/ui/Icons.jsx on lines 194..199
src/components/ui/Icons.jsx on lines 201..206
src/components/ui/Icons.jsx on lines 220..225
src/components/ui/Icons.jsx on lines 227..232
src/components/ui/Icons.jsx on lines 234..239
src/components/ui/Icons.jsx on lines 241..246
src/components/ui/Icons.jsx on lines 248..253
src/components/ui/Icons.jsx on lines 255..257
src/components/ui/Icons.jsx on lines 265..269

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

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

export const IconLeft = ({ styling }) => <svg viewBox="0 0 20 20" fill="currentColor" style={styling}
    className={`arrow-left `}>
    <path fillRule="evenodd"
        d="M9.707 16.707a1 1 0 01-1.414 0l-6-6a1 1 0 010-1.414l6-6a1 1 0 011.414 1.414L5.414 9H17a1 1 0 110 2H5.414l4.293 4.293a1 1 0 010 1.414z"
        clipRule="evenodd" />
Severity: Major
Found in src/components/ui/Icons.jsx and 22 other locations - About 2 hrs to fix
src/components/ui/Icons.jsx on lines 1..6
src/components/ui/Icons.jsx on lines 55..60
src/components/ui/Icons.jsx on lines 84..88
src/components/ui/Icons.jsx on lines 101..106
src/components/ui/Icons.jsx on lines 108..113
src/components/ui/Icons.jsx on lines 130..135
src/components/ui/Icons.jsx on lines 137..142
src/components/ui/Icons.jsx on lines 151..155
src/components/ui/Icons.jsx on lines 162..167
src/components/ui/Icons.jsx on lines 169..174
src/components/ui/Icons.jsx on lines 176..179
src/components/ui/Icons.jsx on lines 181..186
src/components/ui/Icons.jsx on lines 194..199
src/components/ui/Icons.jsx on lines 201..206
src/components/ui/Icons.jsx on lines 213..218
src/components/ui/Icons.jsx on lines 220..225
src/components/ui/Icons.jsx on lines 227..232
src/components/ui/Icons.jsx on lines 234..239
src/components/ui/Icons.jsx on lines 241..246
src/components/ui/Icons.jsx on lines 248..253
src/components/ui/Icons.jsx on lines 255..257
src/components/ui/Icons.jsx on lines 265..269

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

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

export const IconExclamationCircle = ({ styling }) => <svg viewBox="0 0 20 20" fill="currentColor" style={styling}
    className={`exclamation-circle `}>
    <path fillRule="evenodd"
        d="M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7 4a1 1 0 11-2 0 1 1 0 012 0zm-1-9a1 1 0 00-1 1v4a1 1 0 102 0V6a1 1 0 00-1-1z"
        clipRule="evenodd" />
Severity: Major
Found in src/components/ui/Icons.jsx and 22 other locations - About 2 hrs to fix
src/components/ui/Icons.jsx on lines 1..6
src/components/ui/Icons.jsx on lines 21..26
src/components/ui/Icons.jsx on lines 55..60
src/components/ui/Icons.jsx on lines 84..88
src/components/ui/Icons.jsx on lines 101..106
src/components/ui/Icons.jsx on lines 108..113
src/components/ui/Icons.jsx on lines 130..135
src/components/ui/Icons.jsx on lines 151..155
src/components/ui/Icons.jsx on lines 162..167
src/components/ui/Icons.jsx on lines 169..174
src/components/ui/Icons.jsx on lines 176..179
src/components/ui/Icons.jsx on lines 181..186
src/components/ui/Icons.jsx on lines 194..199
src/components/ui/Icons.jsx on lines 201..206
src/components/ui/Icons.jsx on lines 213..218
src/components/ui/Icons.jsx on lines 220..225
src/components/ui/Icons.jsx on lines 227..232
src/components/ui/Icons.jsx on lines 234..239
src/components/ui/Icons.jsx on lines 241..246
src/components/ui/Icons.jsx on lines 248..253
src/components/ui/Icons.jsx on lines 255..257
src/components/ui/Icons.jsx on lines 265..269

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

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

export const IconSave = ({ styling }) => <svg viewBox="0 0 20 20" fill="currentColor" style={styling} className={`save `}>
    <path
        d="M7.707 10.293a1 1 0 10-1.414 1.414l3 3a1 1 0 001.414 0l3-3a1 1 0 00-1.414-1.414L11 11.586V6h5a2 2 0 012 2v7a2 2 0 01-2 2H4a2 2 0 01-2-2V8a2 2 0 012-2h5v5.586l-1.293-1.293zM9 4a1 1 0 012 0v2H9V4z" />
</svg>
Severity: Major
Found in src/components/ui/Icons.jsx and 9 other locations - About 1 hr to fix
src/components/ui/Icons.jsx on lines 15..19
src/components/ui/Icons.jsx on lines 35..39
src/components/ui/Icons.jsx on lines 49..53
src/components/ui/Icons.jsx on lines 90..94
src/components/ui/Icons.jsx on lines 96..99
src/components/ui/Icons.jsx on lines 157..160
src/components/ui/Icons.jsx on lines 188..192
src/components/ui/Icons.jsx on lines 259..263
src/components/ui/Icons.jsx on lines 271..275

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

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

export const IconPreferences = ({ styling }) => <svg viewBox="0 0 20 20" fill="currentColor" style={styling}
    className={`adjustments `}>
    <path
        d="M5 4a1 1 0 00-2 0v7.268a2 2 0 000 3.464V16a1 1 0 102 0v-1.268a2 2 0 000-3.464V4zM11 4a1 1 0 10-2 0v1.268a2 2 0 000 3.464V16a1 1 0 102 0V8.732a2 2 0 000-3.464V4zM16 3a1 1 0 011 1v7.268a2 2 0 010 3.464V16a1 1 0 11-2 0v-1.268a2 2 0 010-3.464V4a1 1 0 011-1z" />
</svg>
Severity: Major
Found in src/components/ui/Icons.jsx and 9 other locations - About 1 hr to fix
src/components/ui/Icons.jsx on lines 35..39
src/components/ui/Icons.jsx on lines 49..53
src/components/ui/Icons.jsx on lines 90..94
src/components/ui/Icons.jsx on lines 96..99
src/components/ui/Icons.jsx on lines 157..160
src/components/ui/Icons.jsx on lines 188..192
src/components/ui/Icons.jsx on lines 208..211
src/components/ui/Icons.jsx on lines 259..263
src/components/ui/Icons.jsx on lines 271..275

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

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

export const IconExtensions = ({ styling }) => <svg viewBox="0 0 20 20" fill="currentColor" style={styling}
    className={`puzzle `}>
    <path
        d="M10 3.5a1.5 1.5 0 013 0V4a1 1 0 001 1h3a1 1 0 011 1v3a1 1 0 01-1 1h-.5a1.5 1.5 0 000 3h.5a1 1 0 011 1v3a1 1 0 01-1 1h-3a1 1 0 01-1-1v-.5a1.5 1.5 0 00-3 0v.5a1 1 0 01-1 1H6a1 1 0 01-1-1v-3a1 1 0 00-1-1h-.5a1.5 1.5 0 010-3H4a1 1 0 001-1V6a1 1 0 011-1h3a1 1 0 001-1v-.5z" />
</svg>
Severity: Major
Found in src/components/ui/Icons.jsx and 9 other locations - About 1 hr to fix
src/components/ui/Icons.jsx on lines 15..19
src/components/ui/Icons.jsx on lines 35..39
src/components/ui/Icons.jsx on lines 49..53
src/components/ui/Icons.jsx on lines 90..94
src/components/ui/Icons.jsx on lines 96..99
src/components/ui/Icons.jsx on lines 157..160
src/components/ui/Icons.jsx on lines 208..211
src/components/ui/Icons.jsx on lines 259..263
src/components/ui/Icons.jsx on lines 271..275

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

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

export const IconChartBar = ({ styling }) => <svg viewBox="0 0 20 20" fill="currentColor" style={styling}
    className={`chart-bar `}>
    <path
        d="M2 11a1 1 0 011-1h2a1 1 0 011 1v5a1 1 0 01-1 1H3a1 1 0 01-1-1v-5zM8 7a1 1 0 011-1h2a1 1 0 011 1v9a1 1 0 01-1 1H9a1 1 0 01-1-1V7zM14 4a1 1 0 011-1h2a1 1 0 011 1v12a1 1 0 01-1 1h-2a1 1 0 01-1-1V4z" />
</svg>
Severity: Major
Found in src/components/ui/Icons.jsx and 9 other locations - About 1 hr to fix
src/components/ui/Icons.jsx on lines 15..19
src/components/ui/Icons.jsx on lines 35..39
src/components/ui/Icons.jsx on lines 90..94
src/components/ui/Icons.jsx on lines 96..99
src/components/ui/Icons.jsx on lines 157..160
src/components/ui/Icons.jsx on lines 188..192
src/components/ui/Icons.jsx on lines 208..211
src/components/ui/Icons.jsx on lines 259..263
src/components/ui/Icons.jsx on lines 271..275

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

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

export const IconUserGroup = ({ styling }) => <svg viewBox="0 0 20 20" fill="currentColor" style={styling}
    className={`user-group `}>
    <path
        d="M13 6a3 3 0 11-6 0 3 3 0 016 0zM18 8a2 2 0 11-4 0 2 2 0 014 0zM14 15a4 4 0 00-8 0v3h8v-3zM6 8a2 2 0 11-4 0 2 2 0 014 0zM16 18v-3a5.972 5.972 0 00-.75-2.906A3.005 3.005 0 0119 15v3h-3zM4.75 12.094A5.973 5.973 0 004 15v3H1v-3a3 3 0 013.75-2.906z" />
</svg>
Severity: Major
Found in src/components/ui/Icons.jsx and 9 other locations - About 1 hr to fix
src/components/ui/Icons.jsx on lines 15..19
src/components/ui/Icons.jsx on lines 35..39
src/components/ui/Icons.jsx on lines 49..53
src/components/ui/Icons.jsx on lines 90..94
src/components/ui/Icons.jsx on lines 96..99
src/components/ui/Icons.jsx on lines 157..160
src/components/ui/Icons.jsx on lines 188..192
src/components/ui/Icons.jsx on lines 208..211
src/components/ui/Icons.jsx on lines 271..275

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

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

export const IconBookOpen = ({ styling }) => <svg viewBox="0 0 20 20" fill="currentColor" style={styling}
    className={`book-open `}>
    <path
        d="M9 4.804A7.968 7.968 0 005.5 4c-1.255 0-2.443.29-3.5.804v10A7.969 7.969 0 015.5 14c1.669 0 3.218.51 4.5 1.385A7.962 7.962 0 0114.5 14c1.255 0 2.443.29 3.5.804v-10A7.968 7.968 0 0014.5 4c-1.255 0-2.443.29-3.5.804V12a1 1 0 11-2 0V4.804z" />
</svg>
Severity: Major
Found in src/components/ui/Icons.jsx and 9 other locations - About 1 hr to fix
src/components/ui/Icons.jsx on lines 15..19
src/components/ui/Icons.jsx on lines 49..53
src/components/ui/Icons.jsx on lines 90..94
src/components/ui/Icons.jsx on lines 96..99
src/components/ui/Icons.jsx on lines 157..160
src/components/ui/Icons.jsx on lines 188..192
src/components/ui/Icons.jsx on lines 208..211
src/components/ui/Icons.jsx on lines 259..263
src/components/ui/Icons.jsx on lines 271..275

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

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

export const IconCube = ({ styling }) => <svg viewBox="0 0 20 20" fill="currentColor" style={styling} className={`cube `}>
    <path
        d="M11 17a1 1 0 001.447.894l4-2A1 1 0 0017 15V9.236a1 1 0 00-1.447-.894l-4 2a1 1 0 00-.553.894V17zM15.211 6.276a1 1 0 000-1.788l-4.764-2.382a1 1 0 00-.894 0L4.789 4.488a1 1 0 000 1.788l4.764 2.382a1 1 0 00.894 0l4.764-2.382zM4.447 8.342A1 1 0 003 9.236V15a1 1 0 00.553.894l4 2A1 1 0 009 17v-5.764a1 1 0 00-.553-.894l-4-2z" />
</svg>
Severity: Major
Found in src/components/ui/Icons.jsx and 9 other locations - About 1 hr to fix
src/components/ui/Icons.jsx on lines 15..19
src/components/ui/Icons.jsx on lines 35..39
src/components/ui/Icons.jsx on lines 49..53
src/components/ui/Icons.jsx on lines 90..94
src/components/ui/Icons.jsx on lines 157..160
src/components/ui/Icons.jsx on lines 188..192
src/components/ui/Icons.jsx on lines 208..211
src/components/ui/Icons.jsx on lines 259..263
src/components/ui/Icons.jsx on lines 271..275

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

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

export const IconDashboard = ({ styling }) => <svg viewBox="0 0 20 20" fill="currentColor" style={styling}
    className={`template `}>
    <path
        d="M3 4a1 1 0 011-1h12a1 1 0 011 1v2a1 1 0 01-1 1H4a1 1 0 01-1-1V4zM3 10a1 1 0 011-1h6a1 1 0 011 1v6a1 1 0 01-1 1H4a1 1 0 01-1-1v-6zM14 9a1 1 0 00-1 1v6a1 1 0 001 1h2a1 1 0 001-1v-6a1 1 0 00-1-1h-2z" />
</svg>
Severity: Major
Found in src/components/ui/Icons.jsx and 9 other locations - About 1 hr to fix
src/components/ui/Icons.jsx on lines 15..19
src/components/ui/Icons.jsx on lines 35..39
src/components/ui/Icons.jsx on lines 49..53
src/components/ui/Icons.jsx on lines 90..94
src/components/ui/Icons.jsx on lines 96..99
src/components/ui/Icons.jsx on lines 157..160
src/components/ui/Icons.jsx on lines 188..192
src/components/ui/Icons.jsx on lines 208..211
src/components/ui/Icons.jsx on lines 259..263

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

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

export const IconCollection = ({ styling }) => <svg viewBox="0 0 20 20" fill="currentColor" style={styling}
    className={`collection `}>
    <path
        d="M7 3a1 1 0 000 2h6a1 1 0 100-2H7zM4 7a1 1 0 011-1h10a1 1 0 110 2H5a1 1 0 01-1-1zM2 11a2 2 0 012-2h12a2 2 0 012 2v4a2 2 0 01-2 2H4a2 2 0 01-2-2v-4z" />
</svg>
Severity: Major
Found in src/components/ui/Icons.jsx and 9 other locations - About 1 hr to fix
src/components/ui/Icons.jsx on lines 15..19
src/components/ui/Icons.jsx on lines 35..39
src/components/ui/Icons.jsx on lines 49..53
src/components/ui/Icons.jsx on lines 96..99
src/components/ui/Icons.jsx on lines 157..160
src/components/ui/Icons.jsx on lines 188..192
src/components/ui/Icons.jsx on lines 208..211
src/components/ui/Icons.jsx on lines 259..263
src/components/ui/Icons.jsx on lines 271..275

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

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

export const IconFolder = ({ styling }) => <svg viewBox="0 0 20 20" fill="currentColor" style={styling}
    className={`folder `}>
    <path d="M2 6a2 2 0 012-2h5l2 2h5a2 2 0 012 2v6a2 2 0 01-2 2H4a2 2 0 01-2-2V6z" />
</svg>
Severity: Major
Found in src/components/ui/Icons.jsx and 9 other locations - About 1 hr to fix
src/components/ui/Icons.jsx on lines 15..19
src/components/ui/Icons.jsx on lines 35..39
src/components/ui/Icons.jsx on lines 49..53
src/components/ui/Icons.jsx on lines 90..94
src/components/ui/Icons.jsx on lines 96..99
src/components/ui/Icons.jsx on lines 188..192
src/components/ui/Icons.jsx on lines 208..211
src/components/ui/Icons.jsx on lines 259..263
src/components/ui/Icons.jsx on lines 271..275

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

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