bokuweb/re-bulma

View on GitHub

Showing 299 of 374 total issues

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

export default class LevelRight extends Component {
  static propTypes = {
    style: PropTypes.object,
    children: PropTypes.any,
    className: PropTypes.string,
Severity: Major
Found in src/components/level/level-right.js and 19 other locations - About 7 hrs to fix
src/components/card/card-content.js on lines 6..36
src/components/card/card-footer-item.js on lines 6..36
src/components/card/card-footer.js on lines 6..36
src/components/card/card-header-title.js on lines 6..36
src/components/card/card-header.js on lines 6..36
src/components/card/card-image.js on lines 6..36
src/components/heading/heading.js on lines 6..36
src/components/level/level-left.js on lines 6..36
src/components/media/media-content.js on lines 6..36
src/components/media/media-left.js on lines 6..36
src/components/media/media-right.js on lines 6..36
src/components/media/media.js on lines 6..36
src/components/menu/menu-label.js on lines 6..36
src/components/menu/menu-list.js on lines 6..36
src/components/menu/menu.js on lines 6..36
src/components/pagination/pagination.js on lines 6..36
src/layout/hero-body.js on lines 6..36
src/layout/hero-foot.js on lines 6..36
src/layout/hero-head.js on lines 6..36

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

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

export default class Media extends Component {
  static propTypes = {
    style: PropTypes.object,
    children: PropTypes.any,
    className: PropTypes.string,
Severity: Major
Found in src/components/media/media.js and 19 other locations - About 7 hrs to fix
src/components/card/card-content.js on lines 6..36
src/components/card/card-footer-item.js on lines 6..36
src/components/card/card-footer.js on lines 6..36
src/components/card/card-header-title.js on lines 6..36
src/components/card/card-header.js on lines 6..36
src/components/card/card-image.js on lines 6..36
src/components/heading/heading.js on lines 6..36
src/components/level/level-left.js on lines 6..36
src/components/level/level-right.js on lines 6..36
src/components/media/media-content.js on lines 6..36
src/components/media/media-left.js on lines 6..36
src/components/media/media-right.js on lines 6..36
src/components/menu/menu-label.js on lines 6..36
src/components/menu/menu-list.js on lines 6..36
src/components/menu/menu.js on lines 6..36
src/components/pagination/pagination.js on lines 6..36
src/layout/hero-body.js on lines 6..36
src/layout/hero-foot.js on lines 6..36
src/layout/hero-head.js on lines 6..36

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

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

export default class LevelLeft extends Component {
  static propTypes = {
    style: PropTypes.object,
    children: PropTypes.any,
    className: PropTypes.string,
Severity: Major
Found in src/components/level/level-left.js and 19 other locations - About 7 hrs to fix
src/components/card/card-content.js on lines 6..36
src/components/card/card-footer-item.js on lines 6..36
src/components/card/card-footer.js on lines 6..36
src/components/card/card-header-title.js on lines 6..36
src/components/card/card-header.js on lines 6..36
src/components/card/card-image.js on lines 6..36
src/components/heading/heading.js on lines 6..36
src/components/level/level-right.js on lines 6..36
src/components/media/media-content.js on lines 6..36
src/components/media/media-left.js on lines 6..36
src/components/media/media-right.js on lines 6..36
src/components/media/media.js on lines 6..36
src/components/menu/menu-label.js on lines 6..36
src/components/menu/menu-list.js on lines 6..36
src/components/menu/menu.js on lines 6..36
src/components/pagination/pagination.js on lines 6..36
src/layout/hero-body.js on lines 6..36
src/layout/hero-foot.js on lines 6..36
src/layout/hero-head.js on lines 6..36

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

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

export default class MenuLabel extends Component {
  static propTypes = {
    style: PropTypes.object,
    children: PropTypes.any,
    className: PropTypes.string,
Severity: Major
Found in src/components/menu/menu-label.js and 19 other locations - About 7 hrs to fix
src/components/card/card-content.js on lines 6..36
src/components/card/card-footer-item.js on lines 6..36
src/components/card/card-footer.js on lines 6..36
src/components/card/card-header-title.js on lines 6..36
src/components/card/card-header.js on lines 6..36
src/components/card/card-image.js on lines 6..36
src/components/heading/heading.js on lines 6..36
src/components/level/level-left.js on lines 6..36
src/components/level/level-right.js on lines 6..36
src/components/media/media-content.js on lines 6..36
src/components/media/media-left.js on lines 6..36
src/components/media/media-right.js on lines 6..36
src/components/media/media.js on lines 6..36
src/components/menu/menu-list.js on lines 6..36
src/components/menu/menu.js on lines 6..36
src/components/pagination/pagination.js on lines 6..36
src/layout/hero-body.js on lines 6..36
src/layout/hero-foot.js on lines 6..36
src/layout/hero-head.js on lines 6..36

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

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

export default class HeroFoot extends Component {
  static propTypes = {
    style: PropTypes.object,
    children: PropTypes.any,
    className: PropTypes.string,
Severity: Major
Found in src/layout/hero-foot.js and 19 other locations - About 7 hrs to fix
src/components/card/card-content.js on lines 6..36
src/components/card/card-footer-item.js on lines 6..36
src/components/card/card-footer.js on lines 6..36
src/components/card/card-header-title.js on lines 6..36
src/components/card/card-header.js on lines 6..36
src/components/card/card-image.js on lines 6..36
src/components/heading/heading.js on lines 6..36
src/components/level/level-left.js on lines 6..36
src/components/level/level-right.js on lines 6..36
src/components/media/media-content.js on lines 6..36
src/components/media/media-left.js on lines 6..36
src/components/media/media-right.js on lines 6..36
src/components/media/media.js on lines 6..36
src/components/menu/menu-label.js on lines 6..36
src/components/menu/menu-list.js on lines 6..36
src/components/menu/menu.js on lines 6..36
src/components/pagination/pagination.js on lines 6..36
src/layout/hero-body.js on lines 6..36
src/layout/hero-head.js on lines 6..36

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

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

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

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

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

Refactorings

Further Reading

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

export default class Section extends Component {
  static propTypes = {
    children: PropTypes.any,
    style: PropTypes.object,
    className: PropTypes.string,
Severity: Major
Found in src/layout/section.js and 1 other location - About 7 hrs to fix
src/layout/footer.js on lines 6..36

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

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

export default class Menu extends Component {
  static propTypes = {
    style: PropTypes.object,
    children: PropTypes.any,
    className: PropTypes.string,
Severity: Major
Found in src/components/menu/menu.js and 19 other locations - About 7 hrs to fix
src/components/card/card-content.js on lines 6..36
src/components/card/card-footer-item.js on lines 6..36
src/components/card/card-footer.js on lines 6..36
src/components/card/card-header-title.js on lines 6..36
src/components/card/card-header.js on lines 6..36
src/components/card/card-image.js on lines 6..36
src/components/heading/heading.js on lines 6..36
src/components/level/level-left.js on lines 6..36
src/components/level/level-right.js on lines 6..36
src/components/media/media-content.js on lines 6..36
src/components/media/media-left.js on lines 6..36
src/components/media/media-right.js on lines 6..36
src/components/media/media.js on lines 6..36
src/components/menu/menu-label.js on lines 6..36
src/components/menu/menu-list.js on lines 6..36
src/components/pagination/pagination.js on lines 6..36
src/layout/hero-body.js on lines 6..36
src/layout/hero-foot.js on lines 6..36
src/layout/hero-head.js on lines 6..36

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

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

export default class CardContent extends Component {
  static propTypes = {
    style: PropTypes.object,
    children: PropTypes.any,
    className: PropTypes.string,
Severity: Major
Found in src/components/card/card-content.js and 19 other locations - About 7 hrs to fix
src/components/card/card-footer-item.js on lines 6..36
src/components/card/card-footer.js on lines 6..36
src/components/card/card-header-title.js on lines 6..36
src/components/card/card-header.js on lines 6..36
src/components/card/card-image.js on lines 6..36
src/components/heading/heading.js on lines 6..36
src/components/level/level-left.js on lines 6..36
src/components/level/level-right.js on lines 6..36
src/components/media/media-content.js on lines 6..36
src/components/media/media-left.js on lines 6..36
src/components/media/media-right.js on lines 6..36
src/components/media/media.js on lines 6..36
src/components/menu/menu-label.js on lines 6..36
src/components/menu/menu-list.js on lines 6..36
src/components/menu/menu.js on lines 6..36
src/components/pagination/pagination.js on lines 6..36
src/layout/hero-body.js on lines 6..36
src/layout/hero-foot.js on lines 6..36
src/layout/hero-head.js on lines 6..36

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

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

export default class Pagination extends Component {
  static propTypes = {
    style: PropTypes.object,
    children: PropTypes.any,
    className: PropTypes.string,
Severity: Major
Found in src/components/pagination/pagination.js and 19 other locations - About 7 hrs to fix
src/components/card/card-content.js on lines 6..36
src/components/card/card-footer-item.js on lines 6..36
src/components/card/card-footer.js on lines 6..36
src/components/card/card-header-title.js on lines 6..36
src/components/card/card-header.js on lines 6..36
src/components/card/card-image.js on lines 6..36
src/components/heading/heading.js on lines 6..36
src/components/level/level-left.js on lines 6..36
src/components/level/level-right.js on lines 6..36
src/components/media/media-content.js on lines 6..36
src/components/media/media-left.js on lines 6..36
src/components/media/media-right.js on lines 6..36
src/components/media/media.js on lines 6..36
src/components/menu/menu-label.js on lines 6..36
src/components/menu/menu-list.js on lines 6..36
src/components/menu/menu.js on lines 6..36
src/layout/hero-body.js on lines 6..36
src/layout/hero-foot.js on lines 6..36
src/layout/hero-head.js on lines 6..36

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

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

export default class CardFooterItem extends Component {
  static propTypes = {
    style: PropTypes.object,
    children: PropTypes.any,
    className: PropTypes.string,
Severity: Major
Found in src/components/card/card-footer-item.js and 19 other locations - About 7 hrs to fix
src/components/card/card-content.js on lines 6..36
src/components/card/card-footer.js on lines 6..36
src/components/card/card-header-title.js on lines 6..36
src/components/card/card-header.js on lines 6..36
src/components/card/card-image.js on lines 6..36
src/components/heading/heading.js on lines 6..36
src/components/level/level-left.js on lines 6..36
src/components/level/level-right.js on lines 6..36
src/components/media/media-content.js on lines 6..36
src/components/media/media-left.js on lines 6..36
src/components/media/media-right.js on lines 6..36
src/components/media/media.js on lines 6..36
src/components/menu/menu-label.js on lines 6..36
src/components/menu/menu-list.js on lines 6..36
src/components/menu/menu.js on lines 6..36
src/components/pagination/pagination.js on lines 6..36
src/layout/hero-body.js on lines 6..36
src/layout/hero-foot.js on lines 6..36
src/layout/hero-head.js on lines 6..36

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

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

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

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

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

Refactorings

Further Reading

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

export default class Thead extends Component {
  static propTypes = {
    children: PropTypes.any,
    className: PropTypes.string,
    style: PropTypes.object,
Severity: Major
Found in src/elements/thead.js and 1 other location - About 7 hrs to fix
src/components/panel/panel-heading.js on lines 6..36

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

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

export default class CardFooter extends Component {
  static propTypes = {
    style: PropTypes.object,
    children: PropTypes.any,
    className: PropTypes.string,
Severity: Major
Found in src/components/card/card-footer.js and 19 other locations - About 7 hrs to fix
src/components/card/card-content.js on lines 6..36
src/components/card/card-footer-item.js on lines 6..36
src/components/card/card-header-title.js on lines 6..36
src/components/card/card-header.js on lines 6..36
src/components/card/card-image.js on lines 6..36
src/components/heading/heading.js on lines 6..36
src/components/level/level-left.js on lines 6..36
src/components/level/level-right.js on lines 6..36
src/components/media/media-content.js on lines 6..36
src/components/media/media-left.js on lines 6..36
src/components/media/media-right.js on lines 6..36
src/components/media/media.js on lines 6..36
src/components/menu/menu-label.js on lines 6..36
src/components/menu/menu-list.js on lines 6..36
src/components/menu/menu.js on lines 6..36
src/components/pagination/pagination.js on lines 6..36
src/layout/hero-body.js on lines 6..36
src/layout/hero-foot.js on lines 6..36
src/layout/hero-head.js on lines 6..36

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

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

export default class MediaRight extends Component {
  static propTypes = {
    style: PropTypes.object,
    children: PropTypes.any,
    className: PropTypes.string,
Severity: Major
Found in src/components/media/media-right.js and 19 other locations - About 7 hrs to fix
src/components/card/card-content.js on lines 6..36
src/components/card/card-footer-item.js on lines 6..36
src/components/card/card-footer.js on lines 6..36
src/components/card/card-header-title.js on lines 6..36
src/components/card/card-header.js on lines 6..36
src/components/card/card-image.js on lines 6..36
src/components/heading/heading.js on lines 6..36
src/components/level/level-left.js on lines 6..36
src/components/level/level-right.js on lines 6..36
src/components/media/media-content.js on lines 6..36
src/components/media/media-left.js on lines 6..36
src/components/media/media.js on lines 6..36
src/components/menu/menu-label.js on lines 6..36
src/components/menu/menu-list.js on lines 6..36
src/components/menu/menu.js on lines 6..36
src/components/pagination/pagination.js on lines 6..36
src/layout/hero-body.js on lines 6..36
src/layout/hero-foot.js on lines 6..36
src/layout/hero-head.js on lines 6..36

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

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

export default class MediaContent extends Component {
  static propTypes = {
    style: PropTypes.object,
    children: PropTypes.any,
    className: PropTypes.string,
Severity: Major
Found in src/components/media/media-content.js and 19 other locations - About 7 hrs to fix
src/components/card/card-content.js on lines 6..36
src/components/card/card-footer-item.js on lines 6..36
src/components/card/card-footer.js on lines 6..36
src/components/card/card-header-title.js on lines 6..36
src/components/card/card-header.js on lines 6..36
src/components/card/card-image.js on lines 6..36
src/components/heading/heading.js on lines 6..36
src/components/level/level-left.js on lines 6..36
src/components/level/level-right.js on lines 6..36
src/components/media/media-left.js on lines 6..36
src/components/media/media-right.js on lines 6..36
src/components/media/media.js on lines 6..36
src/components/menu/menu-label.js on lines 6..36
src/components/menu/menu-list.js on lines 6..36
src/components/menu/menu.js on lines 6..36
src/components/pagination/pagination.js on lines 6..36
src/layout/hero-body.js on lines 6..36
src/layout/hero-foot.js on lines 6..36
src/layout/hero-head.js on lines 6..36

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

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

export default class CardHeaderTitle extends Component {
  static propTypes = {
    style: PropTypes.object,
    children: PropTypes.any,
    className: PropTypes.string,
Severity: Major
Found in src/components/card/card-header-title.js and 19 other locations - About 7 hrs to fix
src/components/card/card-content.js on lines 6..36
src/components/card/card-footer-item.js on lines 6..36
src/components/card/card-footer.js on lines 6..36
src/components/card/card-header.js on lines 6..36
src/components/card/card-image.js on lines 6..36
src/components/heading/heading.js on lines 6..36
src/components/level/level-left.js on lines 6..36
src/components/level/level-right.js on lines 6..36
src/components/media/media-content.js on lines 6..36
src/components/media/media-left.js on lines 6..36
src/components/media/media-right.js on lines 6..36
src/components/media/media.js on lines 6..36
src/components/menu/menu-label.js on lines 6..36
src/components/menu/menu-list.js on lines 6..36
src/components/menu/menu.js on lines 6..36
src/components/pagination/pagination.js on lines 6..36
src/layout/hero-body.js on lines 6..36
src/layout/hero-foot.js on lines 6..36
src/layout/hero-head.js on lines 6..36

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

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

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

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

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

Refactorings

Further Reading

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

export default class Title extends Component {
  static propTypes = {
    children: PropTypes.any,
    className: PropTypes.string,
    size: PropTypes.oneOf([
Severity: Major
Found in src/elements/title.js and 1 other location - About 6 hrs to fix
src/elements/subtitle.js on lines 5..38

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

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

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

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

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

Refactorings

Further Reading

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

export default class Subtitle extends Component {
  static propTypes = {
    children: PropTypes.any,
    className: PropTypes.string,
    size: PropTypes.oneOf([
Severity: Major
Found in src/elements/subtitle.js and 1 other location - About 6 hrs to fix
src/elements/title.js on lines 5..38

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

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

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

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

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

Refactorings

Further Reading

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

export default class Th extends Component {
  static propTypes = {
    children: PropTypes.any,
    className: PropTypes.string,
    style: PropTypes.object,
Severity: Major
Found in src/elements/th.js and 3 other locations - About 6 hrs to fix
src/elements/tbody.js on lines 6..35
src/elements/tfoot.js on lines 6..35
src/elements/tr.js on lines 6..35

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

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

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

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

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

Refactorings

Further Reading

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

export default class Tr extends Component {
  static propTypes = {
    children: PropTypes.any,
    className: PropTypes.string,
    style: PropTypes.object,
Severity: Major
Found in src/elements/tr.js and 3 other locations - About 6 hrs to fix
src/elements/tbody.js on lines 6..35
src/elements/tfoot.js on lines 6..35
src/elements/th.js on lines 6..35

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

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

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

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

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

Refactorings

Further Reading

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

export default class Tfoot extends Component {
  static propTypes = {
    children: PropTypes.any,
    className: PropTypes.string,
    style: PropTypes.object,
Severity: Major
Found in src/elements/tfoot.js and 3 other locations - About 6 hrs to fix
src/elements/tbody.js on lines 6..35
src/elements/th.js on lines 6..35
src/elements/tr.js on lines 6..35

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

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