-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.codeclimate.yml
More file actions
45 lines (44 loc) · 1.13 KB
/
.codeclimate.yml
File metadata and controls
45 lines (44 loc) · 1.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
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/"