fabasoad/business-card

View on GitHub

Showing 61 of 87 total issues

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

        <li><a className="btn" target="_blank" rel="noopener noreferrer" href="https://twitter.com/fabasoad"><i className="fab fa-x-twitter fa-2x"></i></a></li>
Severity: Major
Found in src/components/Footer/FooterSocial.tsx and 4 other locations - About 1 hr to fix
src/components/Footer/FooterSocial.tsx on lines 8..8
src/components/Footer/FooterSocial.tsx on lines 9..9
src/components/Footer/FooterSocial.tsx on lines 10..10
src/components/Footer/FooterSocial.tsx on lines 11..11

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

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

        <li><a className="btn" target="_blank" rel="noopener noreferrer" href="https://www.linkedin.com/in/yevhenfabizhevskyi/"><i className="fab fa-linkedin fa-2x"></i></a></li>
Severity: Major
Found in src/components/Footer/FooterSocial.tsx and 4 other locations - About 1 hr to fix
src/components/Footer/FooterSocial.tsx on lines 7..7
src/components/Footer/FooterSocial.tsx on lines 8..8
src/components/Footer/FooterSocial.tsx on lines 10..10
src/components/Footer/FooterSocial.tsx on lines 11..11

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

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

        <li><a className="btn" target="_blank" rel="noopener noreferrer" href="https://stackoverflow.com/users/470214/fabasoad"><i className="fab fa-stack-overflow fa-2x"></i></a></li>
Severity: Major
Found in src/components/Footer/FooterSocial.tsx and 4 other locations - About 1 hr to fix
src/components/Footer/FooterSocial.tsx on lines 7..7
src/components/Footer/FooterSocial.tsx on lines 8..8
src/components/Footer/FooterSocial.tsx on lines 9..9
src/components/Footer/FooterSocial.tsx on lines 11..11

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

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

        <div className="timeline-heading">
          <h4>{t('business-card-education-university-title')}</h4>
          <h4 className="subheading">{title}</h4>
        </div>
Severity: Major
Found in src/components/Education/EducationItem.tsx and 1 other location - About 1 hr to fix
src/components/Experience/JobResponsibilities.tsx on lines 24..27

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

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

        <div className="job-responsibilities">
          <h5>{t('business-card-experience-responsibilities-title')}</h5>
          <ul className="responsibilities">{respList}</ul>
        </div>
Severity: Major
Found in src/components/Experience/JobResponsibilities.tsx and 1 other location - About 1 hr to fix
src/components/Education/EducationItem.tsx on lines 19..22

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

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

test('should render FooterMain correctly', () => {
  const { container } = render(<FooterMain />)
  testFooterMain(container.querySelector('div.footer'))
})
Severity: Major
Found in src/__tests__/components/Footer/FooterMain.spec.tsx and 14 other locations - About 50 mins to fix
src/__tests__/components/About/AboutMain.spec.tsx on lines 7..10
src/__tests__/components/BackToTopButton.spec.tsx on lines 9..12
src/__tests__/components/Badges.spec.tsx on lines 8..11
src/__tests__/components/Footer/FooterContacts.spec.tsx on lines 8..11
src/__tests__/components/Footer/FooterEmail.spec.tsx on lines 8..11
src/__tests__/components/Footer/FooterInfo.spec.tsx on lines 8..11
src/__tests__/components/Footer/FooterLocation.spec.tsx on lines 8..11
src/__tests__/components/Footer/FooterSocial.spec.tsx on lines 8..11
src/__tests__/components/Header.spec.tsx on lines 8..11
src/__tests__/components/Languages/LanguagesMain.spec.tsx on lines 8..11
src/__tests__/components/Menu/MenuMain.spec.tsx on lines 8..11
src/__tests__/components/Portfolio/PortfolioMain.spec.tsx on lines 8..11
src/__tests__/components/Resume.spec.tsx on lines 8..11
src/__tests__/components/Skills.spec.tsx on lines 8..11

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

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

test('should render FooterContacts correctly', () => {
  const { container } = render(<FooterContacts />)
  testFooterContacts(container.querySelector('div.footer-contacts'))
})
Severity: Major
Found in src/__tests__/components/Footer/FooterContacts.spec.tsx and 14 other locations - About 50 mins to fix
src/__tests__/components/About/AboutMain.spec.tsx on lines 7..10
src/__tests__/components/BackToTopButton.spec.tsx on lines 9..12
src/__tests__/components/Badges.spec.tsx on lines 8..11
src/__tests__/components/Footer/FooterEmail.spec.tsx on lines 8..11
src/__tests__/components/Footer/FooterInfo.spec.tsx on lines 8..11
src/__tests__/components/Footer/FooterLocation.spec.tsx on lines 8..11
src/__tests__/components/Footer/FooterMain.spec.tsx on lines 8..11
src/__tests__/components/Footer/FooterSocial.spec.tsx on lines 8..11
src/__tests__/components/Header.spec.tsx on lines 8..11
src/__tests__/components/Languages/LanguagesMain.spec.tsx on lines 8..11
src/__tests__/components/Menu/MenuMain.spec.tsx on lines 8..11
src/__tests__/components/Portfolio/PortfolioMain.spec.tsx on lines 8..11
src/__tests__/components/Resume.spec.tsx on lines 8..11
src/__tests__/components/Skills.spec.tsx on lines 8..11

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

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

test('should render Skills correctly', () => {
  const { container } = render(<Skills />)
  testSkills(container.querySelector('div#skills'))
})
Severity: Major
Found in src/__tests__/components/Skills.spec.tsx and 14 other locations - About 50 mins to fix
src/__tests__/components/About/AboutMain.spec.tsx on lines 7..10
src/__tests__/components/BackToTopButton.spec.tsx on lines 9..12
src/__tests__/components/Badges.spec.tsx on lines 8..11
src/__tests__/components/Footer/FooterContacts.spec.tsx on lines 8..11
src/__tests__/components/Footer/FooterEmail.spec.tsx on lines 8..11
src/__tests__/components/Footer/FooterInfo.spec.tsx on lines 8..11
src/__tests__/components/Footer/FooterLocation.spec.tsx on lines 8..11
src/__tests__/components/Footer/FooterMain.spec.tsx on lines 8..11
src/__tests__/components/Footer/FooterSocial.spec.tsx on lines 8..11
src/__tests__/components/Header.spec.tsx on lines 8..11
src/__tests__/components/Languages/LanguagesMain.spec.tsx on lines 8..11
src/__tests__/components/Menu/MenuMain.spec.tsx on lines 8..11
src/__tests__/components/Portfolio/PortfolioMain.spec.tsx on lines 8..11
src/__tests__/components/Resume.spec.tsx on lines 8..11

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

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

test('should render Header correctly', () => {
  const { container } = render(<Header />)
  testHeader(container.querySelector('header#header'))
})
Severity: Major
Found in src/__tests__/components/Header.spec.tsx and 14 other locations - About 50 mins to fix
src/__tests__/components/About/AboutMain.spec.tsx on lines 7..10
src/__tests__/components/BackToTopButton.spec.tsx on lines 9..12
src/__tests__/components/Badges.spec.tsx on lines 8..11
src/__tests__/components/Footer/FooterContacts.spec.tsx on lines 8..11
src/__tests__/components/Footer/FooterEmail.spec.tsx on lines 8..11
src/__tests__/components/Footer/FooterInfo.spec.tsx on lines 8..11
src/__tests__/components/Footer/FooterLocation.spec.tsx on lines 8..11
src/__tests__/components/Footer/FooterMain.spec.tsx on lines 8..11
src/__tests__/components/Footer/FooterSocial.spec.tsx on lines 8..11
src/__tests__/components/Languages/LanguagesMain.spec.tsx on lines 8..11
src/__tests__/components/Menu/MenuMain.spec.tsx on lines 8..11
src/__tests__/components/Portfolio/PortfolioMain.spec.tsx on lines 8..11
src/__tests__/components/Resume.spec.tsx on lines 8..11
src/__tests__/components/Skills.spec.tsx on lines 8..11

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

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

test('should render FooterEmail correctly', () => {
  const { container } = render(<FooterEmail/>)
  testFooterEmail(container.querySelector('div'))
})
Severity: Major
Found in src/__tests__/components/Footer/FooterEmail.spec.tsx and 14 other locations - About 50 mins to fix
src/__tests__/components/About/AboutMain.spec.tsx on lines 7..10
src/__tests__/components/BackToTopButton.spec.tsx on lines 9..12
src/__tests__/components/Badges.spec.tsx on lines 8..11
src/__tests__/components/Footer/FooterContacts.spec.tsx on lines 8..11
src/__tests__/components/Footer/FooterInfo.spec.tsx on lines 8..11
src/__tests__/components/Footer/FooterLocation.spec.tsx on lines 8..11
src/__tests__/components/Footer/FooterMain.spec.tsx on lines 8..11
src/__tests__/components/Footer/FooterSocial.spec.tsx on lines 8..11
src/__tests__/components/Header.spec.tsx on lines 8..11
src/__tests__/components/Languages/LanguagesMain.spec.tsx on lines 8..11
src/__tests__/components/Menu/MenuMain.spec.tsx on lines 8..11
src/__tests__/components/Portfolio/PortfolioMain.spec.tsx on lines 8..11
src/__tests__/components/Resume.spec.tsx on lines 8..11
src/__tests__/components/Skills.spec.tsx on lines 8..11

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

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

test('should render FooterLocation correctly', () => {
  const { container } = render(<FooterLocation />)
  testFooterLocation(container.querySelector('div'))
})
Severity: Major
Found in src/__tests__/components/Footer/FooterLocation.spec.tsx and 14 other locations - About 50 mins to fix
src/__tests__/components/About/AboutMain.spec.tsx on lines 7..10
src/__tests__/components/BackToTopButton.spec.tsx on lines 9..12
src/__tests__/components/Badges.spec.tsx on lines 8..11
src/__tests__/components/Footer/FooterContacts.spec.tsx on lines 8..11
src/__tests__/components/Footer/FooterEmail.spec.tsx on lines 8..11
src/__tests__/components/Footer/FooterInfo.spec.tsx on lines 8..11
src/__tests__/components/Footer/FooterMain.spec.tsx on lines 8..11
src/__tests__/components/Footer/FooterSocial.spec.tsx on lines 8..11
src/__tests__/components/Header.spec.tsx on lines 8..11
src/__tests__/components/Languages/LanguagesMain.spec.tsx on lines 8..11
src/__tests__/components/Menu/MenuMain.spec.tsx on lines 8..11
src/__tests__/components/Portfolio/PortfolioMain.spec.tsx on lines 8..11
src/__tests__/components/Resume.spec.tsx on lines 8..11
src/__tests__/components/Skills.spec.tsx on lines 8..11

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

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

test('should render Resume correctly', () => {
  const { container } = render(<Resume />)
  testResume(container.querySelector('div#resume'))
})
Severity: Major
Found in src/__tests__/components/Resume.spec.tsx and 14 other locations - About 50 mins to fix
src/__tests__/components/About/AboutMain.spec.tsx on lines 7..10
src/__tests__/components/BackToTopButton.spec.tsx on lines 9..12
src/__tests__/components/Badges.spec.tsx on lines 8..11
src/__tests__/components/Footer/FooterContacts.spec.tsx on lines 8..11
src/__tests__/components/Footer/FooterEmail.spec.tsx on lines 8..11
src/__tests__/components/Footer/FooterInfo.spec.tsx on lines 8..11
src/__tests__/components/Footer/FooterLocation.spec.tsx on lines 8..11
src/__tests__/components/Footer/FooterMain.spec.tsx on lines 8..11
src/__tests__/components/Footer/FooterSocial.spec.tsx on lines 8..11
src/__tests__/components/Header.spec.tsx on lines 8..11
src/__tests__/components/Languages/LanguagesMain.spec.tsx on lines 8..11
src/__tests__/components/Menu/MenuMain.spec.tsx on lines 8..11
src/__tests__/components/Portfolio/PortfolioMain.spec.tsx on lines 8..11
src/__tests__/components/Skills.spec.tsx on lines 8..11

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

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

test('should render Badges correctly', () => {
  const { container } = render(<Badges/>)
  testBadges(container.querySelector('div#badges'))
})
Severity: Major
Found in src/__tests__/components/Badges.spec.tsx and 14 other locations - About 50 mins to fix
src/__tests__/components/About/AboutMain.spec.tsx on lines 7..10
src/__tests__/components/BackToTopButton.spec.tsx on lines 9..12
src/__tests__/components/Footer/FooterContacts.spec.tsx on lines 8..11
src/__tests__/components/Footer/FooterEmail.spec.tsx on lines 8..11
src/__tests__/components/Footer/FooterInfo.spec.tsx on lines 8..11
src/__tests__/components/Footer/FooterLocation.spec.tsx on lines 8..11
src/__tests__/components/Footer/FooterMain.spec.tsx on lines 8..11
src/__tests__/components/Footer/FooterSocial.spec.tsx on lines 8..11
src/__tests__/components/Header.spec.tsx on lines 8..11
src/__tests__/components/Languages/LanguagesMain.spec.tsx on lines 8..11
src/__tests__/components/Menu/MenuMain.spec.tsx on lines 8..11
src/__tests__/components/Portfolio/PortfolioMain.spec.tsx on lines 8..11
src/__tests__/components/Resume.spec.tsx on lines 8..11
src/__tests__/components/Skills.spec.tsx on lines 8..11

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

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

  test('should render BackToTopButton correctly', () => {
    const { container } = render(<BackToTopButton />)
    testBackToTopButton(container.querySelector('a'))
  })
Severity: Major
Found in src/__tests__/components/BackToTopButton.spec.tsx and 14 other locations - About 50 mins to fix
src/__tests__/components/About/AboutMain.spec.tsx on lines 7..10
src/__tests__/components/Badges.spec.tsx on lines 8..11
src/__tests__/components/Footer/FooterContacts.spec.tsx on lines 8..11
src/__tests__/components/Footer/FooterEmail.spec.tsx on lines 8..11
src/__tests__/components/Footer/FooterInfo.spec.tsx on lines 8..11
src/__tests__/components/Footer/FooterLocation.spec.tsx on lines 8..11
src/__tests__/components/Footer/FooterMain.spec.tsx on lines 8..11
src/__tests__/components/Footer/FooterSocial.spec.tsx on lines 8..11
src/__tests__/components/Header.spec.tsx on lines 8..11
src/__tests__/components/Languages/LanguagesMain.spec.tsx on lines 8..11
src/__tests__/components/Menu/MenuMain.spec.tsx on lines 8..11
src/__tests__/components/Portfolio/PortfolioMain.spec.tsx on lines 8..11
src/__tests__/components/Resume.spec.tsx on lines 8..11
src/__tests__/components/Skills.spec.tsx on lines 8..11

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

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

test('should render AboutMain correctly', () => {
  const { container } = render(<AboutMain />)
  testAboutMain(container.querySelector('div#about'))
})
Severity: Major
Found in src/__tests__/components/About/AboutMain.spec.tsx and 14 other locations - About 50 mins to fix
src/__tests__/components/BackToTopButton.spec.tsx on lines 9..12
src/__tests__/components/Badges.spec.tsx on lines 8..11
src/__tests__/components/Footer/FooterContacts.spec.tsx on lines 8..11
src/__tests__/components/Footer/FooterEmail.spec.tsx on lines 8..11
src/__tests__/components/Footer/FooterInfo.spec.tsx on lines 8..11
src/__tests__/components/Footer/FooterLocation.spec.tsx on lines 8..11
src/__tests__/components/Footer/FooterMain.spec.tsx on lines 8..11
src/__tests__/components/Footer/FooterSocial.spec.tsx on lines 8..11
src/__tests__/components/Header.spec.tsx on lines 8..11
src/__tests__/components/Languages/LanguagesMain.spec.tsx on lines 8..11
src/__tests__/components/Menu/MenuMain.spec.tsx on lines 8..11
src/__tests__/components/Portfolio/PortfolioMain.spec.tsx on lines 8..11
src/__tests__/components/Resume.spec.tsx on lines 8..11
src/__tests__/components/Skills.spec.tsx on lines 8..11

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

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

test('should render FooterSocial correctly', () => {
  const { container } = render(<FooterSocial/>)
  testFooterSocial(container.querySelector('div'))
})
Severity: Major
Found in src/__tests__/components/Footer/FooterSocial.spec.tsx and 14 other locations - About 50 mins to fix
src/__tests__/components/About/AboutMain.spec.tsx on lines 7..10
src/__tests__/components/BackToTopButton.spec.tsx on lines 9..12
src/__tests__/components/Badges.spec.tsx on lines 8..11
src/__tests__/components/Footer/FooterContacts.spec.tsx on lines 8..11
src/__tests__/components/Footer/FooterEmail.spec.tsx on lines 8..11
src/__tests__/components/Footer/FooterInfo.spec.tsx on lines 8..11
src/__tests__/components/Footer/FooterLocation.spec.tsx on lines 8..11
src/__tests__/components/Footer/FooterMain.spec.tsx on lines 8..11
src/__tests__/components/Header.spec.tsx on lines 8..11
src/__tests__/components/Languages/LanguagesMain.spec.tsx on lines 8..11
src/__tests__/components/Menu/MenuMain.spec.tsx on lines 8..11
src/__tests__/components/Portfolio/PortfolioMain.spec.tsx on lines 8..11
src/__tests__/components/Resume.spec.tsx on lines 8..11
src/__tests__/components/Skills.spec.tsx on lines 8..11

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

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

test('should render FooterInfo correctly', () => {
  const { container } = render(<FooterInfo />)
  testFooterInfo(container.querySelector('div'))
})
Severity: Major
Found in src/__tests__/components/Footer/FooterInfo.spec.tsx and 14 other locations - About 50 mins to fix
src/__tests__/components/About/AboutMain.spec.tsx on lines 7..10
src/__tests__/components/BackToTopButton.spec.tsx on lines 9..12
src/__tests__/components/Badges.spec.tsx on lines 8..11
src/__tests__/components/Footer/FooterContacts.spec.tsx on lines 8..11
src/__tests__/components/Footer/FooterEmail.spec.tsx on lines 8..11
src/__tests__/components/Footer/FooterLocation.spec.tsx on lines 8..11
src/__tests__/components/Footer/FooterMain.spec.tsx on lines 8..11
src/__tests__/components/Footer/FooterSocial.spec.tsx on lines 8..11
src/__tests__/components/Header.spec.tsx on lines 8..11
src/__tests__/components/Languages/LanguagesMain.spec.tsx on lines 8..11
src/__tests__/components/Menu/MenuMain.spec.tsx on lines 8..11
src/__tests__/components/Portfolio/PortfolioMain.spec.tsx on lines 8..11
src/__tests__/components/Resume.spec.tsx on lines 8..11
src/__tests__/components/Skills.spec.tsx on lines 8..11

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

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

  test('should render MenuMain correctly', () => {
    const { container } = render(<MenuMain/>)
    testMenuMain(container.querySelector('div#nav'))
  })
Severity: Major
Found in src/__tests__/components/Menu/MenuMain.spec.tsx and 14 other locations - About 50 mins to fix
src/__tests__/components/About/AboutMain.spec.tsx on lines 7..10
src/__tests__/components/BackToTopButton.spec.tsx on lines 9..12
src/__tests__/components/Badges.spec.tsx on lines 8..11
src/__tests__/components/Footer/FooterContacts.spec.tsx on lines 8..11
src/__tests__/components/Footer/FooterEmail.spec.tsx on lines 8..11
src/__tests__/components/Footer/FooterInfo.spec.tsx on lines 8..11
src/__tests__/components/Footer/FooterLocation.spec.tsx on lines 8..11
src/__tests__/components/Footer/FooterMain.spec.tsx on lines 8..11
src/__tests__/components/Footer/FooterSocial.spec.tsx on lines 8..11
src/__tests__/components/Header.spec.tsx on lines 8..11
src/__tests__/components/Languages/LanguagesMain.spec.tsx on lines 8..11
src/__tests__/components/Portfolio/PortfolioMain.spec.tsx on lines 8..11
src/__tests__/components/Resume.spec.tsx on lines 8..11
src/__tests__/components/Skills.spec.tsx on lines 8..11

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

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

test('should render PortfolioMain correctly', () => {
  const { container } = render(<PortfolioMain />)
  testPortfolioMain(container.querySelector('div#portfolio'))
})
Severity: Major
Found in src/__tests__/components/Portfolio/PortfolioMain.spec.tsx and 14 other locations - About 50 mins to fix
src/__tests__/components/About/AboutMain.spec.tsx on lines 7..10
src/__tests__/components/BackToTopButton.spec.tsx on lines 9..12
src/__tests__/components/Badges.spec.tsx on lines 8..11
src/__tests__/components/Footer/FooterContacts.spec.tsx on lines 8..11
src/__tests__/components/Footer/FooterEmail.spec.tsx on lines 8..11
src/__tests__/components/Footer/FooterInfo.spec.tsx on lines 8..11
src/__tests__/components/Footer/FooterLocation.spec.tsx on lines 8..11
src/__tests__/components/Footer/FooterMain.spec.tsx on lines 8..11
src/__tests__/components/Footer/FooterSocial.spec.tsx on lines 8..11
src/__tests__/components/Header.spec.tsx on lines 8..11
src/__tests__/components/Languages/LanguagesMain.spec.tsx on lines 8..11
src/__tests__/components/Menu/MenuMain.spec.tsx on lines 8..11
src/__tests__/components/Resume.spec.tsx on lines 8..11
src/__tests__/components/Skills.spec.tsx on lines 8..11

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

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

test('should render LanguageMain correctly', () => {
  const { container } = render(<LanguagesMain />)
  testLanguageMain(container.querySelector('div#languages'))
})
Severity: Major
Found in src/__tests__/components/Languages/LanguagesMain.spec.tsx and 14 other locations - About 50 mins to fix
src/__tests__/components/About/AboutMain.spec.tsx on lines 7..10
src/__tests__/components/BackToTopButton.spec.tsx on lines 9..12
src/__tests__/components/Badges.spec.tsx on lines 8..11
src/__tests__/components/Footer/FooterContacts.spec.tsx on lines 8..11
src/__tests__/components/Footer/FooterEmail.spec.tsx on lines 8..11
src/__tests__/components/Footer/FooterInfo.spec.tsx on lines 8..11
src/__tests__/components/Footer/FooterLocation.spec.tsx on lines 8..11
src/__tests__/components/Footer/FooterMain.spec.tsx on lines 8..11
src/__tests__/components/Footer/FooterSocial.spec.tsx on lines 8..11
src/__tests__/components/Header.spec.tsx on lines 8..11
src/__tests__/components/Menu/MenuMain.spec.tsx on lines 8..11
src/__tests__/components/Portfolio/PortfolioMain.spec.tsx on lines 8..11
src/__tests__/components/Resume.spec.tsx on lines 8..11
src/__tests__/components/Skills.spec.tsx on lines 8..11

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

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

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

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

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

Refactorings

Further Reading

Severity
Category
Status
Source
Language