trufflesuite/truffle

View on GitHub
packages/codec-components/src/docs/content.tsx

Summary

Maintainability
F
1 wk
Test Coverage

File content.tsx has 585 lines of code (exceeds 250 allowed). Consider refactoring.
Open

import React from "react";
import * as C from "../react";
import * as data from "./data";
import styles from "./styles.module.scss";

Severity: Major
Found in packages/codec-components/src/docs/content.tsx - About 1 day to fix

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

      {
        type: "codec-interface",
        name: "EventDecoding",
        content: (
          <>
    Severity: Major
    Found in packages/codec-components/src/docs/content.tsx and 1 other location - About 6 hrs to fix
    packages/codec-components/src/docs/content.tsx on lines 102..116

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

    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

      {
        type: "codec-interface",
        name: "MessageDecoding",
        content: (
          <>
    Severity: Major
    Found in packages/codec-components/src/docs/content.tsx and 1 other location - About 6 hrs to fix
    packages/codec-components/src/docs/content.tsx on lines 71..85

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

    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

      {
        type: "codec-interface",
        name: "FunctionDecoding",
        content: (
          <>
    Severity: Major
    Found in packages/codec-components/src/docs/content.tsx and 1 other location - About 5 hrs to fix
    packages/codec-components/src/docs/content.tsx on lines 47..60

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

    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

      {
        type: "codec-interface",
        name: "ConstructorDecoding",
        content: (
          <>
    Severity: Major
    Found in packages/codec-components/src/docs/content.tsx and 1 other location - About 5 hrs to fix
    packages/codec-components/src/docs/content.tsx on lines 86..101

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

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

      {
        type: "codec-interface",
        name: "Format.Values.BoolValue",
        content: (
          <>
    Severity: Major
    Found in packages/codec-components/src/docs/content.tsx and 9 other locations - About 3 hrs to fix
    packages/codec-components/src/docs/content.tsx on lines 13..24
    packages/codec-components/src/docs/content.tsx on lines 127..138
    packages/codec-components/src/docs/content.tsx on lines 161..172
    packages/codec-components/src/docs/content.tsx on lines 245..256
    packages/codec-components/src/docs/content.tsx on lines 257..268
    packages/codec-components/src/docs/content.tsx on lines 291..302
    packages/codec-components/src/docs/content.tsx on lines 414..425
    packages/codec-components/src/docs/content.tsx on lines 436..447
    packages/codec-components/src/docs/content.tsx on lines 448..459

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

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

      {
        type: "codec-interface",
        name: "Format.Values.UintValue",
        content: (
          <>
    Severity: Major
    Found in packages/codec-components/src/docs/content.tsx and 9 other locations - About 3 hrs to fix
    packages/codec-components/src/docs/content.tsx on lines 13..24
    packages/codec-components/src/docs/content.tsx on lines 127..138
    packages/codec-components/src/docs/content.tsx on lines 161..172
    packages/codec-components/src/docs/content.tsx on lines 245..256
    packages/codec-components/src/docs/content.tsx on lines 257..268
    packages/codec-components/src/docs/content.tsx on lines 291..302
    packages/codec-components/src/docs/content.tsx on lines 321..332
    packages/codec-components/src/docs/content.tsx on lines 414..425
    packages/codec-components/src/docs/content.tsx on lines 448..459

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

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

      {
        type: "codec-interface",
        name: "Options",
        content: (
          <>
    Severity: Major
    Found in packages/codec-components/src/docs/content.tsx and 9 other locations - About 3 hrs to fix
    packages/codec-components/src/docs/content.tsx on lines 13..24
    packages/codec-components/src/docs/content.tsx on lines 127..138
    packages/codec-components/src/docs/content.tsx on lines 161..172
    packages/codec-components/src/docs/content.tsx on lines 245..256
    packages/codec-components/src/docs/content.tsx on lines 257..268
    packages/codec-components/src/docs/content.tsx on lines 291..302
    packages/codec-components/src/docs/content.tsx on lines 321..332
    packages/codec-components/src/docs/content.tsx on lines 414..425
    packages/codec-components/src/docs/content.tsx on lines 436..447

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

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

      {
        type: "codec-interface",
        name: "ReturnDecoding",
        content: (
          <>
    Severity: Major
    Found in packages/codec-components/src/docs/content.tsx and 9 other locations - About 3 hrs to fix
    packages/codec-components/src/docs/content.tsx on lines 13..24
    packages/codec-components/src/docs/content.tsx on lines 161..172
    packages/codec-components/src/docs/content.tsx on lines 245..256
    packages/codec-components/src/docs/content.tsx on lines 257..268
    packages/codec-components/src/docs/content.tsx on lines 291..302
    packages/codec-components/src/docs/content.tsx on lines 321..332
    packages/codec-components/src/docs/content.tsx on lines 414..425
    packages/codec-components/src/docs/content.tsx on lines 436..447
    packages/codec-components/src/docs/content.tsx on lines 448..459

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

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

      {
        type: "codec-interface",
        name: "StateVariable",
        content: (
          <>
    Severity: Major
    Found in packages/codec-components/src/docs/content.tsx and 9 other locations - About 3 hrs to fix
    packages/codec-components/src/docs/content.tsx on lines 13..24
    packages/codec-components/src/docs/content.tsx on lines 127..138
    packages/codec-components/src/docs/content.tsx on lines 245..256
    packages/codec-components/src/docs/content.tsx on lines 257..268
    packages/codec-components/src/docs/content.tsx on lines 291..302
    packages/codec-components/src/docs/content.tsx on lines 321..332
    packages/codec-components/src/docs/content.tsx on lines 414..425
    packages/codec-components/src/docs/content.tsx on lines 436..447
    packages/codec-components/src/docs/content.tsx on lines 448..459

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

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

      {
        type: "codec-interface",
        name: "Format.Values.StructValue",
        content: (
          <>
    Severity: Major
    Found in packages/codec-components/src/docs/content.tsx and 9 other locations - About 3 hrs to fix
    packages/codec-components/src/docs/content.tsx on lines 13..24
    packages/codec-components/src/docs/content.tsx on lines 127..138
    packages/codec-components/src/docs/content.tsx on lines 161..172
    packages/codec-components/src/docs/content.tsx on lines 257..268
    packages/codec-components/src/docs/content.tsx on lines 291..302
    packages/codec-components/src/docs/content.tsx on lines 321..332
    packages/codec-components/src/docs/content.tsx on lines 414..425
    packages/codec-components/src/docs/content.tsx on lines 436..447
    packages/codec-components/src/docs/content.tsx on lines 448..459

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

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

      {
        type: "codec-interface",
        name: "AbiArgument",
        content: (
          <>
    Severity: Major
    Found in packages/codec-components/src/docs/content.tsx and 9 other locations - About 3 hrs to fix
    packages/codec-components/src/docs/content.tsx on lines 127..138
    packages/codec-components/src/docs/content.tsx on lines 161..172
    packages/codec-components/src/docs/content.tsx on lines 245..256
    packages/codec-components/src/docs/content.tsx on lines 257..268
    packages/codec-components/src/docs/content.tsx on lines 291..302
    packages/codec-components/src/docs/content.tsx on lines 321..332
    packages/codec-components/src/docs/content.tsx on lines 414..425
    packages/codec-components/src/docs/content.tsx on lines 436..447
    packages/codec-components/src/docs/content.tsx on lines 448..459

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

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

      {
        type: "codec-interface",
        name: "Format.Values.OptionallyNamedValue",
        content: (
          <>
    Severity: Major
    Found in packages/codec-components/src/docs/content.tsx and 9 other locations - About 3 hrs to fix
    packages/codec-components/src/docs/content.tsx on lines 13..24
    packages/codec-components/src/docs/content.tsx on lines 127..138
    packages/codec-components/src/docs/content.tsx on lines 161..172
    packages/codec-components/src/docs/content.tsx on lines 245..256
    packages/codec-components/src/docs/content.tsx on lines 257..268
    packages/codec-components/src/docs/content.tsx on lines 321..332
    packages/codec-components/src/docs/content.tsx on lines 414..425
    packages/codec-components/src/docs/content.tsx on lines 436..447
    packages/codec-components/src/docs/content.tsx on lines 448..459

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

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

      {
        type: "codec-interface",
        name: "Format.Values.TupleValue",
        content: (
          <>
    Severity: Major
    Found in packages/codec-components/src/docs/content.tsx and 9 other locations - About 3 hrs to fix
    packages/codec-components/src/docs/content.tsx on lines 13..24
    packages/codec-components/src/docs/content.tsx on lines 127..138
    packages/codec-components/src/docs/content.tsx on lines 161..172
    packages/codec-components/src/docs/content.tsx on lines 245..256
    packages/codec-components/src/docs/content.tsx on lines 291..302
    packages/codec-components/src/docs/content.tsx on lines 321..332
    packages/codec-components/src/docs/content.tsx on lines 414..425
    packages/codec-components/src/docs/content.tsx on lines 436..447
    packages/codec-components/src/docs/content.tsx on lines 448..459

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

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

      {
        type: "codec-interface",
        name: "Format.Values.StringValue",
        content: (
          <>
    Severity: Major
    Found in packages/codec-components/src/docs/content.tsx and 9 other locations - About 3 hrs to fix
    packages/codec-components/src/docs/content.tsx on lines 13..24
    packages/codec-components/src/docs/content.tsx on lines 127..138
    packages/codec-components/src/docs/content.tsx on lines 161..172
    packages/codec-components/src/docs/content.tsx on lines 245..256
    packages/codec-components/src/docs/content.tsx on lines 257..268
    packages/codec-components/src/docs/content.tsx on lines 291..302
    packages/codec-components/src/docs/content.tsx on lines 321..332
    packages/codec-components/src/docs/content.tsx on lines 436..447
    packages/codec-components/src/docs/content.tsx on lines 448..459

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

    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

                <C.Container prefix="{" suffix="}" empty={false}>
                  <mark style={{ backgroundColor: "hsl(60,48%,60%)" }}>0x1234</mark>
                  <mark style={{ backgroundColor: "hsl(60,64%,60%)" }}>
                    0xbc1f71253612b66b5938e6cc90b161676ff66a905c76d8216a8c187fd42ded88941924d65b325914
                  </mark>
    Severity: Major
    Found in packages/codec-components/src/docs/content.tsx and 1 other location - About 2 hrs to fix
    packages/codec-components/src/docs/content.tsx on lines 508..523

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

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

            <C.Container
              prefix={<mark style={{ backgroundColor: "cyan" }}>prefix</mark>}
              suffix={<mark style={{ backgroundColor: "magenta" }}>suffix</mark>}
              empty={false}
            >
    Severity: Major
    Found in packages/codec-components/src/docs/content.tsx and 2 other locations - About 2 hrs to fix
    packages/codec-components/src/docs/content.tsx on lines 500..506
    packages/codec-components/src/docs/content.tsx on lines 525..547

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

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

            <C.Container
              prefix={<mark style={{ backgroundColor: "cyan" }}>prefix</mark>}
              suffix={<mark style={{ backgroundColor: "magenta" }}>suffix</mark>}
              empty={false}
            >
    Severity: Major
    Found in packages/codec-components/src/docs/content.tsx and 2 other locations - About 2 hrs to fix
    packages/codec-components/src/docs/content.tsx on lines 500..506
    packages/codec-components/src/docs/content.tsx on lines 508..523

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

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

            <C.Container
              prefix={<mark style={{ backgroundColor: "cyan" }}>prefix</mark>}
              suffix={<mark style={{ backgroundColor: "magenta" }}>suffix</mark>}
              empty={false}
            >
    Severity: Major
    Found in packages/codec-components/src/docs/content.tsx and 2 other locations - About 2 hrs to fix
    packages/codec-components/src/docs/content.tsx on lines 508..523
    packages/codec-components/src/docs/content.tsx on lines 525..547

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

    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

      {
        type: "codec-interface",
        name: "AnonymousDecoding",
        content: (
          <>
    Severity: Major
    Found in packages/codec-components/src/docs/content.tsx and 5 other locations - About 2 hrs to fix
    packages/codec-components/src/docs/content.tsx on lines 36..46
    packages/codec-components/src/docs/content.tsx on lines 173..185
    packages/codec-components/src/docs/content.tsx on lines 186..196
    packages/codec-components/src/docs/content.tsx on lines 197..209
    packages/codec-components/src/docs/content.tsx on lines 389..403

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

    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

      {
        type: "codec-interface",
        name: "UnknownCreationDecoding",
        content: (
          <>
    Severity: Major
    Found in packages/codec-components/src/docs/content.tsx and 5 other locations - About 2 hrs to fix
    packages/codec-components/src/docs/content.tsx on lines 25..35
    packages/codec-components/src/docs/content.tsx on lines 36..46
    packages/codec-components/src/docs/content.tsx on lines 173..185
    packages/codec-components/src/docs/content.tsx on lines 186..196
    packages/codec-components/src/docs/content.tsx on lines 389..403

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

    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

      {
        type: "codec-interface",
        name: "BytecodeDecoding",
        content: (
          <>
    Severity: Major
    Found in packages/codec-components/src/docs/content.tsx and 5 other locations - About 2 hrs to fix
    packages/codec-components/src/docs/content.tsx on lines 25..35
    packages/codec-components/src/docs/content.tsx on lines 173..185
    packages/codec-components/src/docs/content.tsx on lines 186..196
    packages/codec-components/src/docs/content.tsx on lines 197..209
    packages/codec-components/src/docs/content.tsx on lines 389..403

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

    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

      {
        type: "codec-interface",
        name: "Format.Values.StringValueInfoMalformed",
        content: (
          <>
    Severity: Major
    Found in packages/codec-components/src/docs/content.tsx and 5 other locations - About 2 hrs to fix
    packages/codec-components/src/docs/content.tsx on lines 25..35
    packages/codec-components/src/docs/content.tsx on lines 36..46
    packages/codec-components/src/docs/content.tsx on lines 173..185
    packages/codec-components/src/docs/content.tsx on lines 186..196
    packages/codec-components/src/docs/content.tsx on lines 197..209

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

    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

      {
        type: "codec-interface",
        name: "UnknownCallDecoding",
        content: (
          <>
    Severity: Major
    Found in packages/codec-components/src/docs/content.tsx and 5 other locations - About 2 hrs to fix
    packages/codec-components/src/docs/content.tsx on lines 25..35
    packages/codec-components/src/docs/content.tsx on lines 36..46
    packages/codec-components/src/docs/content.tsx on lines 173..185
    packages/codec-components/src/docs/content.tsx on lines 197..209
    packages/codec-components/src/docs/content.tsx on lines 389..403

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

    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

      {
        type: "codec-interface",
        name: "UnknownBytecodeDecoding",
        content: (
          <>
    Severity: Major
    Found in packages/codec-components/src/docs/content.tsx and 5 other locations - About 2 hrs to fix
    packages/codec-components/src/docs/content.tsx on lines 25..35
    packages/codec-components/src/docs/content.tsx on lines 36..46
    packages/codec-components/src/docs/content.tsx on lines 186..196
    packages/codec-components/src/docs/content.tsx on lines 197..209
    packages/codec-components/src/docs/content.tsx on lines 389..403

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

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

      {
        type: "codec-interface",
        name: "Format.Values.NameValuePair",
        content: (
          <>
    Severity: Major
    Found in packages/codec-components/src/docs/content.tsx and 8 other locations - About 1 hr to fix
    packages/codec-components/src/docs/content.tsx on lines 61..70
    packages/codec-components/src/docs/content.tsx on lines 117..126
    packages/codec-components/src/docs/content.tsx on lines 139..150
    packages/codec-components/src/docs/content.tsx on lines 151..160
    packages/codec-components/src/docs/content.tsx on lines 369..378
    packages/codec-components/src/docs/content.tsx on lines 379..388
    packages/codec-components/src/docs/content.tsx on lines 404..413
    packages/codec-components/src/docs/content.tsx on lines 426..435

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

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

      {
        type: "codec-interface",
        name: "RawReturnDecoding",
        content: (
          <>
    Severity: Major
    Found in packages/codec-components/src/docs/content.tsx and 8 other locations - About 1 hr to fix
    packages/codec-components/src/docs/content.tsx on lines 61..70
    packages/codec-components/src/docs/content.tsx on lines 139..150
    packages/codec-components/src/docs/content.tsx on lines 151..160
    packages/codec-components/src/docs/content.tsx on lines 281..290
    packages/codec-components/src/docs/content.tsx on lines 369..378
    packages/codec-components/src/docs/content.tsx on lines 379..388
    packages/codec-components/src/docs/content.tsx on lines 404..413
    packages/codec-components/src/docs/content.tsx on lines 426..435

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

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

      {
        type: "codec-interface",
        name: "Format.Values.IntValue",
        content: (
          <>
    Severity: Major
    Found in packages/codec-components/src/docs/content.tsx and 8 other locations - About 1 hr to fix
    packages/codec-components/src/docs/content.tsx on lines 61..70
    packages/codec-components/src/docs/content.tsx on lines 117..126
    packages/codec-components/src/docs/content.tsx on lines 139..150
    packages/codec-components/src/docs/content.tsx on lines 151..160
    packages/codec-components/src/docs/content.tsx on lines 281..290
    packages/codec-components/src/docs/content.tsx on lines 369..378
    packages/codec-components/src/docs/content.tsx on lines 404..413
    packages/codec-components/src/docs/content.tsx on lines 426..435

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

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

      {
        type: "codec-interface",
        name: "SelfDestructDecoding",
        content: (
          <>
    Severity: Major
    Found in packages/codec-components/src/docs/content.tsx and 8 other locations - About 1 hr to fix
    packages/codec-components/src/docs/content.tsx on lines 61..70
    packages/codec-components/src/docs/content.tsx on lines 117..126
    packages/codec-components/src/docs/content.tsx on lines 139..150
    packages/codec-components/src/docs/content.tsx on lines 281..290
    packages/codec-components/src/docs/content.tsx on lines 369..378
    packages/codec-components/src/docs/content.tsx on lines 379..388
    packages/codec-components/src/docs/content.tsx on lines 404..413
    packages/codec-components/src/docs/content.tsx on lines 426..435

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

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

      {
        type: "codec-interface",
        name: "Format.Values.UfixedValue",
        content: (
          <>
    Severity: Major
    Found in packages/codec-components/src/docs/content.tsx and 8 other locations - About 1 hr to fix
    packages/codec-components/src/docs/content.tsx on lines 61..70
    packages/codec-components/src/docs/content.tsx on lines 117..126
    packages/codec-components/src/docs/content.tsx on lines 139..150
    packages/codec-components/src/docs/content.tsx on lines 151..160
    packages/codec-components/src/docs/content.tsx on lines 281..290
    packages/codec-components/src/docs/content.tsx on lines 369..378
    packages/codec-components/src/docs/content.tsx on lines 379..388
    packages/codec-components/src/docs/content.tsx on lines 404..413

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

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

      {
        type: "codec-interface",
        name: "EmptyFailureDecoding",
        content: (
          <>
    Severity: Major
    Found in packages/codec-components/src/docs/content.tsx and 8 other locations - About 1 hr to fix
    packages/codec-components/src/docs/content.tsx on lines 117..126
    packages/codec-components/src/docs/content.tsx on lines 139..150
    packages/codec-components/src/docs/content.tsx on lines 151..160
    packages/codec-components/src/docs/content.tsx on lines 281..290
    packages/codec-components/src/docs/content.tsx on lines 369..378
    packages/codec-components/src/docs/content.tsx on lines 379..388
    packages/codec-components/src/docs/content.tsx on lines 404..413
    packages/codec-components/src/docs/content.tsx on lines 426..435

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

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

      {
        type: "codec-interface",
        name: "Format.Values.FixedValue",
        content: (
          <>
    Severity: Major
    Found in packages/codec-components/src/docs/content.tsx and 8 other locations - About 1 hr to fix
    packages/codec-components/src/docs/content.tsx on lines 61..70
    packages/codec-components/src/docs/content.tsx on lines 117..126
    packages/codec-components/src/docs/content.tsx on lines 139..150
    packages/codec-components/src/docs/content.tsx on lines 151..160
    packages/codec-components/src/docs/content.tsx on lines 281..290
    packages/codec-components/src/docs/content.tsx on lines 379..388
    packages/codec-components/src/docs/content.tsx on lines 404..413
    packages/codec-components/src/docs/content.tsx on lines 426..435

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

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

      {
        type: "codec-interface",
        name: "Format.Values.StringValueInfoValid",
        content: (
          <>
    Severity: Major
    Found in packages/codec-components/src/docs/content.tsx and 8 other locations - About 1 hr to fix
    packages/codec-components/src/docs/content.tsx on lines 61..70
    packages/codec-components/src/docs/content.tsx on lines 117..126
    packages/codec-components/src/docs/content.tsx on lines 139..150
    packages/codec-components/src/docs/content.tsx on lines 151..160
    packages/codec-components/src/docs/content.tsx on lines 281..290
    packages/codec-components/src/docs/content.tsx on lines 369..378
    packages/codec-components/src/docs/content.tsx on lines 379..388
    packages/codec-components/src/docs/content.tsx on lines 426..435

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

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

      {
        type: "codec-interface",
        name: "RevertMessageDecoding",
        content: (
          <>
    Severity: Major
    Found in packages/codec-components/src/docs/content.tsx and 8 other locations - About 1 hr to fix
    packages/codec-components/src/docs/content.tsx on lines 61..70
    packages/codec-components/src/docs/content.tsx on lines 117..126
    packages/codec-components/src/docs/content.tsx on lines 151..160
    packages/codec-components/src/docs/content.tsx on lines 281..290
    packages/codec-components/src/docs/content.tsx on lines 369..378
    packages/codec-components/src/docs/content.tsx on lines 379..388
    packages/codec-components/src/docs/content.tsx on lines 404..413
    packages/codec-components/src/docs/content.tsx on lines 426..435

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

    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

    There are no issues that match your filters.

    Category
    Status