SDPTeam15/PolyEvents

View on GitHub
.codeclimate.yml

Summary

Maintainability
Test Coverage
version: "2"         # required to adjust maintainability checks
plugins:
  duplication:
    enabled: true
    config:
      languages:
        kotlin:
          mass_threshold: 80
checks:
  argument-count:
    config:
      threshold: 8
  complex-logic:
    config:
      threshold: 100
  file-lines:
    config:
      threshold: 1250
  method-complexity:
    config:
      threshold: 100
  method-count:
    config:
      threshold: 100 # For some classes, we need this count
  method-lines:
    config:
      threshold: 100
  nested-control-flow:
    config:
      threshold: 20
  return-statements:
    config:
      threshold: 20
  similar-code:
    config:
      threshold: 160 # otherwise, findViewById and hashMap creation will raise an alert. Should be greater than 138 otherwise the constant in the database (enums) raise an alert for nothing 
  identical-code:
    config:
      threshold: 160 # otherwise, findViewById and hashMap creation will raise an alert. Should be greater than 138 otherwise the constant in the database (enums) raise an alert for nothing 

exclude_patterns:
- "**/test/"
- "**/androidTest/"
- "**test"
- "**/summaries/"