MetricsThresholds constructor

const MetricsThresholds({
  1. int cyclomaticComplexity = 20,
  2. int cognitiveComplexity = 15,
  3. int sourceLinesOfCode = 50,
  4. int maintainabilityIndex = 50,
  5. int maximumNesting = 5,
  6. int numberOfParameters = 4,
  7. int numberOfMethods = 20,
  8. int halsteadVolume = 150,
})

Implementation

const MetricsThresholds({
  this.cyclomaticComplexity = 20,
  this.cognitiveComplexity = 15,
  this.sourceLinesOfCode = 50,
  this.maintainabilityIndex = 50,
  this.maximumNesting = 5,
  this.numberOfParameters = 4,
  this.numberOfMethods = 20,
  this.halsteadVolume = 150,
});