appbaseio/reactivesearch

View on GitHub

Showing 1,376 of 1,376 total issues

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

    handleDrag = (values) => {
        if (this.props.onDrag) {
            const { min, max, values: currentValue } = values;
            this.props.onDrag(currentValue, [min, max]);
        }
Severity: Major
Found in packages/web/src/components/range/DynamicRangeSlider.js and 1 other location - About 1 hr to fix
packages/web/src/components/range/RangeSlider.js on lines 241..246

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

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

                                            <li
                                                {...getItemProps({ item })}
                                                key={`${index + 1}-${item.value}`}
                                                style={{
                                                    backgroundColor: this.getBackgroundColor(
Severity: Major
Found in packages/web/src/components/search/DataSearch.js and 1 other location - About 1 hr to fix
packages/web/src/components/search/CategorySearch.js on lines 626..637

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

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

                                            <li
                                                {...getItemProps({ item })}
                                                key={`${index + 1}-${item.value}`}
                                                style={{
                                                    backgroundColor: this.getBackgroundColor(
Severity: Major
Found in packages/web/src/components/search/CategorySearch.js and 1 other location - About 1 hr to fix
packages/web/src/components/search/DataSearch.js on lines 539..559

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

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

        props.updateQuery({
            componentId: props.componentId,
            query: query(this.coordinates, distance, props),
            value,
            label: props.filterLabel,
Severity: Major
Found in packages/maps/src/components/basic/GeoDistanceSlider.js and 1 other location - About 1 hr to fix
packages/maps/src/components/basic/GeoDistanceDropdown.js on lines 281..288

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

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

    getOptions = (buckets, props) => {
        if (props.showLoadMore) {
            return buckets.map(bucket => ({
                key: bucket.key[props.dataField],
                doc_count: bucket.doc_count,
Severity: Major
Found in packages/web/src/components/list/MultiList.js and 1 other location - About 1 hr to fix
packages/web/src/components/list/SingleList.js on lines 120..129

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

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

    getOptions = (buckets, props) => {
        if (props.showLoadMore) {
            return buckets.map(bucket => ({
                key: bucket.key[props.dataField],
                doc_count: bucket.doc_count,
Severity: Major
Found in packages/web/src/components/list/SingleList.js and 1 other location - About 1 hr to fix
packages/web/src/components/list/MultiList.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 68.

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

    componentWillReceiveProps(nextProps) {
        checkPropChange(this.props.react, nextProps.react, () => this.setReact(nextProps));
        if (!isEqual(this.props.defaultSelected, nextProps.defaultSelected)) {
            this.handleDateChange(nextProps.defaultSelected, false, nextProps);
        } else {
Severity: Minor
Found in packages/web/src/components/date/DateRange.js - About 1 hr to fix

    Function renderAsCard has 40 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

            renderAsCard({ item, triggerClickAnalytics }) {
                const onData = this.$props.onData || this.$scopedSlots.onData;
                const result = onData(item);
                if (result) {
                    return (
    Severity: Minor
    Found in packages/vue/src/components/result/ResultCard.jsx - About 1 hr to fix

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

          render() {
              return (
                  <ReactiveBase
                      app="meetup_app"
                      credentials="lW70IgSjr:87c5ae16-73fb-4559-a29e-0a02760d2181"
      Severity: Minor
      Found in packages/web/examples/ToggleButton/src/index.js - About 1 hr to fix

        Function mapStateToProps has 40 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

        const mapStateToProps = (state, props) => {
            let options
                = state.aggregations[props.componentId]
                && state.aggregations[props.componentId][props.dataField];
            let range = state.aggregations[`${props.componentId}__range__internal`];
        Severity: Minor
        Found in packages/web/src/components/range/DynamicRangeSlider.js - About 1 hr to fix

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

                  if (streamResults.length) {
                      const ids = streamResults.map(item => item._id);
                      filteredResults = filteredResults.filter(item => !ids.includes(item._id));
                  }
          Severity: Major
          Found in packages/native/src/components/result/ReactiveList.js and 4 other locations - About 1 hr to fix
          packages/maps-native/src/components/maps/ReactiveMap.js on lines 396..399
          packages/maps/src/components/result/ReactiveMap.js on lines 863..866
          packages/vue/src/components/result/ReactiveList.jsx on lines 296..299
          packages/web/src/components/result/ReactiveList.js on lines 529..532

          Duplicated Code

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

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

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

          Tuning

          This issue has a mass of 67.

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

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

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

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

          Refactorings

          Further Reading

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

                  if (streamResults.length) {
                      const ids = streamResults.map(item => item._id);
                      filteredResults = filteredResults.filter(item => !ids.includes(item._id));
                  }
          Severity: Major
          Found in packages/maps/src/components/result/ReactiveMap.js and 4 other locations - About 1 hr to fix
          packages/maps-native/src/components/maps/ReactiveMap.js on lines 396..399
          packages/native/src/components/result/ReactiveList.js on lines 489..492
          packages/vue/src/components/result/ReactiveList.jsx on lines 296..299
          packages/web/src/components/result/ReactiveList.js on lines 529..532

          Duplicated Code

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

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

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

          Tuning

          This issue has a mass of 67.

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

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

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

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

          Refactorings

          Further Reading

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

                  if (streamResults.length) {
                      const ids = streamResults.map(item => item._id);
                      filteredResults = filteredResults.filter(item => !ids.includes(item._id));
                  }
          Severity: Major
          Found in packages/web/src/components/result/ReactiveList.js and 4 other locations - About 1 hr to fix
          packages/maps-native/src/components/maps/ReactiveMap.js on lines 396..399
          packages/maps/src/components/result/ReactiveMap.js on lines 863..866
          packages/native/src/components/result/ReactiveList.js on lines 489..492
          packages/vue/src/components/result/ReactiveList.jsx on lines 296..299

          Duplicated Code

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

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

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

          Tuning

          This issue has a mass of 67.

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

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

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

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

          Refactorings

          Further Reading

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

                  if (this.props.pagination && this.state.isLoading) {
                      if (nextProps.onPageChange) {
                          nextProps.onPageChange();
                      }
                      this.setState({
          Severity: Major
          Found in packages/maps-native/src/components/maps/ReactiveMap.js and 1 other location - About 1 hr to fix
          packages/maps/src/components/result/ReactiveMap.js on lines 251..258

          Duplicated Code

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

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

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

          Tuning

          This issue has a mass of 67.

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

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

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

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

          Refactorings

          Further Reading

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

                                                  <Text
                                                      style={{
                                                          color: this.props.theming.textColor,
                                                          marginLeft: 20,
                                                          ...getInnerKey(this.props.innerStyle, 'label'),
          Severity: Major
          Found in packages/native/src/components/range/MultiDropdownRange.js and 1 other location - About 1 hr to fix
          packages/native/src/components/shared/CheckboxItem.js on lines 34..43

          Duplicated Code

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

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

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

          Tuning

          This issue has a mass of 67.

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

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

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

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

          Refactorings

          Further Reading

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

                  if (streamResults.length) {
                      const ids = streamResults.map(item => item._id);
                      filteredResults = filteredResults.filter(item => !ids.includes(item._id));
                  }
          Severity: Major
          Found in packages/vue/src/components/result/ReactiveList.jsx and 4 other locations - About 1 hr to fix
          packages/maps-native/src/components/maps/ReactiveMap.js on lines 396..399
          packages/maps/src/components/result/ReactiveMap.js on lines 863..866
          packages/native/src/components/result/ReactiveList.js on lines 489..492
          packages/web/src/components/result/ReactiveList.js on lines 529..532

          Duplicated Code

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

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

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

          Tuning

          This issue has a mass of 67.

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

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

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

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

          Refactorings

          Further Reading

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

                  if (this.props.pagination && this.state.isLoading) {
                      if (nextProps.onPageChange) {
                          nextProps.onPageChange();
                      }
                      this.setState({
          Severity: Major
          Found in packages/maps/src/components/result/ReactiveMap.js and 1 other location - About 1 hr to fix
          packages/maps-native/src/components/maps/ReactiveMap.js on lines 158..165

          Duplicated Code

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

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

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

          Tuning

          This issue has a mass of 67.

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

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

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

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

          Refactorings

          Further Reading

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

                  if (streamResults.length) {
                      const ids = streamResults.map(item => item._id);
                      filteredResults = filteredResults.filter(item => !ids.includes(item._id));
                  }
          Severity: Major
          Found in packages/maps-native/src/components/maps/ReactiveMap.js and 4 other locations - About 1 hr to fix
          packages/maps/src/components/result/ReactiveMap.js on lines 863..866
          packages/native/src/components/result/ReactiveList.js on lines 489..492
          packages/vue/src/components/result/ReactiveList.jsx on lines 296..299
          packages/web/src/components/result/ReactiveList.js on lines 529..532

          Duplicated Code

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

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

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

          Tuning

          This issue has a mass of 67.

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

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

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

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

          Refactorings

          Further Reading

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

                              <Text
                                  style={{
                                      color: this.props.theming.textColor,
                                      marginLeft: 20,
                                      ...getInnerKey(this.props.innerStyle, 'label'),
          Severity: Major
          Found in packages/native/src/components/shared/CheckboxItem.js and 1 other location - About 1 hr to fix
          packages/native/src/components/range/MultiDropdownRange.js on lines 237..246

          Duplicated Code

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

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

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

          Tuning

          This issue has a mass of 67.

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

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

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

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

          Refactorings

          Further Reading

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

                              {
                                  label: `${this.state.currentValue} in ${filteredCategories[1].key}`,
                                  value: this.state.currentValue,
                                  category: filteredCategories[1].key,
                                  source: null,
          Severity: Major
          Found in packages/web/src/components/search/CategorySearch.js and 1 other location - About 1 hr to fix
          packages/web/src/components/search/CategorySearch.js on lines 544..549

          Duplicated Code

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

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

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

          Tuning

          This issue has a mass of 67.

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

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

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

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

          Refactorings

          Further Reading

          Severity
          Category
          Status
          Source
          Language