AugurProject/augur-ui

View on GitHub

Showing 1,757 of 1,757 total issues

Identical blocks of code found in 3 locations. Consider refactoring.
Open

              <button
                className={classNames(FormStyles.Form__prev, {
                  [`${FormStyles["hide-button"]}`]: s.currentStep === 0
                })}
                onClick={this.prevPage}
src/modules/forking/components/migrate-rep/migrate-rep.jsx on lines 162..169
src/modules/reporting/components/reporting-dispute/reporting-dispute.jsx on lines 173..180

Duplicated Code

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

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

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

Tuning

This issue has a mass of 66.

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

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

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

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

Refactorings

Further Reading

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

      {
        id: "order14",
        avgPrice: formatEther("10"),
        type: "buy",
        matchedShares: formatNone(),
Severity: Major
Found in src/modules/orders/selectors/user-open-orders.test.js and 5 other locations - About 1 hr to fix
src/modules/orders/selectors/user-open-orders.test.js on lines 190..200
src/modules/orders/selectors/user-open-orders.test.js on lines 201..211
src/modules/orders/selectors/user-open-orders.test.js on lines 212..222
src/modules/orders/selectors/user-open-orders.test.js on lines 223..233
src/modules/orders/selectors/user-open-orders.test.js on lines 234..244

Duplicated Code

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

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

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

Tuning

This issue has a mass of 66.

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

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

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

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

Refactorings

Further Reading

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

      [ASKS]: [
        {
          price: formatEther(0.5),
          shares: formatShares(10)
        },
Severity: Major
Found in src/modules/orders/selectors/order-book-series.test.js and 1 other location - About 1 hr to fix
src/modules/orders/selectors/order-book-series.test.js on lines 16..29

Duplicated Code

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

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

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

Tuning

This issue has a mass of 66.

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

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

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

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

Refactorings

Further Reading

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

        {upcomingMarketsCount > 0 &&
          filteredUpcomingMarkets.map(market => (
            <DisputeMarketCard
              key={market.id}
              market={market}
src/modules/reporting/components/common/disputing-markets.jsx on lines 203..214
src/modules/reporting/components/common/disputing-markets.jsx on lines 234..245

Duplicated Code

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

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

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

Tuning

This issue has a mass of 66.

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

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

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

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

Refactorings

Further Reading

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

        {nonForkingMarketsCount > 0 &&
          isForking &&
          nonForkingMarkets.map(market => (
            <DisputeMarketCard
              key={market.id}
src/modules/reporting/components/common/disputing-markets.jsx on lines 203..214
src/modules/reporting/components/common/disputing-markets.jsx on lines 246..256

Duplicated Code

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

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

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

Tuning

This issue has a mass of 66.

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

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

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

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

Refactorings

Further Reading

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

    expect(orderBook.asks[3]).toEqual(
      {
        price: formatEther(0.8),
        shares: formatShares(2),
        isOfCurrentUser: false,
Severity: Major
Found in src/modules/orders/selectors/select-order-book.test.js and 1 other location - About 1 hr to fix
src/modules/orders/selectors/select-order-book.test.js on lines 129..138

Duplicated Code

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

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

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

Tuning

This issue has a mass of 66.

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

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

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

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

Refactorings

Further Reading

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

      [BIDS]: [
        {
          price: formatEther(0.2),
          shares: formatShares(10)
        },
Severity: Major
Found in src/modules/orders/selectors/order-book-series.test.js and 1 other location - About 1 hr to fix
src/modules/orders/selectors/order-book-series.test.js on lines 30..43

Duplicated Code

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

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

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

Tuning

This issue has a mass of 66.

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

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

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

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

Refactorings

Further Reading

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

    expect(orderBook.bids[2]).toEqual(
      {
        price: formatEther(0.1),
        shares: formatShares(16),
        isOfCurrentUser: false,
Severity: Major
Found in src/modules/orders/selectors/select-order-book.test.js and 1 other location - About 1 hr to fix
src/modules/orders/selectors/select-order-book.test.js on lines 170..179

Duplicated Code

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

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

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

Tuning

This issue has a mass of 66.

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

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

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

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

Refactorings

Further Reading

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

function pollForNetwork(dispatch, getState) {
  setInterval(() => {
    const { modal } = getState();
    dispatch(
      verifyMatchingNetworkIds((err, expectedNetworkId) => {
Severity: Minor
Found in src/modules/app/actions/init-augur.js - About 1 hr to fix

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

      static async onDerivationPathChange(derivationPaths, pageNumber = 1) {
        const paths = [];
    
        derivationPaths.forEach(derivationPath => {
          const components = DerivationPath.parse(derivationPath);
    Severity: Minor
    Found in src/modules/auth/components/trezor-connect/trezor-connect.jsx - About 1 hr to fix

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

        render() {
          const { modal } = this.props;
          const s = this.state;
          const connectionStatus = getValue(this.props, "modal.connection");
          let nodeTitleText = "";
      Severity: Minor
      Found in src/modules/modal/components/modal-network-disconnected.jsx - About 1 hr to fix

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

          constructor(props) {
            super(props);
            // NOTE: from here to this.state was added to sort markets, this might need to be more robust in the future.
            const openMarkets = [];
            const reportingMarkets = [];
        Severity: Minor
        Found in src/modules/portfolio/components/markets/markets.jsx - About 1 hr to fix

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

              augur.connect = (env, cb) => {
                cb(null, {
                  ethereumNode: {
                    ...ethereumNodeConnectionInfo,
                    contracts: {},
          Severity: Major
          Found in src/modules/app/actions/init-augur.test.js and 5 other locations - About 1 hr to fix
          src/modules/app/actions/init-augur.test.js on lines 135..147
          src/modules/app/actions/init-augur.test.js on lines 175..187
          src/modules/app/actions/init-augur.test.js on lines 229..241
          src/modules/app/actions/init-augur.test.js on lines 268..280
          src/modules/app/actions/init-augur.test.js on lines 306..318

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

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

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

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

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

          Refactorings

          Further Reading

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

                    test(`market.outcomes[${i}].userOpenOrders[${j}].marketId`, () => {
                      expect(openOrder.marketId).toBeDefined();
                      expect(typeof openOrder.marketId).toBe("string");
                    });
          Severity: Major
          Found in src/assertions/market.js and 3 other locations - About 1 hr to fix
          src/assertions/market.js on lines 217..220
          src/assertions/market.js on lines 227..230
          src/assertions/market.js on lines 232..235

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

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

            test(`should return the default state for type: CLEAR_ACCOUNT_TRADES`, () => {
              const actual = accountTrades(
                { test: "test" },
                { type: CLEAR_ACCOUNT_TRADES }
              );
          Severity: Major
          Found in src/modules/positions/reducers/account-trades.test.js and 2 other locations - About 1 hr to fix
          src/modules/positions/reducers/account-positions.test.js on lines 13..20
          src/modules/positions/reducers/account-trades.test.js on lines 16..23

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

          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

                  augur.connect = (env, cb) => {
                    cb(null, {
                      ethereumNode: {
                        ...ethereumNodeConnectionInfo,
                        contracts: {},
          Severity: Major
          Found in src/modules/app/actions/init-augur.test.js and 5 other locations - About 1 hr to fix
          src/modules/app/actions/init-augur.test.js on lines 100..112
          src/modules/app/actions/init-augur.test.js on lines 135..147
          src/modules/app/actions/init-augur.test.js on lines 175..187
          src/modules/app/actions/init-augur.test.js on lines 229..241
          src/modules/app/actions/init-augur.test.js on lines 268..280

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

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

            test(`should return the default state for type: CLEAR_LOGIN_ACCOUNT`, () => {
              const actual = accountPositions(
                { test: "test" },
                { type: CLEAR_LOGIN_ACCOUNT }
              );
          Severity: Major
          Found in src/modules/positions/reducers/account-positions.test.js and 2 other locations - About 1 hr to fix
          src/modules/positions/reducers/account-trades.test.js on lines 16..23
          src/modules/positions/reducers/account-trades.test.js on lines 25..32

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

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

            test(`should return the default state for type: CLEAR_LOGIN_ACCOUNT`, () => {
              const actual = accountTrades(
                { test: "test" },
                { type: CLEAR_LOGIN_ACCOUNT }
              );
          Severity: Major
          Found in src/modules/positions/reducers/account-trades.test.js and 2 other locations - About 1 hr to fix
          src/modules/positions/reducers/account-positions.test.js on lines 13..20
          src/modules/positions/reducers/account-trades.test.js on lines 25..32

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

          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

                augur.connect = (env, cb) => {
                  cb(null, {
                    ethereumNode: {
                      ...ethereumNodeConnectionInfo,
                      contracts: {},
          Severity: Major
          Found in src/modules/app/actions/init-augur.test.js and 5 other locations - About 1 hr to fix
          src/modules/app/actions/init-augur.test.js on lines 100..112
          src/modules/app/actions/init-augur.test.js on lines 175..187
          src/modules/app/actions/init-augur.test.js on lines 229..241
          src/modules/app/actions/init-augur.test.js on lines 268..280
          src/modules/app/actions/init-augur.test.js on lines 306..318

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

          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

                  augur.connect = (env, cb) => {
                    cb(null, {
                      ethereumNode: {
                        ...ethereumNodeConnectionInfo,
                        contracts: {},
          Severity: Major
          Found in src/modules/app/actions/init-augur.test.js and 5 other locations - About 1 hr to fix
          src/modules/app/actions/init-augur.test.js on lines 100..112
          src/modules/app/actions/init-augur.test.js on lines 135..147
          src/modules/app/actions/init-augur.test.js on lines 175..187
          src/modules/app/actions/init-augur.test.js on lines 229..241
          src/modules/app/actions/init-augur.test.js on lines 306..318

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

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

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

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

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

          Refactorings

          Further Reading

          Severity
          Category
          Status
          Source
          Language