fabasoad/business-card

View on GitHub
src/components/Portfolio/PortfolioMain.tsx

Summary

Maintainability
C
1 day
Test Coverage
A
100%

Function PortfolioMain has 129 lines of code (exceeds 25 allowed). Consider refactoring.
Wontfix

export default function PortfolioMain() {
  const { t } = useTranslation()
  return (
    <div id="portfolio">
      <Container>
Severity: Major
Found in src/components/Portfolio/PortfolioMain.tsx - About 5 hrs to fix

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

              <PortfolioItem
                url="https://admhelp.microfocus.com/alm/en/12.60/online_help/Content/lm_ag.htm"
                name="Lab Management"
                title={t('business-card-portfolio-alm-lab-management-title')}
                subtitle={t('business-card-portfolio-alm-lab-management-subtitle')}
    Severity: Major
    Found in src/components/Portfolio/PortfolioMain.tsx and 16 other locations - About 35 mins to fix
    src/components/Portfolio/PortfolioMain.tsx on lines 32..38
    src/components/Portfolio/PortfolioMain.tsx on lines 39..45
    src/components/Portfolio/PortfolioMain.tsx on lines 46..52
    src/components/Portfolio/PortfolioMain.tsx on lines 53..59
    src/components/Portfolio/PortfolioMain.tsx on lines 60..66
    src/components/Portfolio/PortfolioMain.tsx on lines 67..73
    src/components/Portfolio/PortfolioMain.tsx on lines 74..80
    src/components/Portfolio/PortfolioMain.tsx on lines 81..87
    src/components/Portfolio/PortfolioMain.tsx on lines 88..94
    src/components/Portfolio/PortfolioMain.tsx on lines 102..108
    src/components/Portfolio/PortfolioMain.tsx on lines 109..115
    src/components/Portfolio/PortfolioMain.tsx on lines 116..122
    src/components/Portfolio/PortfolioMain.tsx on lines 123..129
    src/components/Portfolio/PortfolioMain.tsx on lines 130..136
    src/components/Portfolio/PortfolioMain.tsx on lines 137..143
    src/components/Portfolio/PortfolioMain.tsx on lines 144..150

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 46.

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

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

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

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

    Refactorings

    Further Reading

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

              <PortfolioItem
                url="https://games.bitcoin.com/android"
                name="Games Android"
                title={t('business-card-portfolio-casino-android-app-title')}
                subtitle={t('business-card-portfolio-casino-android-app-subtitle')}
    Severity: Major
    Found in src/components/Portfolio/PortfolioMain.tsx and 16 other locations - About 35 mins to fix
    src/components/Portfolio/PortfolioMain.tsx on lines 32..38
    src/components/Portfolio/PortfolioMain.tsx on lines 39..45
    src/components/Portfolio/PortfolioMain.tsx on lines 46..52
    src/components/Portfolio/PortfolioMain.tsx on lines 60..66
    src/components/Portfolio/PortfolioMain.tsx on lines 67..73
    src/components/Portfolio/PortfolioMain.tsx on lines 74..80
    src/components/Portfolio/PortfolioMain.tsx on lines 81..87
    src/components/Portfolio/PortfolioMain.tsx on lines 88..94
    src/components/Portfolio/PortfolioMain.tsx on lines 95..101
    src/components/Portfolio/PortfolioMain.tsx on lines 102..108
    src/components/Portfolio/PortfolioMain.tsx on lines 109..115
    src/components/Portfolio/PortfolioMain.tsx on lines 116..122
    src/components/Portfolio/PortfolioMain.tsx on lines 123..129
    src/components/Portfolio/PortfolioMain.tsx on lines 130..136
    src/components/Portfolio/PortfolioMain.tsx on lines 137..143
    src/components/Portfolio/PortfolioMain.tsx on lines 144..150

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 46.

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

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

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

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

    Refactorings

    Further Reading

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

              <PortfolioItem
                url="https://admhelp.microfocus.com/alm/en/12.60/online_help/Content/Admin/sa_robot_toc.htm"
                name="ALM Robot"
                title={t('business-card-portfolio-alm-robot-title')}
                subtitle={t('business-card-portfolio-alm-robot-subtitle')}
    Severity: Major
    Found in src/components/Portfolio/PortfolioMain.tsx and 16 other locations - About 35 mins to fix
    src/components/Portfolio/PortfolioMain.tsx on lines 32..38
    src/components/Portfolio/PortfolioMain.tsx on lines 39..45
    src/components/Portfolio/PortfolioMain.tsx on lines 46..52
    src/components/Portfolio/PortfolioMain.tsx on lines 53..59
    src/components/Portfolio/PortfolioMain.tsx on lines 60..66
    src/components/Portfolio/PortfolioMain.tsx on lines 67..73
    src/components/Portfolio/PortfolioMain.tsx on lines 74..80
    src/components/Portfolio/PortfolioMain.tsx on lines 88..94
    src/components/Portfolio/PortfolioMain.tsx on lines 95..101
    src/components/Portfolio/PortfolioMain.tsx on lines 102..108
    src/components/Portfolio/PortfolioMain.tsx on lines 109..115
    src/components/Portfolio/PortfolioMain.tsx on lines 116..122
    src/components/Portfolio/PortfolioMain.tsx on lines 123..129
    src/components/Portfolio/PortfolioMain.tsx on lines 130..136
    src/components/Portfolio/PortfolioMain.tsx on lines 137..143
    src/components/Portfolio/PortfolioMain.tsx on lines 144..150

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 46.

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

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

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

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

    Refactorings

    Further Reading

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

              <PortfolioItem
                url="https://youtu.be/eRxTKZ0knsg"
                name="Work+"
                title={t('business-card-portfolio-work-plus-title')}
                subtitle={t('business-card-portfolio-work-plus-subtitle')}
    Severity: Major
    Found in src/components/Portfolio/PortfolioMain.tsx and 16 other locations - About 35 mins to fix
    src/components/Portfolio/PortfolioMain.tsx on lines 32..38
    src/components/Portfolio/PortfolioMain.tsx on lines 39..45
    src/components/Portfolio/PortfolioMain.tsx on lines 46..52
    src/components/Portfolio/PortfolioMain.tsx on lines 53..59
    src/components/Portfolio/PortfolioMain.tsx on lines 60..66
    src/components/Portfolio/PortfolioMain.tsx on lines 67..73
    src/components/Portfolio/PortfolioMain.tsx on lines 74..80
    src/components/Portfolio/PortfolioMain.tsx on lines 81..87
    src/components/Portfolio/PortfolioMain.tsx on lines 88..94
    src/components/Portfolio/PortfolioMain.tsx on lines 95..101
    src/components/Portfolio/PortfolioMain.tsx on lines 102..108
    src/components/Portfolio/PortfolioMain.tsx on lines 116..122
    src/components/Portfolio/PortfolioMain.tsx on lines 123..129
    src/components/Portfolio/PortfolioMain.tsx on lines 130..136
    src/components/Portfolio/PortfolioMain.tsx on lines 137..143
    src/components/Portfolio/PortfolioMain.tsx on lines 144..150

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 46.

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

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

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

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

    Refactorings

    Further Reading

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

              <PortfolioItem
                url="https://games.bitcoin.com/"
                name="Games"
                title={t('business-card-portfolio-casino-web-app-title')}
                subtitle={t('business-card-portfolio-casino-web-app-subtitle')}
    Severity: Major
    Found in src/components/Portfolio/PortfolioMain.tsx and 16 other locations - About 35 mins to fix
    src/components/Portfolio/PortfolioMain.tsx on lines 32..38
    src/components/Portfolio/PortfolioMain.tsx on lines 46..52
    src/components/Portfolio/PortfolioMain.tsx on lines 53..59
    src/components/Portfolio/PortfolioMain.tsx on lines 60..66
    src/components/Portfolio/PortfolioMain.tsx on lines 67..73
    src/components/Portfolio/PortfolioMain.tsx on lines 74..80
    src/components/Portfolio/PortfolioMain.tsx on lines 81..87
    src/components/Portfolio/PortfolioMain.tsx on lines 88..94
    src/components/Portfolio/PortfolioMain.tsx on lines 95..101
    src/components/Portfolio/PortfolioMain.tsx on lines 102..108
    src/components/Portfolio/PortfolioMain.tsx on lines 109..115
    src/components/Portfolio/PortfolioMain.tsx on lines 116..122
    src/components/Portfolio/PortfolioMain.tsx on lines 123..129
    src/components/Portfolio/PortfolioMain.tsx on lines 130..136
    src/components/Portfolio/PortfolioMain.tsx on lines 137..143
    src/components/Portfolio/PortfolioMain.tsx on lines 144..150

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 46.

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

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

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

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

    Refactorings

    Further Reading

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

              <PortfolioItem
                url="https://www.earnin.com/"
                name="Earnin"
                title={t('business-card-portfolio-earnin-title')}
                subtitle={t('business-card-portfolio-earnin-subtitle')}
    Severity: Major
    Found in src/components/Portfolio/PortfolioMain.tsx and 16 other locations - About 35 mins to fix
    src/components/Portfolio/PortfolioMain.tsx on lines 32..38
    src/components/Portfolio/PortfolioMain.tsx on lines 39..45
    src/components/Portfolio/PortfolioMain.tsx on lines 46..52
    src/components/Portfolio/PortfolioMain.tsx on lines 53..59
    src/components/Portfolio/PortfolioMain.tsx on lines 67..73
    src/components/Portfolio/PortfolioMain.tsx on lines 74..80
    src/components/Portfolio/PortfolioMain.tsx on lines 81..87
    src/components/Portfolio/PortfolioMain.tsx on lines 88..94
    src/components/Portfolio/PortfolioMain.tsx on lines 95..101
    src/components/Portfolio/PortfolioMain.tsx on lines 102..108
    src/components/Portfolio/PortfolioMain.tsx on lines 109..115
    src/components/Portfolio/PortfolioMain.tsx on lines 116..122
    src/components/Portfolio/PortfolioMain.tsx on lines 123..129
    src/components/Portfolio/PortfolioMain.tsx on lines 130..136
    src/components/Portfolio/PortfolioMain.tsx on lines 137..143
    src/components/Portfolio/PortfolioMain.tsx on lines 144..150

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 46.

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

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

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

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

    Refactorings

    Further Reading

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

              <PortfolioItem
                url="https://www.microfocus.com/en-us/products/application-lifecycle-management/overview"
                name="ALM"
                title={t('business-card-portfolio-alm-title')}
                subtitle={t('business-card-portfolio-alm-subtitle')}
    Severity: Major
    Found in src/components/Portfolio/PortfolioMain.tsx and 16 other locations - About 35 mins to fix
    src/components/Portfolio/PortfolioMain.tsx on lines 32..38
    src/components/Portfolio/PortfolioMain.tsx on lines 39..45
    src/components/Portfolio/PortfolioMain.tsx on lines 46..52
    src/components/Portfolio/PortfolioMain.tsx on lines 53..59
    src/components/Portfolio/PortfolioMain.tsx on lines 60..66
    src/components/Portfolio/PortfolioMain.tsx on lines 67..73
    src/components/Portfolio/PortfolioMain.tsx on lines 74..80
    src/components/Portfolio/PortfolioMain.tsx on lines 81..87
    src/components/Portfolio/PortfolioMain.tsx on lines 95..101
    src/components/Portfolio/PortfolioMain.tsx on lines 102..108
    src/components/Portfolio/PortfolioMain.tsx on lines 109..115
    src/components/Portfolio/PortfolioMain.tsx on lines 116..122
    src/components/Portfolio/PortfolioMain.tsx on lines 123..129
    src/components/Portfolio/PortfolioMain.tsx on lines 130..136
    src/components/Portfolio/PortfolioMain.tsx on lines 137..143
    src/components/Portfolio/PortfolioMain.tsx on lines 144..150

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 46.

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

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

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

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

    Refactorings

    Further Reading

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

              <PortfolioItem
                url="https://games.bitcoin.com/"
                name="Games Admin"
                title={t('business-card-portfolio-casino-admin-web-app-title')}
                subtitle={t('business-card-portfolio-casino-admin-web-app-subtitle')}
    Severity: Major
    Found in src/components/Portfolio/PortfolioMain.tsx and 16 other locations - About 35 mins to fix
    src/components/Portfolio/PortfolioMain.tsx on lines 32..38
    src/components/Portfolio/PortfolioMain.tsx on lines 39..45
    src/components/Portfolio/PortfolioMain.tsx on lines 53..59
    src/components/Portfolio/PortfolioMain.tsx on lines 60..66
    src/components/Portfolio/PortfolioMain.tsx on lines 67..73
    src/components/Portfolio/PortfolioMain.tsx on lines 74..80
    src/components/Portfolio/PortfolioMain.tsx on lines 81..87
    src/components/Portfolio/PortfolioMain.tsx on lines 88..94
    src/components/Portfolio/PortfolioMain.tsx on lines 95..101
    src/components/Portfolio/PortfolioMain.tsx on lines 102..108
    src/components/Portfolio/PortfolioMain.tsx on lines 109..115
    src/components/Portfolio/PortfolioMain.tsx on lines 116..122
    src/components/Portfolio/PortfolioMain.tsx on lines 123..129
    src/components/Portfolio/PortfolioMain.tsx on lines 130..136
    src/components/Portfolio/PortfolioMain.tsx on lines 137..143
    src/components/Portfolio/PortfolioMain.tsx on lines 144..150

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 46.

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

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

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

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

    Refactorings

    Further Reading

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

              <PortfolioItem
                url="https://zakupki-de.com.ua/"
                name="Zakupki Website"
                title={t('business-card-portfolio-zakupki-title')}
                subtitle={t('business-card-portfolio-zakupki-subtitle')}
    Severity: Major
    Found in src/components/Portfolio/PortfolioMain.tsx and 16 other locations - About 35 mins to fix
    src/components/Portfolio/PortfolioMain.tsx on lines 32..38
    src/components/Portfolio/PortfolioMain.tsx on lines 39..45
    src/components/Portfolio/PortfolioMain.tsx on lines 46..52
    src/components/Portfolio/PortfolioMain.tsx on lines 53..59
    src/components/Portfolio/PortfolioMain.tsx on lines 60..66
    src/components/Portfolio/PortfolioMain.tsx on lines 67..73
    src/components/Portfolio/PortfolioMain.tsx on lines 74..80
    src/components/Portfolio/PortfolioMain.tsx on lines 81..87
    src/components/Portfolio/PortfolioMain.tsx on lines 88..94
    src/components/Portfolio/PortfolioMain.tsx on lines 95..101
    src/components/Portfolio/PortfolioMain.tsx on lines 102..108
    src/components/Portfolio/PortfolioMain.tsx on lines 109..115
    src/components/Portfolio/PortfolioMain.tsx on lines 116..122
    src/components/Portfolio/PortfolioMain.tsx on lines 123..129
    src/components/Portfolio/PortfolioMain.tsx on lines 130..136
    src/components/Portfolio/PortfolioMain.tsx on lines 137..143

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 46.

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

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

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

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

    Refactorings

    Further Reading

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

              <PortfolioItem
                url="https://youtu.be/8wTcyZEtQx8"
                name="Invebstor"
                title={t('business-card-portfolio-invebstor-title')}
                subtitle={t('business-card-portfolio-invebstor-subtitle')}
    Severity: Major
    Found in src/components/Portfolio/PortfolioMain.tsx and 16 other locations - About 35 mins to fix
    src/components/Portfolio/PortfolioMain.tsx on lines 32..38
    src/components/Portfolio/PortfolioMain.tsx on lines 39..45
    src/components/Portfolio/PortfolioMain.tsx on lines 46..52
    src/components/Portfolio/PortfolioMain.tsx on lines 53..59
    src/components/Portfolio/PortfolioMain.tsx on lines 60..66
    src/components/Portfolio/PortfolioMain.tsx on lines 67..73
    src/components/Portfolio/PortfolioMain.tsx on lines 74..80
    src/components/Portfolio/PortfolioMain.tsx on lines 81..87
    src/components/Portfolio/PortfolioMain.tsx on lines 88..94
    src/components/Portfolio/PortfolioMain.tsx on lines 95..101
    src/components/Portfolio/PortfolioMain.tsx on lines 109..115
    src/components/Portfolio/PortfolioMain.tsx on lines 116..122
    src/components/Portfolio/PortfolioMain.tsx on lines 123..129
    src/components/Portfolio/PortfolioMain.tsx on lines 130..136
    src/components/Portfolio/PortfolioMain.tsx on lines 137..143
    src/components/Portfolio/PortfolioMain.tsx on lines 144..150

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 46.

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

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

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

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

    Refactorings

    Further Reading

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

              <PortfolioItem
                url="http://medisport-garmisch.de/"
                name="Medisport Website"
                title={t('business-card-portfolio-medisport-title')}
                subtitle={t('business-card-portfolio-medisport-subtitle')}
    Severity: Major
    Found in src/components/Portfolio/PortfolioMain.tsx and 16 other locations - About 35 mins to fix
    src/components/Portfolio/PortfolioMain.tsx on lines 32..38
    src/components/Portfolio/PortfolioMain.tsx on lines 39..45
    src/components/Portfolio/PortfolioMain.tsx on lines 46..52
    src/components/Portfolio/PortfolioMain.tsx on lines 53..59
    src/components/Portfolio/PortfolioMain.tsx on lines 60..66
    src/components/Portfolio/PortfolioMain.tsx on lines 67..73
    src/components/Portfolio/PortfolioMain.tsx on lines 74..80
    src/components/Portfolio/PortfolioMain.tsx on lines 81..87
    src/components/Portfolio/PortfolioMain.tsx on lines 88..94
    src/components/Portfolio/PortfolioMain.tsx on lines 95..101
    src/components/Portfolio/PortfolioMain.tsx on lines 102..108
    src/components/Portfolio/PortfolioMain.tsx on lines 109..115
    src/components/Portfolio/PortfolioMain.tsx on lines 116..122
    src/components/Portfolio/PortfolioMain.tsx on lines 123..129
    src/components/Portfolio/PortfolioMain.tsx on lines 137..143
    src/components/Portfolio/PortfolioMain.tsx on lines 144..150

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 46.

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

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

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

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

    Refactorings

    Further Reading

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

              <PortfolioItem
                url="#portfolio"
                name="Print &amp; Post Website"
                title={t('business-card-portfolio-print-and-post-title')}
                subtitle={t('business-card-portfolio-print-and-post-subtitle')}
    Severity: Major
    Found in src/components/Portfolio/PortfolioMain.tsx and 16 other locations - About 35 mins to fix
    src/components/Portfolio/PortfolioMain.tsx on lines 32..38
    src/components/Portfolio/PortfolioMain.tsx on lines 39..45
    src/components/Portfolio/PortfolioMain.tsx on lines 46..52
    src/components/Portfolio/PortfolioMain.tsx on lines 53..59
    src/components/Portfolio/PortfolioMain.tsx on lines 60..66
    src/components/Portfolio/PortfolioMain.tsx on lines 67..73
    src/components/Portfolio/PortfolioMain.tsx on lines 74..80
    src/components/Portfolio/PortfolioMain.tsx on lines 81..87
    src/components/Portfolio/PortfolioMain.tsx on lines 88..94
    src/components/Portfolio/PortfolioMain.tsx on lines 95..101
    src/components/Portfolio/PortfolioMain.tsx on lines 102..108
    src/components/Portfolio/PortfolioMain.tsx on lines 109..115
    src/components/Portfolio/PortfolioMain.tsx on lines 116..122
    src/components/Portfolio/PortfolioMain.tsx on lines 123..129
    src/components/Portfolio/PortfolioMain.tsx on lines 130..136
    src/components/Portfolio/PortfolioMain.tsx on lines 144..150

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 46.

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

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

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

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

    Refactorings

    Further Reading

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

              <PortfolioItem
                url="https://markets.bitcoin.com/"
                name="Markets"
                title={t('business-card-portfolio-markets-title')}
                subtitle={t('business-card-portfolio-markets-subtitle')}
    Severity: Major
    Found in src/components/Portfolio/PortfolioMain.tsx and 16 other locations - About 35 mins to fix
    src/components/Portfolio/PortfolioMain.tsx on lines 39..45
    src/components/Portfolio/PortfolioMain.tsx on lines 46..52
    src/components/Portfolio/PortfolioMain.tsx on lines 53..59
    src/components/Portfolio/PortfolioMain.tsx on lines 60..66
    src/components/Portfolio/PortfolioMain.tsx on lines 67..73
    src/components/Portfolio/PortfolioMain.tsx on lines 74..80
    src/components/Portfolio/PortfolioMain.tsx on lines 81..87
    src/components/Portfolio/PortfolioMain.tsx on lines 88..94
    src/components/Portfolio/PortfolioMain.tsx on lines 95..101
    src/components/Portfolio/PortfolioMain.tsx on lines 102..108
    src/components/Portfolio/PortfolioMain.tsx on lines 109..115
    src/components/Portfolio/PortfolioMain.tsx on lines 116..122
    src/components/Portfolio/PortfolioMain.tsx on lines 123..129
    src/components/Portfolio/PortfolioMain.tsx on lines 130..136
    src/components/Portfolio/PortfolioMain.tsx on lines 137..143
    src/components/Portfolio/PortfolioMain.tsx on lines 144..150

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 46.

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

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

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

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

    Refactorings

    Further Reading

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

              <PortfolioItem
                url="https://drive.google.com/drive/folders/163jhUuVrBCEYQ503sa1Y1M7KG--1gwaj?usp=sharing"
                name="Southern Marine Agency Website"
                title={t('business-card-portfolio-sma-title')}
                subtitle={t('business-card-portfolio-sma-subtitle')}
    Severity: Major
    Found in src/components/Portfolio/PortfolioMain.tsx and 16 other locations - About 35 mins to fix
    src/components/Portfolio/PortfolioMain.tsx on lines 32..38
    src/components/Portfolio/PortfolioMain.tsx on lines 39..45
    src/components/Portfolio/PortfolioMain.tsx on lines 46..52
    src/components/Portfolio/PortfolioMain.tsx on lines 53..59
    src/components/Portfolio/PortfolioMain.tsx on lines 60..66
    src/components/Portfolio/PortfolioMain.tsx on lines 67..73
    src/components/Portfolio/PortfolioMain.tsx on lines 81..87
    src/components/Portfolio/PortfolioMain.tsx on lines 88..94
    src/components/Portfolio/PortfolioMain.tsx on lines 95..101
    src/components/Portfolio/PortfolioMain.tsx on lines 102..108
    src/components/Portfolio/PortfolioMain.tsx on lines 109..115
    src/components/Portfolio/PortfolioMain.tsx on lines 116..122
    src/components/Portfolio/PortfolioMain.tsx on lines 123..129
    src/components/Portfolio/PortfolioMain.tsx on lines 130..136
    src/components/Portfolio/PortfolioMain.tsx on lines 137..143
    src/components/Portfolio/PortfolioMain.tsx on lines 144..150

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 46.

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

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

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

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

    Refactorings

    Further Reading

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

              <PortfolioItem
                url="https://www.arka-media.de/"
                name="ARKA Website"
                title={t('business-card-portfolio-arka-title')}
                subtitle={t('business-card-portfolio-arka-subtitle')}
    Severity: Major
    Found in src/components/Portfolio/PortfolioMain.tsx and 16 other locations - About 35 mins to fix
    src/components/Portfolio/PortfolioMain.tsx on lines 32..38
    src/components/Portfolio/PortfolioMain.tsx on lines 39..45
    src/components/Portfolio/PortfolioMain.tsx on lines 46..52
    src/components/Portfolio/PortfolioMain.tsx on lines 53..59
    src/components/Portfolio/PortfolioMain.tsx on lines 60..66
    src/components/Portfolio/PortfolioMain.tsx on lines 67..73
    src/components/Portfolio/PortfolioMain.tsx on lines 74..80
    src/components/Portfolio/PortfolioMain.tsx on lines 81..87
    src/components/Portfolio/PortfolioMain.tsx on lines 88..94
    src/components/Portfolio/PortfolioMain.tsx on lines 95..101
    src/components/Portfolio/PortfolioMain.tsx on lines 102..108
    src/components/Portfolio/PortfolioMain.tsx on lines 109..115
    src/components/Portfolio/PortfolioMain.tsx on lines 123..129
    src/components/Portfolio/PortfolioMain.tsx on lines 130..136
    src/components/Portfolio/PortfolioMain.tsx on lines 137..143
    src/components/Portfolio/PortfolioMain.tsx on lines 144..150

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 46.

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

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

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

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

    Refactorings

    Further Reading

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

              <PortfolioItem
                url="https://www.deutsche-lieferadresse.com/"
                name="Deutsche Lieferadresse Website"
                title={t('business-card-portfolio-deutsche-lieferadresse-title')}
                subtitle={t('business-card-portfolio-deutsche-lieferadresse-subtitle')}
    Severity: Major
    Found in src/components/Portfolio/PortfolioMain.tsx and 16 other locations - About 35 mins to fix
    src/components/Portfolio/PortfolioMain.tsx on lines 32..38
    src/components/Portfolio/PortfolioMain.tsx on lines 39..45
    src/components/Portfolio/PortfolioMain.tsx on lines 46..52
    src/components/Portfolio/PortfolioMain.tsx on lines 53..59
    src/components/Portfolio/PortfolioMain.tsx on lines 60..66
    src/components/Portfolio/PortfolioMain.tsx on lines 67..73
    src/components/Portfolio/PortfolioMain.tsx on lines 74..80
    src/components/Portfolio/PortfolioMain.tsx on lines 81..87
    src/components/Portfolio/PortfolioMain.tsx on lines 88..94
    src/components/Portfolio/PortfolioMain.tsx on lines 95..101
    src/components/Portfolio/PortfolioMain.tsx on lines 102..108
    src/components/Portfolio/PortfolioMain.tsx on lines 109..115
    src/components/Portfolio/PortfolioMain.tsx on lines 116..122
    src/components/Portfolio/PortfolioMain.tsx on lines 130..136
    src/components/Portfolio/PortfolioMain.tsx on lines 137..143
    src/components/Portfolio/PortfolioMain.tsx on lines 144..150

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 46.

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

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

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

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

    Refactorings

    Further Reading

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

              <PortfolioItem
                url="https://www.prysm.com/software/iphone-app/"
                name="Prysm iPhone App"
                title={t('business-card-portfolio-prysm-title')}
                subtitle={t('business-card-portfolio-prysm-subtitle')}
    Severity: Major
    Found in src/components/Portfolio/PortfolioMain.tsx and 16 other locations - About 35 mins to fix
    src/components/Portfolio/PortfolioMain.tsx on lines 32..38
    src/components/Portfolio/PortfolioMain.tsx on lines 39..45
    src/components/Portfolio/PortfolioMain.tsx on lines 46..52
    src/components/Portfolio/PortfolioMain.tsx on lines 53..59
    src/components/Portfolio/PortfolioMain.tsx on lines 60..66
    src/components/Portfolio/PortfolioMain.tsx on lines 74..80
    src/components/Portfolio/PortfolioMain.tsx on lines 81..87
    src/components/Portfolio/PortfolioMain.tsx on lines 88..94
    src/components/Portfolio/PortfolioMain.tsx on lines 95..101
    src/components/Portfolio/PortfolioMain.tsx on lines 102..108
    src/components/Portfolio/PortfolioMain.tsx on lines 109..115
    src/components/Portfolio/PortfolioMain.tsx on lines 116..122
    src/components/Portfolio/PortfolioMain.tsx on lines 123..129
    src/components/Portfolio/PortfolioMain.tsx on lines 130..136
    src/components/Portfolio/PortfolioMain.tsx on lines 137..143
    src/components/Portfolio/PortfolioMain.tsx on lines 144..150

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 46.

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

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

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

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

    Refactorings

    Further Reading

    There are no issues that match your filters.

    Category
    Status