AugurProject/augur-ui

View on GitHub

Showing 1,757 of 1,757 total issues

Function constructor has 69 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  constructor(props) {
    super(props);

    this.state = {
      mainMenu: { scalar: 0, open: false, currentTween: null },
Severity: Major
Found in src/modules/app/components/app/app.jsx - About 2 hrs to fix

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

      if (asks.length > 0) {
        const minAsksDepthOrder = asks.reduce(
          (lastValue, nextValue) =>
            lastValue[0].lte(nextValue[0]) ? lastValue : nextValue,
          asks[0]
    Severity: Major
    Found in src/modules/markets/helpers/order-for-market-depth.js and 1 other location - About 2 hrs to fix
    src/modules/markets/helpers/order-for-market-depth.js on lines 41..53

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

    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

      if (bids.length > 0) {
        const minBidDepthOrder = bids.reduce(
          (lastValue, nextValue) =>
            lastValue[0].lte(nextValue[0]) ? lastValue : nextValue,
          bids[0]
    Severity: Major
    Found in src/modules/markets/helpers/order-for-market-depth.js and 1 other location - About 2 hrs to fix
    src/modules/markets/helpers/order-for-market-depth.js on lines 27..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 90.

    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

    TopBar.propTypes = {
      isLogged: PropTypes.bool.isRequired,
      stats: PropTypes.array.isRequired,
      unseenCount: PropTypes.number.isRequired,
      toggleNotifications: PropTypes.func.isRequired,
    Severity: Major
    Found in src/modules/app/components/top-bar/top-bar.jsx and 1 other location - About 2 hrs to fix
    src/modules/portfolio/components/portfolio-reports/portfolio-reports-forked-market-card.jsx on lines 93..100

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

    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

    PortfolioReportsForkedMarketCard.propTypes = {
      buttonAction: PropTypes.func.isRequired,
      currentTimestamp: PropTypes.number.isRequired,
      linkType: PropTypes.string.isRequired,
      market: PropTypes.object.isRequired,
    src/modules/app/components/top-bar/top-bar.jsx on lines 121..128

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

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

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

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

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

    Refactorings

    Further Reading

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

      it("report on No", async () => {
        await expect(page).toClick("button", {
          text: "No",
          timeout: 1000
        });
    Severity: Major
    Found in integration/reporting/reporting.test.ts and 7 other locations - About 2 hrs to fix
    integration/reporting/reporting.test.ts on lines 257..270
    integration/reporting/reporting.test.ts on lines 272..285
    integration/reporting/reporting.test.ts on lines 287..300
    integration/reporting/reporting.test.ts on lines 332..345
    integration/reporting/reporting.test.ts on lines 362..375
    integration/reporting/reporting.test.ts on lines 456..469
    integration/reporting/reporting.test.ts on lines 556..569

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

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

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

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

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

    Refactorings

    Further Reading

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

      it("report on Invalid", async () => {
        await expect(page).toClick("button", {
          text: "Market is invalid",
          timeout: 1000
        });
    Severity: Major
    Found in integration/reporting/reporting.test.ts and 7 other locations - About 2 hrs to fix
    integration/reporting/reporting.test.ts on lines 257..270
    integration/reporting/reporting.test.ts on lines 272..285
    integration/reporting/reporting.test.ts on lines 287..300
    integration/reporting/reporting.test.ts on lines 332..345
    integration/reporting/reporting.test.ts on lines 347..360
    integration/reporting/reporting.test.ts on lines 362..375
    integration/reporting/reporting.test.ts on lines 556..569

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

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

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

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

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

    Refactorings

    Further Reading

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

      it("report on yes", async () => {
        await expect(page).toClick("button", {
          text: "Yes",
          timeout: 1000
        });
    Severity: Major
    Found in integration/reporting/reporting.test.ts and 7 other locations - About 2 hrs to fix
    integration/reporting/reporting.test.ts on lines 272..285
    integration/reporting/reporting.test.ts on lines 287..300
    integration/reporting/reporting.test.ts on lines 332..345
    integration/reporting/reporting.test.ts on lines 347..360
    integration/reporting/reporting.test.ts on lines 362..375
    integration/reporting/reporting.test.ts on lines 456..469
    integration/reporting/reporting.test.ts on lines 556..569

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

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

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

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

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

    Refactorings

    Further Reading

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

      it("report on Invalid", async () => {
        await expect(page).toClick("button", {
          text: "Market is invalid",
          timeout: 1000
        });
    Severity: Major
    Found in integration/reporting/reporting.test.ts and 7 other locations - About 2 hrs to fix
    integration/reporting/reporting.test.ts on lines 257..270
    integration/reporting/reporting.test.ts on lines 272..285
    integration/reporting/reporting.test.ts on lines 287..300
    integration/reporting/reporting.test.ts on lines 332..345
    integration/reporting/reporting.test.ts on lines 347..360
    integration/reporting/reporting.test.ts on lines 362..375
    integration/reporting/reporting.test.ts on lines 456..469

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

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

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

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

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

    Refactorings

    Further Reading

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

      it("report on Invalid", async () => {
        await expect(page).toClick("button", {
          text: "Market is invalid",
          timeout: 1000
        });
    Severity: Major
    Found in integration/reporting/reporting.test.ts and 7 other locations - About 2 hrs to fix
    integration/reporting/reporting.test.ts on lines 257..270
    integration/reporting/reporting.test.ts on lines 272..285
    integration/reporting/reporting.test.ts on lines 287..300
    integration/reporting/reporting.test.ts on lines 332..345
    integration/reporting/reporting.test.ts on lines 347..360
    integration/reporting/reporting.test.ts on lines 456..469
    integration/reporting/reporting.test.ts on lines 556..569

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

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

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

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

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

    Refactorings

    Further Reading

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

      it("report on Invalid", async () => {
        await expect(page).toClick("button", {
          text: "Market is invalid",
          timeout: 1000
        });
    Severity: Major
    Found in integration/reporting/reporting.test.ts and 7 other locations - About 2 hrs to fix
    integration/reporting/reporting.test.ts on lines 257..270
    integration/reporting/reporting.test.ts on lines 272..285
    integration/reporting/reporting.test.ts on lines 332..345
    integration/reporting/reporting.test.ts on lines 347..360
    integration/reporting/reporting.test.ts on lines 362..375
    integration/reporting/reporting.test.ts on lines 456..469
    integration/reporting/reporting.test.ts on lines 556..569

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

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

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

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

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

    Refactorings

    Further Reading

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

      it("report on yes", async () => {
        await expect(page).toClick("button", {
          text: "Yes",
          timeout: 10000
        });
    Severity: Major
    Found in integration/reporting/reporting.test.ts and 7 other locations - About 2 hrs to fix
    integration/reporting/reporting.test.ts on lines 257..270
    integration/reporting/reporting.test.ts on lines 272..285
    integration/reporting/reporting.test.ts on lines 287..300
    integration/reporting/reporting.test.ts on lines 347..360
    integration/reporting/reporting.test.ts on lines 362..375
    integration/reporting/reporting.test.ts on lines 456..469
    integration/reporting/reporting.test.ts on lines 556..569

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

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

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

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

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

    Refactorings

    Further Reading

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

      it("report on No", async () => {
        await expect(page).toClick("button", {
          text: "No",
          timeout: 1000
        });
    Severity: Major
    Found in integration/reporting/reporting.test.ts and 7 other locations - About 2 hrs to fix
    integration/reporting/reporting.test.ts on lines 257..270
    integration/reporting/reporting.test.ts on lines 287..300
    integration/reporting/reporting.test.ts on lines 332..345
    integration/reporting/reporting.test.ts on lines 347..360
    integration/reporting/reporting.test.ts on lines 362..375
    integration/reporting/reporting.test.ts on lines 456..469
    integration/reporting/reporting.test.ts on lines 556..569

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

    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 render has 68 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

      render() {
        const s = this.state;
    
        return (
          <section className={Styles.DerivationPathEditor}>
    Severity: Major
    Found in src/modules/auth/components/common/derivation-path-editor.jsx - About 2 hrs to fix

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

        submitMigrateREP: ({
          estimateGas,
          marketId,
          selectedOutcome,
          invalid,
      Severity: Major
      Found in src/modules/forking/containers/migrate-rep.js and 1 other location - About 2 hrs to fix
      src/modules/reporting/containers/reporting-report.js on lines 31..50

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

      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

        submitInitialReport: ({
          estimateGas,
          marketId,
          selectedOutcome,
          invalid,
      Severity: Major
      Found in src/modules/reporting/containers/reporting-report.js and 1 other location - About 2 hrs to fix
      src/modules/forking/containers/migrate-rep.js on lines 28..47

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

      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

                    <li
                      className={classNames({
                        [`${Styles.active}`]: s.selectedNav === ASK
                      })}
                    >
      src/modules/create-market/components/create-market-form-liquidity/create-market-form-liquidity.jsx on lines 629..651

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

      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

                    <li
                      className={classNames({
                        [`${Styles.active}`]: s.selectedNav === BID,
                        [`${Styles.activePositive}`]: s.selectedNav === BID
                      })}
      src/modules/create-market/components/create-market-form-liquidity/create-market-form-liquidity.jsx on lines 652..673

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

      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 render has 67 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

        render() {
          const {
            currentTime,
            doesUserHaveRep,
            marginLeft,

        Function render has 67 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

          render() {
            const {
              isExtendedDisplay,
              isMobile,
              outcomeName,
          Severity
          Category
          Status
          Source
          Language