weathermen/soundstorm

View on GitHub

Showing 5,697 of 5,698 total issues

Class User has 23 methods (exceeds 20 allowed). Consider refactoring.
Open

class User < ApplicationRecord
  class ResourceNotFound < ActiveRecord::RecordNotFound
    def initialize(resource)
      super "Couldn't find User from Webfinger resource #{resource}"
    end
Severity: Minor
Found in app/models/user.rb - About 2 hrs to fix

    Function table has 56 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

            table: function(options) {
                var table = options.table, key, revCharsTable = options.revCharsTable;
                if (!table) {
                    throw new Error("Encoding '" + options.type +"' has incorect 'table' option");
                }
    Severity: Major
    Found in docs/api/swagger-ui/lib/shred.bundle.js - About 2 hrs to fix

      Function SwaggerResource has 55 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

          function SwaggerResource(resourceObj, api) {
            var consumes, e, obj, parts, produces,
              _this = this;
            this.api = api;
            this.api = this.api;
      Severity: Major
      Found in docs/api/swagger-ui/lib/swagger.js - About 2 hrs to fix

        Function submitOperation has 51 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

            OperationView.prototype.submitOperation = function(e) {
              var error_free, form, map, o, opts, val, _i, _j, _k, _len, _len1, _len2, _ref5, _ref6, _ref7;
              if (e != null) {
                e.preventDefault();
              }
        Severity: Major
        Found in docs/api/swagger-ui/swagger-ui.js - About 2 hrs to fix

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

              OperationView.prototype.render = function() {
                var contentTypeModel, isMethodSubmissionSupported, param, responseContentTypeView, responseSignatureView, signatureModel, statusCode, type, _i, _j, _k, _len, _len1, _len2, _ref5, _ref6, _ref7;
                isMethodSubmissionSupported = true;
                if (!isMethodSubmissionSupported) {
                  this.model.isReadOnly = true;
          Severity: Major
          Found in docs/api/swagger-ui/swagger-ui.js - About 2 hrs to fix

            Function next has 50 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

            next:function () {
                    if (this.done) {
                        return this.EOF;
                    }
                    if (!this._input) this.done = true;
            Severity: Minor
            Found in docs/api/swagger-ui/lib/handlebars-1.0.0.js - About 2 hrs to fix

              Function buildFromSpec has 49 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

                  SwaggerApi.prototype.buildFromSpec = function(response) {
                    var api, isApi, newName, operation, res, resource, _i, _j, _k, _len, _len1, _len2, _ref, _ref1, _ref2;
                    if (response.apiVersion != null) {
                      this.apiVersion = response.apiVersion;
                    }
              Severity: Minor
              Found in docs/api/swagger-ui/lib/swagger.js - About 1 hr to fix

                Function buildFrom1_1Spec has 49 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                    SwaggerApi.prototype.buildFrom1_1Spec = function(response) {
                      var api, isApi, newName, operation, res, resource, _i, _j, _k, _len, _len1, _len2, _ref, _ref1, _ref2;
                      console.log("This API is using a deprecated version of Swagger!  Please see http://github.com/wordnik/swagger-core/wiki for more info");
                      if (response.apiVersion != null) {
                        this.apiVersion = response.apiVersion;
                Severity: Minor
                Found in docs/api/swagger-ui/lib/swagger.js - About 1 hr to fix

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

                  table: [{3:1,4:2,5:[2,7],6:3,7:4,8:6,9:7,11:8,12:9,13:10,14:[1,11],15:[1,12],16:[1,13],19:[1,5],22:[1,14],23:[1,15],25:[1,16]},{1:[3]},{5:[1,17]},{5:[2,6],7:18,8:6,9:7,11:8,12:9,13:10,14:[1,11],15:[1,12],16:[1,13],19:[1,19],20:[2,6],22:[1,14],23:[1,15],25:[1,16]},{5:[2,5],6:20,8:21,9:7,11:8,12:9,13:10,14:[1,11],15:[1,12],16:[1,13],19:[1,5],20:[2,5],22:[1,14],23:[1,15],25:[1,16]},{17:23,18:[1,22],21:24,29:25,36:[1,28],38:[1,27],39:26},{5:[2,8],14:[2,8],15:[2,8],16:[2,8],19:[2,8],20:[2,8],22:[2,8],23:[2,8],25:[2,8]},{4:29,6:3,7:4,8:6,9:7,11:8,12:9,13:10,14:[1,11],15:[1,12],16:[1,13],19:[1,5],20:[2,7],22:[1,14],23:[1,15],25:[1,16]},{4:30,6:3,7:4,8:6,9:7,11:8,12:9,13:10,14:[1,11],15:[1,12],16:[1,13],19:[1,5],20:[2,7],22:[1,14],23:[1,15],25:[1,16]},{5:[2,12],14:[2,12],15:[2,12],16:[2,12],19:[2,12],20:[2,12],22:[2,12],23:[2,12],25:[2,12]},{5:[2,13],14:[2,13],15:[2,13],16:[2,13],19:[2,13],20:[2,13],22:[2,13],23:[2,13],25:[2,13]},{5:[2,14],14:[2,14],15:[2,14],16:[2,14],19:[2,14],20:[2,14],22:[2,14],23:[2,14],25:[2,14]},{5:[2,15],14:[2,15],15:[2,15],16:[2,15],19:[2,15],20:[2,15],22:[2,15],23:[2,15],25:[2,15]},{17:31,21:24,29:25,36:[1,28],38:[1,27],39:26},{17:32,21:24,29:25,36:[1,28],38:[1,27],39:26},{17:33,21:24,29:25,36:[1,28],38:[1,27],39:26},{21:35,26:34,31:[1,36],32:[1,37],36:[1,28],39:26},{1:[2,1]},{5:[2,2],8:21,9:7,11:8,12:9,13:10,14:[1,11],15:[1,12],16:[1,13],19:[1,19],20:[2,2],22:[1,14],23:[1,15],25:[1,16]},{17:23,21:24,29:25,36:[1,28],38:[1,27],39:26},{5:[2,4],7:38,8:6,9:7,11:8,12:9,13:10,14:[1,11],15:[1,12],16:[1,13],19:[1,19],20:[2,4],22:[1,14],23:[1,15],25:[1,16]},{5:[2,9],14:[2,9],15:[2,9],16:[2,9],19:[2,9],20:[2,9],22:[2,9],23:[2,9],25:[2,9]},{5:[2,23],14:[2,23],15:[2,23],16:[2,23],19:[2,23],20:[2,23],22:[2,23],23:[2,23],25:[2,23]},{18:[1,39]},{18:[2,27],21:44,24:[2,27],27:40,28:41,29:48,30:42,31:[1,45],32:[1,46],33:[1,47],34:43,35:49,36:[1,50],38:[1,27],39:26},{18:[2,28],24:[2,28]},{18:[2,48],24:[2,48],31:[2,48],32:[2,48],33:[2,48],36:[2,48],38:[2,48],40:[1,51]},{21:52,36:[1,28],39:26},{18:[2,50],24:[2,50],31:[2,50],32:[2,50],33:[2,50],36:[2,50],38:[2,50],40:[2,50]},{10:53,20:[1,54]},{10:55,20:[1,54]},{18:[1,56]},{18:[1,57]},{24:[1,58]},{18:[1,59],21:60,36:[1,28],39:26},{18:[2,44],36:[2,44]},{18:[2,45],36:[2,45]},{18:[2,46],36:[2,46]},{5:[2,3],8:21,9:7,11:8,12:9,13:10,14:[1,11],15:[1,12],16:[1,13],19:[1,19],20:[2,3],22:[1,14],23:[1,15],25:[1,16]},{14:[2,17],15:[2,17],16:[2,17],19:[2,17],20:[2,17],22:[2,17],23:[2,17],25:[2,17]},{18:[2,25],21:44,24:[2,25],28:61,29:48,30:62,31:[1,45],32:[1,46],33:[1,47],34:43,35:49,36:[1,50],38:[1,27],39:26},{18:[2,26],24:[2,26]},{18:[2,30],24:[2,30],31:[2,30],32:[2,30],33:[2,30],36:[2,30],38:[2,30]},{18:[2,36],24:[2,36],35:63,36:[1,64]},{18:[2,31],24:[2,31],31:[2,31],32:[2,31],33:[2,31],36:[2,31],38:[2,31]},{18:[2,32],24:[2,32],31:[2,32],32:[2,32],33:[2,32],36:[2,32],38:[2,32]},{18:[2,33],24:[2,33],31:[2,33],32:[2,33],33:[2,33],36:[2,33],38:[2,33]},{18:[2,34],24:[2,34],31:[2,34],32:[2,34],33:[2,34],36:[2,34],38:[2,34]},{18:[2,35],24:[2,35],31:[2,35],32:[2,35],33:[2,35],36:[2,35],38:[2,35]},{18:[2,38],24:[2,38],36:[2,38]},{18:[2,50],24:[2,50],31:[2,50],32:[2,50],33:[2,50],36:[2,50],37:[1,65],38:[2,50],40:[2,50]},{36:[1,66]},{18:[2,47],24:[2,47],31:[2,47],32:[2,47],33:[2,47],36:[2,47],38:[2,47]},{5:[2,10],14:[2,10],15:[2,10],16:[2,10],19:[2,10],20:[2,10],22:[2,10],23:[2,10],25:[2,10]},{21:67,36:[1,28],39:26},{5:[2,11],14:[2,11],15:[2,11],16:[2,11],19:[2,11],20:[2,11],22:[2,11],23:[2,11],25:[2,11]},{14:[2,16],15:[2,16],16:[2,16],19:[2,16],20:[2,16],22:[2,16],23:[2,16],25:[2,16]},{5:[2,19],14:[2,19],15:[2,19],16:[2,19],19:[2,19],20:[2,19],22:[2,19],23:[2,19],25:[2,19]},{5:[2,20],14:[2,20],15:[2,20],16:[2,20],19:[2,20],20:[2,20],22:[2,20],23:[2,20],25:[2,20]},{5:[2,21],14:[2,21],15:[2,21],16:[2,21],19:[2,21],20:[2,21],22:[2,21],23:[2,21],25:[2,21]},{18:[1,68]},{18:[2,24],24:[2,24]},{18:[2,29],24:[2,29],31:[2,29],32:[2,29],33:[2,29],36:[2,29],38:[2,29]},{18:[2,37],24:[2,37],36:[2,37]},{37:[1,65]},{21:69,29:73,31:[1,70],32:[1,71],33:[1,72],36:[1,28],38:[1,27],39:26},{18:[2,49],24:[2,49],31:[2,49],32:[2,49],33:[2,49],36:[2,49],38:[2,49],40:[2,49]},{18:[1,74]},{5:[2,22],14:[2,22],15:[2,22],16:[2,22],19:[2,22],20:[2,22],22:[2,22],23:[2,22],25:[2,22]},{18:[2,39],24:[2,39],36:[2,39]},{18:[2,40],24:[2,40],36:[2,40]},{18:[2,41],24:[2,41],36:[2,41]},{18:[2,42],24:[2,42],36:[2,42]},{18:[2,43],24:[2,43],36:[2,43]},{5:[2,18],14:[2,18],15:[2,18],16:[2,18],19:[2,18],20:[2,18],22:[2,18],23:[2,18],25:[2,18]}],
                  Severity: Major
                  Found in docs/api/swagger-ui/lib/handlebars-1.0.0.js and 14 other locations - About 1 hr to fix
                  docs/api/swagger-ui/lib/handlebars-1.0.0.js on lines 303..303
                  docs/api/swagger-ui/lib/handlebars-1.0.0.js on lines 303..303
                  docs/api/swagger-ui/lib/handlebars-1.0.0.js on lines 303..303
                  docs/api/swagger-ui/lib/handlebars-1.0.0.js on lines 303..303
                  docs/api/swagger-ui/lib/handlebars-1.0.0.js on lines 303..303
                  docs/api/swagger-ui/lib/handlebars-1.0.0.js on lines 303..303
                  docs/api/swagger-ui/lib/handlebars-1.0.0.js on lines 303..303
                  docs/api/swagger-ui/lib/handlebars-1.0.0.js on lines 303..303
                  docs/api/swagger-ui/lib/handlebars-1.0.0.js on lines 303..303
                  docs/api/swagger-ui/lib/handlebars-1.0.0.js on lines 303..303
                  docs/api/swagger-ui/lib/handlebars-1.0.0.js on lines 303..303
                  docs/api/swagger-ui/lib/handlebars-1.0.0.js on lines 303..303
                  docs/api/swagger-ui/lib/handlebars-1.0.0.js on lines 303..303
                  docs/api/swagger-ui/lib/handlebars-1.0.0.js on lines 303..303

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

                  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

                    setters: function(constructor) {
                      constructor.prototype.setHeader = function(key,value) { return setHeader(this,key,value); };
                      constructor.prototype.setHeaders = function(hash) { return setHeaders(this,hash); };
                    },
                  Severity: Major
                  Found in docs/api/swagger-ui/lib/shred.bundle.js and 1 other location - About 1 hr to fix
                  docs/api/swagger-ui/lib/shred.bundle.js on lines 2195..2198

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

                  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

                    privateSetters: function(constructor) {
                      constructor.prototype._setHeader = function(key,value) { return setHeader(this,key,value); };
                      constructor.prototype._setHeaders = function(hash) { return setHeaders(this,hash); };
                    },
                  Severity: Major
                  Found in docs/api/swagger-ui/lib/shred.bundle.js and 1 other location - About 1 hr to fix
                  docs/api/swagger-ui/lib/shred.bundle.js on lines 2200..2203

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

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

                    str_format.format = function(parse_tree, argv) {
                      var cursor = 1, tree_length = parse_tree.length, node_type = '', arg, output = [], i, k, match, pad, pad_character, pad_length;
                      for (i = 0; i < tree_length; i++) {
                        node_type = get_type(parse_tree[i]);
                        if (node_type === 'string') {
                  Severity: Minor
                  Found in docs/api/swagger-ui/lib/shred.bundle.js - About 1 hr to fix

                    Function parse has 45 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                      str_format.parse = function(fmt) {
                        var _fmt = fmt, match = [], parse_tree = [], arg_names = 0;
                        while (_fmt) {
                          if ((match = /^[^\x25]+/.exec(_fmt)) !== null) {
                            parse_tree.push(match[0]);
                    Severity: Minor
                    Found in docs/api/swagger-ui/lib/shred.bundle.js - About 1 hr to fix

                      Function processOptions has 45 lines of code (exceeds 25 allowed). Consider refactoring.
                      Open

                      var processOptions = function(request,options) {
                      
                        request.log.debug("Processing request options ..");
                      
                        // We'll use `request.emitter` to manage the `on` event handlers.
                      Severity: Minor
                      Found in docs/api/swagger-ui/lib/shred.bundle.js - About 1 hr to fix

                        Function template has 45 lines of code (exceeds 25 allowed). Consider refactoring.
                        Open

                          template: function(templateSpec) {
                            // Just add water
                            var container = {
                              escapeExpression: Handlebars.Utils.escapeExpression,
                              invokePartial: Handlebars.VM.invokePartial,
                        Severity: Minor
                        Found in docs/api/swagger-ui/lib/handlebars-1.0.0.js - About 1 hr to fix

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

                                if (this.options.stringParams) {
                                  if(val.depth) {
                                    this.addDepth(val.depth);
                                  }
                                  this.opcode('getContext', val.depth || 0);
                          Severity: Major
                          Found in docs/api/swagger-ui/lib/handlebars-1.0.0.js and 1 other location - About 1 hr to fix
                          docs/api/swagger-ui/lib/handlebars-1.0.0.js on lines 1253..1262

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

                          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(this.options.stringParams) {
                                  if(param.depth) {
                                    this.addDepth(param.depth);
                                  }
                          
                          
                          Severity: Major
                          Found in docs/api/swagger-ui/lib/handlebars-1.0.0.js and 1 other location - About 1 hr to fix
                          docs/api/swagger-ui/lib/handlebars-1.0.0.js on lines 1069..1077

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

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

                              ParameterView.prototype.render = function() {
                                var contentTypeModel, isParam, parameterContentTypeView, responseContentTypeView, signatureModel, signatureView, template, type;
                                type = this.model.type || this.model.dataType;
                                if (this.model.paramType === 'body') {
                                  this.model.isBody = true;
                          Severity: Minor
                          Found in docs/api/swagger-ui/swagger-ui.js - About 1 hr to fix

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

                              def create
                                @track = Track.find(params[:track_id])
                            
                                respond_to do |format|
                                  if current_user.like!(@track)
                            Severity: Major
                            Found in app/controllers/likes_controller.rb and 1 other location - About 1 hr to fix
                            app/controllers/likes_controller.rb on lines 46..59

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

                            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

                              def destroy
                                @track = Track.find(params[:track_id])
                            
                                respond_to do |format|
                                  if current_user.unlike!(@track)
                            Severity: Major
                            Found in app/controllers/likes_controller.rb and 1 other location - About 1 hr to fix
                            app/controllers/likes_controller.rb on lines 21..34

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

                            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