-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathmetrics.properties
102 lines (87 loc) · 3.97 KB
/
metrics.properties
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
# computed from sonarqube measures index
complexity.enabled=true
complexity.name=Complexity
complexity.description=Percentage of files that do not exceed a defined average complexity per function
complexity.factors=codequality
complexity.threshold.upper=15
complexity.threshold.lower=1
complexity.source=function_complexity
# computed from sonarqube measures index
comments.enabled=true
comments.name=Comment Ratio
comments.description=Percentage of files lying within a defined range of comment density
comments.factors=codequality
comments.threshold.upper=30
comments.threshold.lower=10
comments.source=comment_lines_density
# computed from sonarqube measures index
duplication.enabled=true
duplication.name=Duplication Density
duplication.description=Percentage of files lying within a defined range of duplication density
duplication.factors=codequality
duplication.threshold.upper=5
duplication.threshold.lower=0
duplication.source=duplicated_lines_density
# computed from jenkins index
testsuccess.enabled=true
testsuccess.name=Passed Tests Percentage
testsuccess.description=Percentage tests being passed
testsuccess.factors=testingstatus
# computed from jenkins index
testperformance.enabled=true
testperformance.name=Test Performance
testperformance.description=Last test duration is within limit
testperformance.factors=testingstatus
testperformance.limit.seconds=30
#############################################################################
# Choose only one of the following metrics depending on your issue management
#############################################################################
# Jira issue management
bugsratiojira.enabled=true
bugsratiojira.name=Non-Bug Density
bugsratiojira.description=Percentage of open issues not being Bugs
bugsratiojira.factors=softwarestability
bugsratiojira.status.unresolved=Open,In Progress,To be reviewed,Ready for Implementation
bugsratiojira.bug.issuetypes=Bug
# Redmine issue management
bugsratioredmine.enabled=true
bugsratioredmine.name=Non-Bug Density
bugsratioredmine.description=Percentage of open issues not being Bugs
bugsratioredmine.factors=softwarestability
bugsratioredmine.status.unresolved=New,Assigned,Feedback
bugsratioredmine.bug.trackers=Issue
# computed from sonarqube issues AND sonarqube measures indexes
nonblockingfiles.enabled=true
nonblockingfiles.name=Non blocking files
nonblockingfiles.description=Percentage of files not having CRITICAL or BLOCKER issues
nonblockingfiles.factors=blockingcode
#############################################################################
# Choose only one of the following metrics depending on your issue management
#############################################################################
# Jira issue management
welldefinedissuesjira.enabled=true
welldefinedissuesjira.name=Well defined issues (Jira)
welldefinedissuesjira.description=Percentage of issues created within the last month that have required properties defined
welldefinedissuesjira.factors=qualityissuespecification
welldefinedissuesjira.issuetypes=Task,Sub-Task,Bug
welldefinedissuesjira.dayrange=30
welldefinedissuesjira.required=due_date,description
# Redmine issue management
welldefinedissuesredmine.enabled=true
welldefinedissuesredmine.name=Well defined issues (Redmine)
welldefinedissuesredmine.description=Percentage of issues created within the last month that have required properties defined
welldefinedissuesredmine.factors=qualityissuespecification
welldefinedissuesredmine.trackertypes=Issue,Evolution,Assistance
welldefinedissuesredmine.dayrange=30
welldefinedissuesredmine.required=description
# computed from sonarqube issues index
blockerissues.enabled=true
blockerissues.name=Blocker Issues Density
blockerissues.description=Percentage of non-blocking Issues
blockerissues.factors=codequality
# computed from jenkins index
lastbuildsuccess.enabled=true
lastbuildsuccess.name=Last Build is successful
lastbuildsuccess.description=The last Jenkins build succeeded
lastbuildsuccess.factors=codequality
lastbuildsuccess.source=result