Showing 2,206 of 2,206 total issues

Identical blocks of code found in 2 locations. Consider refactoring.
Open

Object.keys(config)
  .filter(service => serviceHasPageType(service, pageType))
  .forEach(serviceId => {
    const { variant, name: service } = config[serviceId];
    const paths = getPaths(serviceId, pageType);
Severity: Major
Found in cypress/e2e/pages/onDemandTV/index.cy.js and 1 other location - About 1 day to fix
cypress/e2e/pages/liveRadio/index.cy.js on lines 9..30

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

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

Identical blocks of code found in 2 locations. Consider refactoring.
Open

Object.keys(config)
  .filter(service => serviceHasPageType(service, pageType))
  .forEach(serviceId => {
    const { variant, name: service } = config[serviceId];
    const paths = getPaths(serviceId, pageType);
Severity: Major
Found in cypress/e2e/pages/liveRadio/index.cy.js and 1 other location - About 1 day to fix
cypress/e2e/pages/onDemandTV/index.cy.js on lines 9..30

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

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

    {
      headlines: {
        shortHeadline:
          'O avanço das escolas cívico-militares na rede particular de ensino',
        headline:
Severity: Major
Found in src/app/components/OptimizelyRecommendations/fixtureData.js and 1 other location - About 1 day to fix
src/app/legacy/containers/CpsRecommendations/newsFixture.js on lines 57..111

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

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

  {
    headlines: {
      shortHeadline: 'The life of Edy Fonseca during the Coronavirus pandemic',
      headline:
        'Coronavirus in Colombia | The life of Edy Fonseca during the Coronavirus pandemic',
Severity: Major
Found in src/app/legacy/containers/CpsRecommendations/newsFixture.js and 1 other location - About 1 day to fix
src/app/components/OptimizelyRecommendations/fixtureData.js on lines 524..579

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

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

File index.test.js has 520 lines of code (exceeds 250 allowed). Consider refactoring.
Open

import { matchPath } from 'react-router-dom';
import {
  articleDataPath,
  articleManifestPath,
  articlePath,
Severity: Major
Found in src/app/routes/utils/regex/index.test.js - About 1 day to fix

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

    storiesOf('Components/Index Heading', module)
      .addDecorator(withKnobs)
      .addDecorator(withServicesKnob())
      .add(
        'default',
    src/app/legacy/psammead/psammead-headings/src/index.stories.jsx on lines 33..56

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

    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

    storiesOf('Components/SubHeading', module)
      .addDecorator(withKnobs)
      .addDecorator(withServicesKnob())
      .add(
        'default',
    src/app/legacy/psammead/psammead-heading-index/src/index.stories.jsx on lines 8..31

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

    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

            <Grid
              dir={dir}
              columns={{
                group0: 6,
                group1: 6,
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 271..311
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 563..603
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 732..772
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 773..813
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 814..854
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 855..895
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 1710..1750
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 1751..1791
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 1792..1832
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 1833..1873
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 1899..1939
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 1989..2029
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 2030..2070
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 2071..2111

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

    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

            <Grid
              dir={dir}
              columns={{
                group0: 6,
                group1: 6,
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 563..603
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 691..731
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 732..772
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 773..813
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 814..854
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 855..895
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 1710..1750
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 1751..1791
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 1792..1832
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 1833..1873
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 1899..1939
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 1989..2029
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 2030..2070
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 2071..2111

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

    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

            <Grid
              dir={dir}
              columns={{
                group0: 6,
                group1: 6,
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 271..311
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 563..603
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 691..731
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 732..772
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 814..854
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 855..895
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 1710..1750
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 1751..1791
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 1792..1832
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 1833..1873
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 1899..1939
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 1989..2029
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 2030..2070
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 2071..2111

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

    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

            <Grid
              dir={dir}
              columns={{
                group0: 6,
                group1: 6,
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 271..311
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 563..603
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 691..731
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 732..772
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 773..813
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 814..854
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 1710..1750
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 1751..1791
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 1792..1832
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 1833..1873
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 1899..1939
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 1989..2029
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 2030..2070
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 2071..2111

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

    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

            <Grid
              dir={dir}
              columns={{
                group0: 6,
                group1: 6,
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 271..311
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 563..603
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 691..731
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 732..772
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 773..813
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 814..854
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 855..895
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 1710..1750
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 1792..1832
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 1833..1873
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 1899..1939
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 1989..2029
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 2030..2070
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 2071..2111

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

    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

            <Grid
              dir={dir}
              columns={{
                group0: 6,
                group1: 6,
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 271..311
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 563..603
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 691..731
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 732..772
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 773..813
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 814..854
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 855..895
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 1710..1750
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 1751..1791
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 1792..1832
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 1899..1939
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 1989..2029
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 2030..2070
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 2071..2111

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

    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

            <Grid
              dir={dir}
              columns={{
                group0: 6,
                group1: 6,
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 271..311
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 563..603
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 691..731
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 732..772
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 773..813
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 855..895
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 1710..1750
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 1751..1791
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 1792..1832
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 1833..1873
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 1899..1939
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 1989..2029
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 2030..2070
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 2071..2111

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

    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

            <Grid
              dir={dir}
              columns={{
                group0: 6,
                group1: 6,
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 271..311
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 691..731
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 732..772
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 773..813
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 814..854
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 855..895
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 1710..1750
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 1751..1791
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 1792..1832
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 1833..1873
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 1899..1939
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 1989..2029
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 2030..2070
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 2071..2111

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

    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

            <Grid
              dir={dir}
              columns={{
                group0: 6,
                group1: 6,
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 271..311
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 563..603
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 691..731
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 732..772
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 773..813
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 814..854
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 855..895
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 1710..1750
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 1751..1791
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 1792..1832
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 1833..1873
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 1899..1939
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 1989..2029
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 2030..2070

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

    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

            <Grid
              dir={dir}
              columns={{
                group0: 6,
                group1: 6,
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 271..311
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 563..603
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 691..731
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 773..813
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 814..854
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 855..895
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 1710..1750
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 1751..1791
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 1792..1832
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 1833..1873
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 1899..1939
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 1989..2029
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 2030..2070
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 2071..2111

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

    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

            <Grid
              dir={dir}
              columns={{
                group0: 6,
                group1: 6,
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 271..311
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 563..603
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 691..731
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 732..772
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 773..813
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 814..854
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 855..895
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 1710..1750
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 1751..1791
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 1792..1832
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 1833..1873
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 1899..1939
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 1989..2029
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 2071..2111

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

    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

            <Grid
              dir={dir}
              columns={{
                group0: 6,
                group1: 6,
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 271..311
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 563..603
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 691..731
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 732..772
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 773..813
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 814..854
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 855..895
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 1751..1791
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 1792..1832
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 1833..1873
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 1899..1939
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 1989..2029
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 2030..2070
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 2071..2111

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

    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

            <Grid
              dir={dir}
              columns={{
                group0: 6,
                group1: 6,
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 271..311
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 563..603
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 691..731
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 732..772
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 773..813
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 814..854
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 855..895
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 1710..1750
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 1751..1791
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 1792..1832
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 1833..1873
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 1899..1939
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 2030..2070
    src/app/legacy/psammead/psammead-grid/src/index.stories.jsx on lines 2071..2111

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

    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