bokuweb/re-bulma

View on GitHub

Showing 299 of 374 total issues

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

export default class HeroHead extends Component {

  createClassName() {
    return [styles.heroHead, this.props.className].join(' ').trim();
  }
Severity: Major
Found in lib-es/layout/hero-head.js and 21 other locations - About 4 hrs to fix
lib-es/components/card/card-content.js on lines 8..24
lib-es/components/card/card-footer-item.js on lines 8..24
lib-es/components/card/card-footer.js on lines 8..24
lib-es/components/card/card-header-title.js on lines 8..24
lib-es/components/card/card-header.js on lines 8..24
lib-es/components/card/card-image.js on lines 8..24
lib-es/components/heading/heading.js on lines 8..24
lib-es/components/level/level-left.js on lines 8..24
lib-es/components/level/level-right.js on lines 8..24
lib-es/components/media/media-content.js on lines 8..24
lib-es/components/media/media-left.js on lines 8..24
lib-es/components/media/media-right.js on lines 8..24
lib-es/components/media/media.js on lines 8..24
lib-es/components/menu/menu-label.js on lines 8..24
lib-es/components/menu/menu-list.js on lines 8..24
lib-es/components/menu/menu.js on lines 8..24
lib-es/components/nav/nav-container.js on lines 8..24
lib-es/components/pagination/pagination.js on lines 8..24
lib-es/components/panel/panel.js on lines 8..24
lib-es/layout/hero-body.js on lines 8..24
lib-es/layout/hero-foot.js on lines 8..24

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

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

export default class CardHeaderTitle extends Component {

  createClassName() {
    return [styles.cardHeaderTitle, this.props.className].join(' ').trim();
  }
Severity: Major
Found in lib-es/components/card/card-header-title.js and 21 other locations - About 4 hrs to fix
lib-es/components/card/card-content.js on lines 8..24
lib-es/components/card/card-footer-item.js on lines 8..24
lib-es/components/card/card-footer.js on lines 8..24
lib-es/components/card/card-header.js on lines 8..24
lib-es/components/card/card-image.js on lines 8..24
lib-es/components/heading/heading.js on lines 8..24
lib-es/components/level/level-left.js on lines 8..24
lib-es/components/level/level-right.js on lines 8..24
lib-es/components/media/media-content.js on lines 8..24
lib-es/components/media/media-left.js on lines 8..24
lib-es/components/media/media-right.js on lines 8..24
lib-es/components/media/media.js on lines 8..24
lib-es/components/menu/menu-label.js on lines 8..24
lib-es/components/menu/menu-list.js on lines 8..24
lib-es/components/menu/menu.js on lines 8..24
lib-es/components/nav/nav-container.js on lines 8..24
lib-es/components/pagination/pagination.js on lines 8..24
lib-es/components/panel/panel.js on lines 8..24
lib-es/layout/hero-body.js on lines 8..24
lib-es/layout/hero-foot.js on lines 8..24
lib-es/layout/hero-head.js on lines 8..24

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

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

export default class Tr extends Component {

  createClassName() {
    return [styles.tr, this.props.className].join(' ').trim();
  }
Severity: Major
Found in lib-es/elements/tr.js and 7 other locations - About 4 hrs to fix
lib-es/components/panel/panel-heading.js on lines 8..24
lib-es/elements/tbody.js on lines 8..24
lib-es/elements/tfoot.js on lines 8..24
lib-es/elements/th.js on lines 8..24
lib-es/elements/thead.js on lines 8..24
lib-es/layout/footer.js on lines 8..24
lib-es/layout/section.js on lines 8..24

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

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

export default class LevelRight extends Component {

  createClassName() {
    return [styles.levelRight, this.props.className].join(' ').trim();
  }
Severity: Major
Found in lib-es/components/level/level-right.js and 21 other locations - About 4 hrs to fix
lib-es/components/card/card-content.js on lines 8..24
lib-es/components/card/card-footer-item.js on lines 8..24
lib-es/components/card/card-footer.js on lines 8..24
lib-es/components/card/card-header-title.js on lines 8..24
lib-es/components/card/card-header.js on lines 8..24
lib-es/components/card/card-image.js on lines 8..24
lib-es/components/heading/heading.js on lines 8..24
lib-es/components/level/level-left.js on lines 8..24
lib-es/components/media/media-content.js on lines 8..24
lib-es/components/media/media-left.js on lines 8..24
lib-es/components/media/media-right.js on lines 8..24
lib-es/components/media/media.js on lines 8..24
lib-es/components/menu/menu-label.js on lines 8..24
lib-es/components/menu/menu-list.js on lines 8..24
lib-es/components/menu/menu.js on lines 8..24
lib-es/components/nav/nav-container.js on lines 8..24
lib-es/components/pagination/pagination.js on lines 8..24
lib-es/components/panel/panel.js on lines 8..24
lib-es/layout/hero-body.js on lines 8..24
lib-es/layout/hero-foot.js on lines 8..24
lib-es/layout/hero-head.js on lines 8..24

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

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

export default class HeroFoot extends Component {

  createClassName() {
    return [styles.heroFoot, this.props.className].join(' ').trim();
  }
Severity: Major
Found in lib-es/layout/hero-foot.js and 21 other locations - About 4 hrs to fix
lib-es/components/card/card-content.js on lines 8..24
lib-es/components/card/card-footer-item.js on lines 8..24
lib-es/components/card/card-footer.js on lines 8..24
lib-es/components/card/card-header-title.js on lines 8..24
lib-es/components/card/card-header.js on lines 8..24
lib-es/components/card/card-image.js on lines 8..24
lib-es/components/heading/heading.js on lines 8..24
lib-es/components/level/level-left.js on lines 8..24
lib-es/components/level/level-right.js on lines 8..24
lib-es/components/media/media-content.js on lines 8..24
lib-es/components/media/media-left.js on lines 8..24
lib-es/components/media/media-right.js on lines 8..24
lib-es/components/media/media.js on lines 8..24
lib-es/components/menu/menu-label.js on lines 8..24
lib-es/components/menu/menu-list.js on lines 8..24
lib-es/components/menu/menu.js on lines 8..24
lib-es/components/nav/nav-container.js on lines 8..24
lib-es/components/pagination/pagination.js on lines 8..24
lib-es/components/panel/panel.js on lines 8..24
lib-es/layout/hero-body.js on lines 8..24
lib-es/layout/hero-head.js on lines 8..24

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

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

export default class Tbody extends Component {

  createClassName() {
    return [styles.tr, this.props.className].join(' ').trim();
  }
Severity: Major
Found in lib-es/elements/tbody.js and 7 other locations - About 4 hrs to fix
lib-es/components/panel/panel-heading.js on lines 8..24
lib-es/elements/tfoot.js on lines 8..24
lib-es/elements/th.js on lines 8..24
lib-es/elements/thead.js on lines 8..24
lib-es/elements/tr.js on lines 8..24
lib-es/layout/footer.js on lines 8..24
lib-es/layout/section.js on lines 8..24

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

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

export default class MediaRight extends Component {

  createClassName() {
    return [styles.mediaRight, this.props.className].join(' ').trim();
  }
Severity: Major
Found in lib-es/components/media/media-right.js and 21 other locations - About 4 hrs to fix
lib-es/components/card/card-content.js on lines 8..24
lib-es/components/card/card-footer-item.js on lines 8..24
lib-es/components/card/card-footer.js on lines 8..24
lib-es/components/card/card-header-title.js on lines 8..24
lib-es/components/card/card-header.js on lines 8..24
lib-es/components/card/card-image.js on lines 8..24
lib-es/components/heading/heading.js on lines 8..24
lib-es/components/level/level-left.js on lines 8..24
lib-es/components/level/level-right.js on lines 8..24
lib-es/components/media/media-content.js on lines 8..24
lib-es/components/media/media-left.js on lines 8..24
lib-es/components/media/media.js on lines 8..24
lib-es/components/menu/menu-label.js on lines 8..24
lib-es/components/menu/menu-list.js on lines 8..24
lib-es/components/menu/menu.js on lines 8..24
lib-es/components/nav/nav-container.js on lines 8..24
lib-es/components/pagination/pagination.js on lines 8..24
lib-es/components/panel/panel.js on lines 8..24
lib-es/layout/hero-body.js on lines 8..24
lib-es/layout/hero-foot.js on lines 8..24
lib-es/layout/hero-head.js on lines 8..24

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

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

export default class HeroBody extends Component {

  createClassName() {
    return [styles.heroBody, this.props.className].join(' ').trim();
  }
Severity: Major
Found in lib-es/layout/hero-body.js and 21 other locations - About 4 hrs to fix
lib-es/components/card/card-content.js on lines 8..24
lib-es/components/card/card-footer-item.js on lines 8..24
lib-es/components/card/card-footer.js on lines 8..24
lib-es/components/card/card-header-title.js on lines 8..24
lib-es/components/card/card-header.js on lines 8..24
lib-es/components/card/card-image.js on lines 8..24
lib-es/components/heading/heading.js on lines 8..24
lib-es/components/level/level-left.js on lines 8..24
lib-es/components/level/level-right.js on lines 8..24
lib-es/components/media/media-content.js on lines 8..24
lib-es/components/media/media-left.js on lines 8..24
lib-es/components/media/media-right.js on lines 8..24
lib-es/components/media/media.js on lines 8..24
lib-es/components/menu/menu-label.js on lines 8..24
lib-es/components/menu/menu-list.js on lines 8..24
lib-es/components/menu/menu.js on lines 8..24
lib-es/components/nav/nav-container.js on lines 8..24
lib-es/components/pagination/pagination.js on lines 8..24
lib-es/components/panel/panel.js on lines 8..24
lib-es/layout/hero-foot.js on lines 8..24
lib-es/layout/hero-head.js on lines 8..24

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

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

export default class MediaLeft extends Component {

  createClassName() {
    return [styles.mediaLeft, this.props.className].join(' ').trim();
  }
Severity: Major
Found in lib-es/components/media/media-left.js and 21 other locations - About 4 hrs to fix
lib-es/components/card/card-content.js on lines 8..24
lib-es/components/card/card-footer-item.js on lines 8..24
lib-es/components/card/card-footer.js on lines 8..24
lib-es/components/card/card-header-title.js on lines 8..24
lib-es/components/card/card-header.js on lines 8..24
lib-es/components/card/card-image.js on lines 8..24
lib-es/components/heading/heading.js on lines 8..24
lib-es/components/level/level-left.js on lines 8..24
lib-es/components/level/level-right.js on lines 8..24
lib-es/components/media/media-content.js on lines 8..24
lib-es/components/media/media-right.js on lines 8..24
lib-es/components/media/media.js on lines 8..24
lib-es/components/menu/menu-label.js on lines 8..24
lib-es/components/menu/menu-list.js on lines 8..24
lib-es/components/menu/menu.js on lines 8..24
lib-es/components/nav/nav-container.js on lines 8..24
lib-es/components/pagination/pagination.js on lines 8..24
lib-es/components/panel/panel.js on lines 8..24
lib-es/layout/hero-body.js on lines 8..24
lib-es/layout/hero-foot.js on lines 8..24
lib-es/layout/hero-head.js on lines 8..24

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

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

export default class Thead extends Component {

  createClassName() {
    return [styles.tr, this.props.className].join(' ').trim();
  }
Severity: Major
Found in lib-es/elements/thead.js and 7 other locations - About 4 hrs to fix
lib-es/components/panel/panel-heading.js on lines 8..24
lib-es/elements/tbody.js on lines 8..24
lib-es/elements/tfoot.js on lines 8..24
lib-es/elements/th.js on lines 8..24
lib-es/elements/tr.js on lines 8..24
lib-es/layout/footer.js on lines 8..24
lib-es/layout/section.js on lines 8..24

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

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

export default class Footer extends Component {

  createClassName() {
    return [styles.footer, this.props.className].join(' ').trim();
  }
Severity: Major
Found in lib-es/layout/footer.js and 7 other locations - About 4 hrs to fix
lib-es/components/panel/panel-heading.js on lines 8..24
lib-es/elements/tbody.js on lines 8..24
lib-es/elements/tfoot.js on lines 8..24
lib-es/elements/th.js on lines 8..24
lib-es/elements/thead.js on lines 8..24
lib-es/elements/tr.js on lines 8..24
lib-es/layout/section.js on lines 8..24

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

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 {

  createClassName() {
    return [styles.subtitle, styles[this.props.size], this.props.className].join(' ').trim();
  }
Severity: Major
Found in lib-es/elements/subtitle.js and 1 other location - About 4 hrs to fix
lib-es/elements/title.js on lines 7..20

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

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 {

  createClassName() {
    return [styles.title, styles[this.props.size], this.props.className].join(' ').trim();
  }
Severity: Major
Found in lib-es/elements/title.js and 1 other location - About 4 hrs to fix
lib-es/elements/subtitle.js on lines 7..20

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

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

var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
Severity: Major
Found in lib-es/elements/notification.js and 72 other locations - About 3 hrs to fix
lib-es/components/card/card-content.js on lines 1..1
lib-es/components/card/card-footer-item.js on lines 1..1
lib-es/components/card/card-footer.js on lines 1..1
lib-es/components/card/card-header-icon.js on lines 1..1
lib-es/components/card/card-header-title.js on lines 1..1
lib-es/components/card/card-header.js on lines 1..1
lib-es/components/card/card-image.js on lines 1..1
lib-es/components/card/card.js on lines 1..1
lib-es/components/heading/heading.js on lines 1..1
lib-es/components/level/level-item.js on lines 1..1
lib-es/components/level/level-left.js on lines 1..1
lib-es/components/level/level-right.js on lines 1..1
lib-es/components/level/level.js on lines 1..1
lib-es/components/media/media-content.js on lines 1..1
lib-es/components/media/media-left.js on lines 1..1
lib-es/components/media/media-right.js on lines 1..1
lib-es/components/media/media.js on lines 1..1
lib-es/components/menu/menu-label.js on lines 1..1
lib-es/components/menu/menu-link.js on lines 1..1
lib-es/components/menu/menu-list.js on lines 1..1
lib-es/components/menu/menu.js on lines 1..1
lib-es/components/message/message.js on lines 1..1
lib-es/components/modal/modal.js on lines 1..1
lib-es/components/nav/nav-container.js on lines 1..1
lib-es/components/nav/nav-group.js on lines 1..1
lib-es/components/nav/nav-item.js on lines 1..1
lib-es/components/nav/nav-toggle.js on lines 1..1
lib-es/components/nav/nav.js on lines 1..1
lib-es/components/pagination/page-button.js on lines 1..1
lib-es/components/pagination/pagination.js on lines 1..1
lib-es/components/panel/panel-block.js on lines 1..1
lib-es/components/panel/panel-heading.js on lines 1..1
lib-es/components/panel/panel-tabs.js on lines 1..1
lib-es/components/panel/panel.js on lines 1..1
lib-es/components/tabs/tab-group.js on lines 1..1
lib-es/components/tabs/tab.js on lines 1..1
lib-es/components/tabs/tabs.js on lines 1..1
lib-es/elements/addons.js on lines 1..1
lib-es/elements/box.js on lines 1..1
lib-es/elements/button.js on lines 1..1
lib-es/elements/content.js on lines 1..1
lib-es/elements/forms/control-label.js on lines 1..1
lib-es/elements/forms/form-horizontal.js on lines 1..1
lib-es/elements/forms/input.js on lines 1..1
lib-es/elements/forms/radio.js on lines 1..1
lib-es/elements/forms/select.js on lines 1..1
lib-es/elements/forms/textarea.js on lines 1..1
lib-es/elements/group.js on lines 1..1
lib-es/elements/icon.js on lines 1..1
lib-es/elements/image.js on lines 1..1
lib-es/elements/label.js on lines 1..1
lib-es/elements/progress.js on lines 1..1
lib-es/elements/subtitle.js on lines 1..1
lib-es/elements/table.js on lines 1..1
lib-es/elements/tag.js on lines 1..1
lib-es/elements/tbody.js on lines 1..1
lib-es/elements/td.js on lines 1..1
lib-es/elements/tfoot.js on lines 1..1
lib-es/elements/th.js on lines 1..1
lib-es/elements/thead.js on lines 1..1
lib-es/elements/title.js on lines 1..1
lib-es/elements/tr.js on lines 1..1
lib-es/grid/column.js on lines 1..1
lib-es/grid/columns.js on lines 1..1
lib-es/grid/tile/tile.js on lines 1..1
lib-es/layout/container.js on lines 1..1
lib-es/layout/footer.js on lines 1..1
lib-es/layout/hero-body.js on lines 1..1
lib-es/layout/hero-foot.js on lines 1..1
lib-es/layout/hero-head.js on lines 1..1
lib-es/layout/hero.js on lines 1..1
lib-es/layout/section.js on lines 1..1

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

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

var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
Severity: Major
Found in lib-es/elements/tag.js and 72 other locations - About 3 hrs to fix
lib-es/components/card/card-content.js on lines 1..1
lib-es/components/card/card-footer-item.js on lines 1..1
lib-es/components/card/card-footer.js on lines 1..1
lib-es/components/card/card-header-icon.js on lines 1..1
lib-es/components/card/card-header-title.js on lines 1..1
lib-es/components/card/card-header.js on lines 1..1
lib-es/components/card/card-image.js on lines 1..1
lib-es/components/card/card.js on lines 1..1
lib-es/components/heading/heading.js on lines 1..1
lib-es/components/level/level-item.js on lines 1..1
lib-es/components/level/level-left.js on lines 1..1
lib-es/components/level/level-right.js on lines 1..1
lib-es/components/level/level.js on lines 1..1
lib-es/components/media/media-content.js on lines 1..1
lib-es/components/media/media-left.js on lines 1..1
lib-es/components/media/media-right.js on lines 1..1
lib-es/components/media/media.js on lines 1..1
lib-es/components/menu/menu-label.js on lines 1..1
lib-es/components/menu/menu-link.js on lines 1..1
lib-es/components/menu/menu-list.js on lines 1..1
lib-es/components/menu/menu.js on lines 1..1
lib-es/components/message/message.js on lines 1..1
lib-es/components/modal/modal.js on lines 1..1
lib-es/components/nav/nav-container.js on lines 1..1
lib-es/components/nav/nav-group.js on lines 1..1
lib-es/components/nav/nav-item.js on lines 1..1
lib-es/components/nav/nav-toggle.js on lines 1..1
lib-es/components/nav/nav.js on lines 1..1
lib-es/components/pagination/page-button.js on lines 1..1
lib-es/components/pagination/pagination.js on lines 1..1
lib-es/components/panel/panel-block.js on lines 1..1
lib-es/components/panel/panel-heading.js on lines 1..1
lib-es/components/panel/panel-tabs.js on lines 1..1
lib-es/components/panel/panel.js on lines 1..1
lib-es/components/tabs/tab-group.js on lines 1..1
lib-es/components/tabs/tab.js on lines 1..1
lib-es/components/tabs/tabs.js on lines 1..1
lib-es/elements/addons.js on lines 1..1
lib-es/elements/box.js on lines 1..1
lib-es/elements/button.js on lines 1..1
lib-es/elements/content.js on lines 1..1
lib-es/elements/forms/control-label.js on lines 1..1
lib-es/elements/forms/form-horizontal.js on lines 1..1
lib-es/elements/forms/input.js on lines 1..1
lib-es/elements/forms/radio.js on lines 1..1
lib-es/elements/forms/select.js on lines 1..1
lib-es/elements/forms/textarea.js on lines 1..1
lib-es/elements/group.js on lines 1..1
lib-es/elements/icon.js on lines 1..1
lib-es/elements/image.js on lines 1..1
lib-es/elements/label.js on lines 1..1
lib-es/elements/notification.js on lines 1..1
lib-es/elements/progress.js on lines 1..1
lib-es/elements/subtitle.js on lines 1..1
lib-es/elements/table.js on lines 1..1
lib-es/elements/tbody.js on lines 1..1
lib-es/elements/td.js on lines 1..1
lib-es/elements/tfoot.js on lines 1..1
lib-es/elements/th.js on lines 1..1
lib-es/elements/thead.js on lines 1..1
lib-es/elements/title.js on lines 1..1
lib-es/elements/tr.js on lines 1..1
lib-es/grid/column.js on lines 1..1
lib-es/grid/columns.js on lines 1..1
lib-es/grid/tile/tile.js on lines 1..1
lib-es/layout/container.js on lines 1..1
lib-es/layout/footer.js on lines 1..1
lib-es/layout/hero-body.js on lines 1..1
lib-es/layout/hero-foot.js on lines 1..1
lib-es/layout/hero-head.js on lines 1..1
lib-es/layout/hero.js on lines 1..1
lib-es/layout/section.js on lines 1..1

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

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

var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
Severity: Major
Found in lib-es/components/pagination/pagination.js and 72 other locations - About 3 hrs to fix
lib-es/components/card/card-content.js on lines 1..1
lib-es/components/card/card-footer-item.js on lines 1..1
lib-es/components/card/card-footer.js on lines 1..1
lib-es/components/card/card-header-icon.js on lines 1..1
lib-es/components/card/card-header-title.js on lines 1..1
lib-es/components/card/card-header.js on lines 1..1
lib-es/components/card/card-image.js on lines 1..1
lib-es/components/card/card.js on lines 1..1
lib-es/components/heading/heading.js on lines 1..1
lib-es/components/level/level-item.js on lines 1..1
lib-es/components/level/level-left.js on lines 1..1
lib-es/components/level/level-right.js on lines 1..1
lib-es/components/level/level.js on lines 1..1
lib-es/components/media/media-content.js on lines 1..1
lib-es/components/media/media-left.js on lines 1..1
lib-es/components/media/media-right.js on lines 1..1
lib-es/components/media/media.js on lines 1..1
lib-es/components/menu/menu-label.js on lines 1..1
lib-es/components/menu/menu-link.js on lines 1..1
lib-es/components/menu/menu-list.js on lines 1..1
lib-es/components/menu/menu.js on lines 1..1
lib-es/components/message/message.js on lines 1..1
lib-es/components/modal/modal.js on lines 1..1
lib-es/components/nav/nav-container.js on lines 1..1
lib-es/components/nav/nav-group.js on lines 1..1
lib-es/components/nav/nav-item.js on lines 1..1
lib-es/components/nav/nav-toggle.js on lines 1..1
lib-es/components/nav/nav.js on lines 1..1
lib-es/components/pagination/page-button.js on lines 1..1
lib-es/components/panel/panel-block.js on lines 1..1
lib-es/components/panel/panel-heading.js on lines 1..1
lib-es/components/panel/panel-tabs.js on lines 1..1
lib-es/components/panel/panel.js on lines 1..1
lib-es/components/tabs/tab-group.js on lines 1..1
lib-es/components/tabs/tab.js on lines 1..1
lib-es/components/tabs/tabs.js on lines 1..1
lib-es/elements/addons.js on lines 1..1
lib-es/elements/box.js on lines 1..1
lib-es/elements/button.js on lines 1..1
lib-es/elements/content.js on lines 1..1
lib-es/elements/forms/control-label.js on lines 1..1
lib-es/elements/forms/form-horizontal.js on lines 1..1
lib-es/elements/forms/input.js on lines 1..1
lib-es/elements/forms/radio.js on lines 1..1
lib-es/elements/forms/select.js on lines 1..1
lib-es/elements/forms/textarea.js on lines 1..1
lib-es/elements/group.js on lines 1..1
lib-es/elements/icon.js on lines 1..1
lib-es/elements/image.js on lines 1..1
lib-es/elements/label.js on lines 1..1
lib-es/elements/notification.js on lines 1..1
lib-es/elements/progress.js on lines 1..1
lib-es/elements/subtitle.js on lines 1..1
lib-es/elements/table.js on lines 1..1
lib-es/elements/tag.js on lines 1..1
lib-es/elements/tbody.js on lines 1..1
lib-es/elements/td.js on lines 1..1
lib-es/elements/tfoot.js on lines 1..1
lib-es/elements/th.js on lines 1..1
lib-es/elements/thead.js on lines 1..1
lib-es/elements/title.js on lines 1..1
lib-es/elements/tr.js on lines 1..1
lib-es/grid/column.js on lines 1..1
lib-es/grid/columns.js on lines 1..1
lib-es/grid/tile/tile.js on lines 1..1
lib-es/layout/container.js on lines 1..1
lib-es/layout/footer.js on lines 1..1
lib-es/layout/hero-body.js on lines 1..1
lib-es/layout/hero-foot.js on lines 1..1
lib-es/layout/hero-head.js on lines 1..1
lib-es/layout/hero.js on lines 1..1
lib-es/layout/section.js on lines 1..1

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

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

var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
Severity: Major
Found in lib-es/components/media/media-left.js and 72 other locations - About 3 hrs to fix
lib-es/components/card/card-content.js on lines 1..1
lib-es/components/card/card-footer-item.js on lines 1..1
lib-es/components/card/card-footer.js on lines 1..1
lib-es/components/card/card-header-icon.js on lines 1..1
lib-es/components/card/card-header-title.js on lines 1..1
lib-es/components/card/card-header.js on lines 1..1
lib-es/components/card/card-image.js on lines 1..1
lib-es/components/card/card.js on lines 1..1
lib-es/components/heading/heading.js on lines 1..1
lib-es/components/level/level-item.js on lines 1..1
lib-es/components/level/level-left.js on lines 1..1
lib-es/components/level/level-right.js on lines 1..1
lib-es/components/level/level.js on lines 1..1
lib-es/components/media/media-content.js on lines 1..1
lib-es/components/media/media-right.js on lines 1..1
lib-es/components/media/media.js on lines 1..1
lib-es/components/menu/menu-label.js on lines 1..1
lib-es/components/menu/menu-link.js on lines 1..1
lib-es/components/menu/menu-list.js on lines 1..1
lib-es/components/menu/menu.js on lines 1..1
lib-es/components/message/message.js on lines 1..1
lib-es/components/modal/modal.js on lines 1..1
lib-es/components/nav/nav-container.js on lines 1..1
lib-es/components/nav/nav-group.js on lines 1..1
lib-es/components/nav/nav-item.js on lines 1..1
lib-es/components/nav/nav-toggle.js on lines 1..1
lib-es/components/nav/nav.js on lines 1..1
lib-es/components/pagination/page-button.js on lines 1..1
lib-es/components/pagination/pagination.js on lines 1..1
lib-es/components/panel/panel-block.js on lines 1..1
lib-es/components/panel/panel-heading.js on lines 1..1
lib-es/components/panel/panel-tabs.js on lines 1..1
lib-es/components/panel/panel.js on lines 1..1
lib-es/components/tabs/tab-group.js on lines 1..1
lib-es/components/tabs/tab.js on lines 1..1
lib-es/components/tabs/tabs.js on lines 1..1
lib-es/elements/addons.js on lines 1..1
lib-es/elements/box.js on lines 1..1
lib-es/elements/button.js on lines 1..1
lib-es/elements/content.js on lines 1..1
lib-es/elements/forms/control-label.js on lines 1..1
lib-es/elements/forms/form-horizontal.js on lines 1..1
lib-es/elements/forms/input.js on lines 1..1
lib-es/elements/forms/radio.js on lines 1..1
lib-es/elements/forms/select.js on lines 1..1
lib-es/elements/forms/textarea.js on lines 1..1
lib-es/elements/group.js on lines 1..1
lib-es/elements/icon.js on lines 1..1
lib-es/elements/image.js on lines 1..1
lib-es/elements/label.js on lines 1..1
lib-es/elements/notification.js on lines 1..1
lib-es/elements/progress.js on lines 1..1
lib-es/elements/subtitle.js on lines 1..1
lib-es/elements/table.js on lines 1..1
lib-es/elements/tag.js on lines 1..1
lib-es/elements/tbody.js on lines 1..1
lib-es/elements/td.js on lines 1..1
lib-es/elements/tfoot.js on lines 1..1
lib-es/elements/th.js on lines 1..1
lib-es/elements/thead.js on lines 1..1
lib-es/elements/title.js on lines 1..1
lib-es/elements/tr.js on lines 1..1
lib-es/grid/column.js on lines 1..1
lib-es/grid/columns.js on lines 1..1
lib-es/grid/tile/tile.js on lines 1..1
lib-es/layout/container.js on lines 1..1
lib-es/layout/footer.js on lines 1..1
lib-es/layout/hero-body.js on lines 1..1
lib-es/layout/hero-foot.js on lines 1..1
lib-es/layout/hero-head.js on lines 1..1
lib-es/layout/hero.js on lines 1..1
lib-es/layout/section.js on lines 1..1

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

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

var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
Severity: Major
Found in lib-es/elements/box.js and 72 other locations - About 3 hrs to fix
lib-es/components/card/card-content.js on lines 1..1
lib-es/components/card/card-footer-item.js on lines 1..1
lib-es/components/card/card-footer.js on lines 1..1
lib-es/components/card/card-header-icon.js on lines 1..1
lib-es/components/card/card-header-title.js on lines 1..1
lib-es/components/card/card-header.js on lines 1..1
lib-es/components/card/card-image.js on lines 1..1
lib-es/components/card/card.js on lines 1..1
lib-es/components/heading/heading.js on lines 1..1
lib-es/components/level/level-item.js on lines 1..1
lib-es/components/level/level-left.js on lines 1..1
lib-es/components/level/level-right.js on lines 1..1
lib-es/components/level/level.js on lines 1..1
lib-es/components/media/media-content.js on lines 1..1
lib-es/components/media/media-left.js on lines 1..1
lib-es/components/media/media-right.js on lines 1..1
lib-es/components/media/media.js on lines 1..1
lib-es/components/menu/menu-label.js on lines 1..1
lib-es/components/menu/menu-link.js on lines 1..1
lib-es/components/menu/menu-list.js on lines 1..1
lib-es/components/menu/menu.js on lines 1..1
lib-es/components/message/message.js on lines 1..1
lib-es/components/modal/modal.js on lines 1..1
lib-es/components/nav/nav-container.js on lines 1..1
lib-es/components/nav/nav-group.js on lines 1..1
lib-es/components/nav/nav-item.js on lines 1..1
lib-es/components/nav/nav-toggle.js on lines 1..1
lib-es/components/nav/nav.js on lines 1..1
lib-es/components/pagination/page-button.js on lines 1..1
lib-es/components/pagination/pagination.js on lines 1..1
lib-es/components/panel/panel-block.js on lines 1..1
lib-es/components/panel/panel-heading.js on lines 1..1
lib-es/components/panel/panel-tabs.js on lines 1..1
lib-es/components/panel/panel.js on lines 1..1
lib-es/components/tabs/tab-group.js on lines 1..1
lib-es/components/tabs/tab.js on lines 1..1
lib-es/components/tabs/tabs.js on lines 1..1
lib-es/elements/addons.js on lines 1..1
lib-es/elements/button.js on lines 1..1
lib-es/elements/content.js on lines 1..1
lib-es/elements/forms/control-label.js on lines 1..1
lib-es/elements/forms/form-horizontal.js on lines 1..1
lib-es/elements/forms/input.js on lines 1..1
lib-es/elements/forms/radio.js on lines 1..1
lib-es/elements/forms/select.js on lines 1..1
lib-es/elements/forms/textarea.js on lines 1..1
lib-es/elements/group.js on lines 1..1
lib-es/elements/icon.js on lines 1..1
lib-es/elements/image.js on lines 1..1
lib-es/elements/label.js on lines 1..1
lib-es/elements/notification.js on lines 1..1
lib-es/elements/progress.js on lines 1..1
lib-es/elements/subtitle.js on lines 1..1
lib-es/elements/table.js on lines 1..1
lib-es/elements/tag.js on lines 1..1
lib-es/elements/tbody.js on lines 1..1
lib-es/elements/td.js on lines 1..1
lib-es/elements/tfoot.js on lines 1..1
lib-es/elements/th.js on lines 1..1
lib-es/elements/thead.js on lines 1..1
lib-es/elements/title.js on lines 1..1
lib-es/elements/tr.js on lines 1..1
lib-es/grid/column.js on lines 1..1
lib-es/grid/columns.js on lines 1..1
lib-es/grid/tile/tile.js on lines 1..1
lib-es/layout/container.js on lines 1..1
lib-es/layout/footer.js on lines 1..1
lib-es/layout/hero-body.js on lines 1..1
lib-es/layout/hero-foot.js on lines 1..1
lib-es/layout/hero-head.js on lines 1..1
lib-es/layout/hero.js on lines 1..1
lib-es/layout/section.js on lines 1..1

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

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

var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
Severity: Major
Found in lib-es/elements/thead.js and 72 other locations - About 3 hrs to fix
lib-es/components/card/card-content.js on lines 1..1
lib-es/components/card/card-footer-item.js on lines 1..1
lib-es/components/card/card-footer.js on lines 1..1
lib-es/components/card/card-header-icon.js on lines 1..1
lib-es/components/card/card-header-title.js on lines 1..1
lib-es/components/card/card-header.js on lines 1..1
lib-es/components/card/card-image.js on lines 1..1
lib-es/components/card/card.js on lines 1..1
lib-es/components/heading/heading.js on lines 1..1
lib-es/components/level/level-item.js on lines 1..1
lib-es/components/level/level-left.js on lines 1..1
lib-es/components/level/level-right.js on lines 1..1
lib-es/components/level/level.js on lines 1..1
lib-es/components/media/media-content.js on lines 1..1
lib-es/components/media/media-left.js on lines 1..1
lib-es/components/media/media-right.js on lines 1..1
lib-es/components/media/media.js on lines 1..1
lib-es/components/menu/menu-label.js on lines 1..1
lib-es/components/menu/menu-link.js on lines 1..1
lib-es/components/menu/menu-list.js on lines 1..1
lib-es/components/menu/menu.js on lines 1..1
lib-es/components/message/message.js on lines 1..1
lib-es/components/modal/modal.js on lines 1..1
lib-es/components/nav/nav-container.js on lines 1..1
lib-es/components/nav/nav-group.js on lines 1..1
lib-es/components/nav/nav-item.js on lines 1..1
lib-es/components/nav/nav-toggle.js on lines 1..1
lib-es/components/nav/nav.js on lines 1..1
lib-es/components/pagination/page-button.js on lines 1..1
lib-es/components/pagination/pagination.js on lines 1..1
lib-es/components/panel/panel-block.js on lines 1..1
lib-es/components/panel/panel-heading.js on lines 1..1
lib-es/components/panel/panel-tabs.js on lines 1..1
lib-es/components/panel/panel.js on lines 1..1
lib-es/components/tabs/tab-group.js on lines 1..1
lib-es/components/tabs/tab.js on lines 1..1
lib-es/components/tabs/tabs.js on lines 1..1
lib-es/elements/addons.js on lines 1..1
lib-es/elements/box.js on lines 1..1
lib-es/elements/button.js on lines 1..1
lib-es/elements/content.js on lines 1..1
lib-es/elements/forms/control-label.js on lines 1..1
lib-es/elements/forms/form-horizontal.js on lines 1..1
lib-es/elements/forms/input.js on lines 1..1
lib-es/elements/forms/radio.js on lines 1..1
lib-es/elements/forms/select.js on lines 1..1
lib-es/elements/forms/textarea.js on lines 1..1
lib-es/elements/group.js on lines 1..1
lib-es/elements/icon.js on lines 1..1
lib-es/elements/image.js on lines 1..1
lib-es/elements/label.js on lines 1..1
lib-es/elements/notification.js on lines 1..1
lib-es/elements/progress.js on lines 1..1
lib-es/elements/subtitle.js on lines 1..1
lib-es/elements/table.js on lines 1..1
lib-es/elements/tag.js on lines 1..1
lib-es/elements/tbody.js on lines 1..1
lib-es/elements/td.js on lines 1..1
lib-es/elements/tfoot.js on lines 1..1
lib-es/elements/th.js on lines 1..1
lib-es/elements/title.js on lines 1..1
lib-es/elements/tr.js on lines 1..1
lib-es/grid/column.js on lines 1..1
lib-es/grid/columns.js on lines 1..1
lib-es/grid/tile/tile.js on lines 1..1
lib-es/layout/container.js on lines 1..1
lib-es/layout/footer.js on lines 1..1
lib-es/layout/hero-body.js on lines 1..1
lib-es/layout/hero-foot.js on lines 1..1
lib-es/layout/hero-head.js on lines 1..1
lib-es/layout/hero.js on lines 1..1
lib-es/layout/section.js on lines 1..1

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

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

var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
Severity: Major
Found in lib-es/components/level/level-left.js and 72 other locations - About 3 hrs to fix
lib-es/components/card/card-content.js on lines 1..1
lib-es/components/card/card-footer-item.js on lines 1..1
lib-es/components/card/card-footer.js on lines 1..1
lib-es/components/card/card-header-icon.js on lines 1..1
lib-es/components/card/card-header-title.js on lines 1..1
lib-es/components/card/card-header.js on lines 1..1
lib-es/components/card/card-image.js on lines 1..1
lib-es/components/card/card.js on lines 1..1
lib-es/components/heading/heading.js on lines 1..1
lib-es/components/level/level-item.js on lines 1..1
lib-es/components/level/level-right.js on lines 1..1
lib-es/components/level/level.js on lines 1..1
lib-es/components/media/media-content.js on lines 1..1
lib-es/components/media/media-left.js on lines 1..1
lib-es/components/media/media-right.js on lines 1..1
lib-es/components/media/media.js on lines 1..1
lib-es/components/menu/menu-label.js on lines 1..1
lib-es/components/menu/menu-link.js on lines 1..1
lib-es/components/menu/menu-list.js on lines 1..1
lib-es/components/menu/menu.js on lines 1..1
lib-es/components/message/message.js on lines 1..1
lib-es/components/modal/modal.js on lines 1..1
lib-es/components/nav/nav-container.js on lines 1..1
lib-es/components/nav/nav-group.js on lines 1..1
lib-es/components/nav/nav-item.js on lines 1..1
lib-es/components/nav/nav-toggle.js on lines 1..1
lib-es/components/nav/nav.js on lines 1..1
lib-es/components/pagination/page-button.js on lines 1..1
lib-es/components/pagination/pagination.js on lines 1..1
lib-es/components/panel/panel-block.js on lines 1..1
lib-es/components/panel/panel-heading.js on lines 1..1
lib-es/components/panel/panel-tabs.js on lines 1..1
lib-es/components/panel/panel.js on lines 1..1
lib-es/components/tabs/tab-group.js on lines 1..1
lib-es/components/tabs/tab.js on lines 1..1
lib-es/components/tabs/tabs.js on lines 1..1
lib-es/elements/addons.js on lines 1..1
lib-es/elements/box.js on lines 1..1
lib-es/elements/button.js on lines 1..1
lib-es/elements/content.js on lines 1..1
lib-es/elements/forms/control-label.js on lines 1..1
lib-es/elements/forms/form-horizontal.js on lines 1..1
lib-es/elements/forms/input.js on lines 1..1
lib-es/elements/forms/radio.js on lines 1..1
lib-es/elements/forms/select.js on lines 1..1
lib-es/elements/forms/textarea.js on lines 1..1
lib-es/elements/group.js on lines 1..1
lib-es/elements/icon.js on lines 1..1
lib-es/elements/image.js on lines 1..1
lib-es/elements/label.js on lines 1..1
lib-es/elements/notification.js on lines 1..1
lib-es/elements/progress.js on lines 1..1
lib-es/elements/subtitle.js on lines 1..1
lib-es/elements/table.js on lines 1..1
lib-es/elements/tag.js on lines 1..1
lib-es/elements/tbody.js on lines 1..1
lib-es/elements/td.js on lines 1..1
lib-es/elements/tfoot.js on lines 1..1
lib-es/elements/th.js on lines 1..1
lib-es/elements/thead.js on lines 1..1
lib-es/elements/title.js on lines 1..1
lib-es/elements/tr.js on lines 1..1
lib-es/grid/column.js on lines 1..1
lib-es/grid/columns.js on lines 1..1
lib-es/grid/tile/tile.js on lines 1..1
lib-es/layout/container.js on lines 1..1
lib-es/layout/footer.js on lines 1..1
lib-es/layout/hero-body.js on lines 1..1
lib-es/layout/hero-foot.js on lines 1..1
lib-es/layout/hero-head.js on lines 1..1
lib-es/layout/hero.js on lines 1..1
lib-es/layout/section.js on lines 1..1

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

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