TwitchSeventeen/react-blazeui

View on GitHub

Showing 78 of 78 total issues

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

Code.propTypes = {
  /**
   * This element can have children
   */
  children: PropTypes.node,
Severity: Major
Found in src/lib/components/Code/index.jsx and 5 other locations - About 1 hr to fix
src/lib/components/Blockquote/index.jsx on lines 25..47
src/lib/components/Breadcrumbs/Item/index.jsx on lines 22..44
src/lib/components/Card/Footer/index.jsx on lines 21..43
src/lib/components/Card/index.jsx on lines 26..48
src/lib/components/List/Item/index.jsx on lines 26..48

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

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

Footer.propTypes = {
  /**
   * A block footer with no padding
   */
  block: PropTypes.bool,
Severity: Major
Found in src/lib/components/Card/Footer/index.jsx and 5 other locations - About 1 hr to fix
src/lib/components/Blockquote/index.jsx on lines 25..47
src/lib/components/Breadcrumbs/Item/index.jsx on lines 22..44
src/lib/components/Card/index.jsx on lines 26..48
src/lib/components/Code/index.jsx on lines 21..43
src/lib/components/List/Item/index.jsx on lines 26..48

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

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

Item.propTypes = {
  /**
   * This element can have children
   */
  children: PropTypes.node,
Severity: Major
Found in src/lib/components/List/Item/index.jsx and 5 other locations - About 1 hr to fix
src/lib/components/Blockquote/index.jsx on lines 25..47
src/lib/components/Breadcrumbs/Item/index.jsx on lines 22..44
src/lib/components/Card/Footer/index.jsx on lines 21..43
src/lib/components/Card/index.jsx on lines 26..48
src/lib/components/Code/index.jsx on lines 21..43

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

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

  const {
    className,
    start,
    value,
    duration,
Severity: Major
Found in src/lib/components/Counter/index.jsx and 1 other location - About 1 hr to fix
src/lib/components/Button/index.jsx 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 66.

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

  const {
    children,
    className,
    buttonType,
    as: Component,
Severity: Major
Found in src/lib/components/Button/index.jsx and 1 other location - About 1 hr to fix
src/lib/components/Counter/index.jsx 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 66.

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

Function Counter has 38 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function Counter(props) {
  const {
    className,
    start,
    value,
Severity: Minor
Found in src/lib/components/Counter/index.jsx - About 1 hr to fix

    Function Button has 35 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

    function Button(props) {
      const {
        children,
        className,
        buttonType,
    Severity: Minor
    Found in src/lib/components/Button/index.jsx - About 1 hr to fix

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

        const {
          className, src, alt, user, filter, as: Component, likes, height, width, dataName, ...other
        } = props;
      Severity: Major
      Found in src/lib/components/Image/index.jsx and 1 other location - About 1 hr to fix
      src/lib/components/Icon/index.jsx on lines 6..8

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

      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

        const {
          className, name, type, size, flipped, as: Component, rotate, spin, pulse, dataName, ...other
        } = props;
      Severity: Major
      Found in src/lib/components/Icon/index.jsx and 1 other location - About 1 hr to fix
      src/lib/components/Image/index.jsx on lines 6..8

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

      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

      Function List has 30 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

      function List(props) {
        const {
          children, className, as: Component, ordered, unstyled, inline, dataName, ...other
        } = props;
        const classes = classNames(
      Severity: Minor
      Found in src/lib/components/List/index.jsx - About 1 hr to fix

        Function Group has 28 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

        function Group(props) {
          const {
            className,
            children,
            stacked,
        Severity: Minor
        Found in src/lib/components/Input/Group/index.jsx - About 1 hr to fix

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

          HeaderCell.propTypes = {
            /**
             * This element can have children
             */
            children: PropTypes.node,
          Severity: Major
          Found in src/lib/components/Table/HeaderCell/index.jsx and 15 other locations - About 1 hr to fix
          src/lib/components/Table/Body/index.jsx on lines 26..44
          src/lib/components/Table/Caption/index.jsx on lines 26..44
          src/lib/components/Table/Cell/index.jsx on lines 26..44
          src/lib/components/Table/Header/index.jsx on lines 26..44
          src/lib/components/Accordion/Content/index.jsx on lines 22..40
          src/lib/components/Accordion/index.jsx on lines 24..42
          src/lib/components/Address/index.jsx on lines 21..39
          src/lib/components/Card/Body/index.jsx on lines 21..39
          src/lib/components/Card/Header/index.jsx on lines 21..39
          src/lib/components/Highlight/index.jsx on lines 21..39
          src/lib/components/Key/index.jsx on lines 21..39
          src/lib/components/Loud/index.jsx on lines 21..39
          src/lib/components/Mono/index.jsx on lines 21..39
          src/lib/components/Panel/index.jsx on lines 26..44
          src/lib/components/Quiet/index.jsx on lines 21..39

          Duplicated Code

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

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

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

          Tuning

          This issue has a mass of 56.

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

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

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

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

          Refactorings

          Further Reading

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

          Loud.propTypes = {
            /**
             * This element can have children
             */
            children: PropTypes.node,
          Severity: Major
          Found in src/lib/components/Loud/index.jsx and 15 other locations - About 1 hr to fix
          src/lib/components/Table/Body/index.jsx on lines 26..44
          src/lib/components/Table/Caption/index.jsx on lines 26..44
          src/lib/components/Table/Cell/index.jsx on lines 26..44
          src/lib/components/Table/Header/index.jsx on lines 26..44
          src/lib/components/Table/HeaderCell/index.jsx on lines 26..44
          src/lib/components/Accordion/Content/index.jsx on lines 22..40
          src/lib/components/Accordion/index.jsx on lines 24..42
          src/lib/components/Address/index.jsx on lines 21..39
          src/lib/components/Card/Body/index.jsx on lines 21..39
          src/lib/components/Card/Header/index.jsx on lines 21..39
          src/lib/components/Highlight/index.jsx on lines 21..39
          src/lib/components/Key/index.jsx on lines 21..39
          src/lib/components/Mono/index.jsx on lines 21..39
          src/lib/components/Panel/index.jsx on lines 26..44
          src/lib/components/Quiet/index.jsx on lines 21..39

          Duplicated Code

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

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

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

          Tuning

          This issue has a mass of 56.

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

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

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

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

          Refactorings

          Further Reading

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

          Body.propTypes = {
            /**
             * This element can have children
             */
            children: PropTypes.node,
          Severity: Major
          Found in src/lib/components/Card/Body/index.jsx and 15 other locations - About 1 hr to fix
          src/lib/components/Table/Body/index.jsx on lines 26..44
          src/lib/components/Table/Caption/index.jsx on lines 26..44
          src/lib/components/Table/Cell/index.jsx on lines 26..44
          src/lib/components/Table/Header/index.jsx on lines 26..44
          src/lib/components/Table/HeaderCell/index.jsx on lines 26..44
          src/lib/components/Accordion/Content/index.jsx on lines 22..40
          src/lib/components/Accordion/index.jsx on lines 24..42
          src/lib/components/Address/index.jsx on lines 21..39
          src/lib/components/Card/Header/index.jsx on lines 21..39
          src/lib/components/Highlight/index.jsx on lines 21..39
          src/lib/components/Key/index.jsx on lines 21..39
          src/lib/components/Loud/index.jsx on lines 21..39
          src/lib/components/Mono/index.jsx on lines 21..39
          src/lib/components/Panel/index.jsx on lines 26..44
          src/lib/components/Quiet/index.jsx on lines 21..39

          Duplicated Code

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

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

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

          Tuning

          This issue has a mass of 56.

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

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

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

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

          Refactorings

          Further Reading

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

          Address.propTypes = {
            /**
             * This element can have children
             */
            children: PropTypes.node,
          Severity: Major
          Found in src/lib/components/Address/index.jsx and 15 other locations - About 1 hr to fix
          src/lib/components/Table/Body/index.jsx on lines 26..44
          src/lib/components/Table/Caption/index.jsx on lines 26..44
          src/lib/components/Table/Cell/index.jsx on lines 26..44
          src/lib/components/Table/Header/index.jsx on lines 26..44
          src/lib/components/Table/HeaderCell/index.jsx on lines 26..44
          src/lib/components/Accordion/Content/index.jsx on lines 22..40
          src/lib/components/Accordion/index.jsx on lines 24..42
          src/lib/components/Card/Body/index.jsx on lines 21..39
          src/lib/components/Card/Header/index.jsx on lines 21..39
          src/lib/components/Highlight/index.jsx on lines 21..39
          src/lib/components/Key/index.jsx on lines 21..39
          src/lib/components/Loud/index.jsx on lines 21..39
          src/lib/components/Mono/index.jsx on lines 21..39
          src/lib/components/Panel/index.jsx on lines 26..44
          src/lib/components/Quiet/index.jsx on lines 21..39

          Duplicated Code

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

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

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

          Tuning

          This issue has a mass of 56.

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

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

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

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

          Refactorings

          Further Reading

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

          Mono.propTypes = {
            /**
             * This element can have children
             */
            children: PropTypes.node,
          Severity: Major
          Found in src/lib/components/Mono/index.jsx and 15 other locations - About 1 hr to fix
          src/lib/components/Table/Body/index.jsx on lines 26..44
          src/lib/components/Table/Caption/index.jsx on lines 26..44
          src/lib/components/Table/Cell/index.jsx on lines 26..44
          src/lib/components/Table/Header/index.jsx on lines 26..44
          src/lib/components/Table/HeaderCell/index.jsx on lines 26..44
          src/lib/components/Accordion/Content/index.jsx on lines 22..40
          src/lib/components/Accordion/index.jsx on lines 24..42
          src/lib/components/Address/index.jsx on lines 21..39
          src/lib/components/Card/Body/index.jsx on lines 21..39
          src/lib/components/Card/Header/index.jsx on lines 21..39
          src/lib/components/Highlight/index.jsx on lines 21..39
          src/lib/components/Key/index.jsx on lines 21..39
          src/lib/components/Loud/index.jsx on lines 21..39
          src/lib/components/Panel/index.jsx on lines 26..44
          src/lib/components/Quiet/index.jsx on lines 21..39

          Duplicated Code

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

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

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

          Tuning

          This issue has a mass of 56.

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

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

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

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

          Refactorings

          Further Reading

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

          Highlight.propTypes = {
            /**
             * This element can have children
             */
            children: PropTypes.node,
          Severity: Major
          Found in src/lib/components/Highlight/index.jsx and 15 other locations - About 1 hr to fix
          src/lib/components/Table/Body/index.jsx on lines 26..44
          src/lib/components/Table/Caption/index.jsx on lines 26..44
          src/lib/components/Table/Cell/index.jsx on lines 26..44
          src/lib/components/Table/Header/index.jsx on lines 26..44
          src/lib/components/Table/HeaderCell/index.jsx on lines 26..44
          src/lib/components/Accordion/Content/index.jsx on lines 22..40
          src/lib/components/Accordion/index.jsx on lines 24..42
          src/lib/components/Address/index.jsx on lines 21..39
          src/lib/components/Card/Body/index.jsx on lines 21..39
          src/lib/components/Card/Header/index.jsx on lines 21..39
          src/lib/components/Key/index.jsx on lines 21..39
          src/lib/components/Loud/index.jsx on lines 21..39
          src/lib/components/Mono/index.jsx on lines 21..39
          src/lib/components/Panel/index.jsx on lines 26..44
          src/lib/components/Quiet/index.jsx on lines 21..39

          Duplicated Code

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

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

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

          Tuning

          This issue has a mass of 56.

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

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

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

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

          Refactorings

          Further Reading

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

          Header.propTypes = {
            /**
             * This element can have children
             */
            children: PropTypes.node,
          Severity: Major
          Found in src/lib/components/Table/Header/index.jsx and 15 other locations - About 1 hr to fix
          src/lib/components/Table/Body/index.jsx on lines 26..44
          src/lib/components/Table/Caption/index.jsx on lines 26..44
          src/lib/components/Table/Cell/index.jsx on lines 26..44
          src/lib/components/Table/HeaderCell/index.jsx on lines 26..44
          src/lib/components/Accordion/Content/index.jsx on lines 22..40
          src/lib/components/Accordion/index.jsx on lines 24..42
          src/lib/components/Address/index.jsx on lines 21..39
          src/lib/components/Card/Body/index.jsx on lines 21..39
          src/lib/components/Card/Header/index.jsx on lines 21..39
          src/lib/components/Highlight/index.jsx on lines 21..39
          src/lib/components/Key/index.jsx on lines 21..39
          src/lib/components/Loud/index.jsx on lines 21..39
          src/lib/components/Mono/index.jsx on lines 21..39
          src/lib/components/Panel/index.jsx on lines 26..44
          src/lib/components/Quiet/index.jsx on lines 21..39

          Duplicated Code

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

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

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

          Tuning

          This issue has a mass of 56.

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

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

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

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

          Refactorings

          Further Reading

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

          Content.propTypes = {
            /**
             * This element can have children
             */
            children: PropTypes.node,
          Severity: Major
          Found in src/lib/components/Accordion/Content/index.jsx and 15 other locations - About 1 hr to fix
          src/lib/components/Table/Body/index.jsx on lines 26..44
          src/lib/components/Table/Caption/index.jsx on lines 26..44
          src/lib/components/Table/Cell/index.jsx on lines 26..44
          src/lib/components/Table/Header/index.jsx on lines 26..44
          src/lib/components/Table/HeaderCell/index.jsx on lines 26..44
          src/lib/components/Accordion/index.jsx on lines 24..42
          src/lib/components/Address/index.jsx on lines 21..39
          src/lib/components/Card/Body/index.jsx on lines 21..39
          src/lib/components/Card/Header/index.jsx on lines 21..39
          src/lib/components/Highlight/index.jsx on lines 21..39
          src/lib/components/Key/index.jsx on lines 21..39
          src/lib/components/Loud/index.jsx on lines 21..39
          src/lib/components/Mono/index.jsx on lines 21..39
          src/lib/components/Panel/index.jsx on lines 26..44
          src/lib/components/Quiet/index.jsx on lines 21..39

          Duplicated Code

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

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

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

          Tuning

          This issue has a mass of 56.

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

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

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

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

          Refactorings

          Further Reading

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

          Body.propTypes = {
            /**
             * This element can have children
             */
            children: PropTypes.node,
          Severity: Major
          Found in src/lib/components/Table/Body/index.jsx and 15 other locations - About 1 hr to fix
          src/lib/components/Table/Caption/index.jsx on lines 26..44
          src/lib/components/Table/Cell/index.jsx on lines 26..44
          src/lib/components/Table/Header/index.jsx on lines 26..44
          src/lib/components/Table/HeaderCell/index.jsx on lines 26..44
          src/lib/components/Accordion/Content/index.jsx on lines 22..40
          src/lib/components/Accordion/index.jsx on lines 24..42
          src/lib/components/Address/index.jsx on lines 21..39
          src/lib/components/Card/Body/index.jsx on lines 21..39
          src/lib/components/Card/Header/index.jsx on lines 21..39
          src/lib/components/Highlight/index.jsx on lines 21..39
          src/lib/components/Key/index.jsx on lines 21..39
          src/lib/components/Loud/index.jsx on lines 21..39
          src/lib/components/Mono/index.jsx on lines 21..39
          src/lib/components/Panel/index.jsx on lines 26..44
          src/lib/components/Quiet/index.jsx on lines 21..39

          Duplicated Code

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

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

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

          Tuning

          This issue has a mass of 56.

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

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

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

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

          Refactorings

          Further Reading

          Severity
          Category
          Status
          Source
          Language