danger-code_coverage 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +32 -0
- data/.rubocop.yml +3873 -0
- data/.travis.yml +34 -0
- data/CHANGELOG.md +9 -0
- data/Gemfile +6 -0
- data/LICENSE.txt +22 -0
- data/README.md +109 -0
- data/Rakefile +28 -0
- data/danger-code_coverage.gemspec +41 -0
- data/lib/code_coverage/coverage_item.rb +13 -0
- data/lib/code_coverage/coverage_parser.rb +77 -0
- data/lib/code_coverage/gem_version.rb +5 -0
- data/lib/code_coverage/markdown_table.rb +53 -0
- data/lib/code_coverage/plugin.rb +155 -0
- data/lib/danger_code_coverage.rb +3 -0
- data/lib/danger_plugin.rb +3 -0
- data/sonar-project.properties +9 -0
- data/spec/assets/coverage_cobertura_python.json +519 -0
- data/spec/assets/coverage_cobertura_single.json +183 -0
- data/spec/assets/coverage_dot_package_single.json +189 -0
- data/spec/assets/coverage_jacoco.json +1004 -0
- data/spec/assets/coverage_jacoco_multiple_unordered.json +328 -0
- data/spec/assets/coverage_jacoco_no_conditional.json +238 -0
- data/spec/assets/coverage_jacoco_single.json +250 -0
- data/spec/assets/coverage_no_files.json +65 -0
- data/spec/assets/missing_json.html +7 -0
- data/spec/code_coverage_spec.rb +134 -0
- data/spec/coverage_parser_spec.rb +85 -0
- data/spec/spec_helper.rb +72 -0
- metadata +239 -0
@@ -0,0 +1,183 @@
|
|
1
|
+
{
|
2
|
+
"_class": "io.jenkins.plugins.coverage.targets.CoverageResult",
|
3
|
+
"results": {
|
4
|
+
"children": [
|
5
|
+
{
|
6
|
+
"children": [
|
7
|
+
{
|
8
|
+
"children": [
|
9
|
+
{
|
10
|
+
"children": [
|
11
|
+
{
|
12
|
+
"children": [
|
13
|
+
{}
|
14
|
+
],
|
15
|
+
"elements": [
|
16
|
+
{
|
17
|
+
"denominator": 1.0,
|
18
|
+
"name": "Class",
|
19
|
+
"numerator": 0.0,
|
20
|
+
"ratio": 0.0
|
21
|
+
},
|
22
|
+
{
|
23
|
+
"denominator": 2.0,
|
24
|
+
"name": "Line",
|
25
|
+
"numerator": 0.0,
|
26
|
+
"ratio": 0.0
|
27
|
+
}
|
28
|
+
],
|
29
|
+
"name": "src/cpp/default/builder_example/ExampleListener.cpp"
|
30
|
+
}
|
31
|
+
],
|
32
|
+
"elements": [
|
33
|
+
{
|
34
|
+
"denominator": 2.0,
|
35
|
+
"name": "File",
|
36
|
+
"numerator": 1.0,
|
37
|
+
"ratio": 50.0
|
38
|
+
},
|
39
|
+
{
|
40
|
+
"denominator": 2.0,
|
41
|
+
"name": "Class",
|
42
|
+
"numerator": 1.0,
|
43
|
+
"ratio": 50.0
|
44
|
+
},
|
45
|
+
{
|
46
|
+
"denominator": 8.0,
|
47
|
+
"name": "Line",
|
48
|
+
"numerator": 4.0,
|
49
|
+
"ratio": 50.0
|
50
|
+
},
|
51
|
+
{
|
52
|
+
"denominator": 4.0,
|
53
|
+
"name": "Conditional",
|
54
|
+
"numerator": 2.0,
|
55
|
+
"ratio": 50.0
|
56
|
+
}
|
57
|
+
],
|
58
|
+
"name": "src.cpp.default.builder_example"
|
59
|
+
}
|
60
|
+
],
|
61
|
+
"elements": [
|
62
|
+
{
|
63
|
+
"denominator": 1.0,
|
64
|
+
"name": "Package",
|
65
|
+
"numerator": 1.0,
|
66
|
+
"ratio": 100.0
|
67
|
+
},
|
68
|
+
{
|
69
|
+
"denominator": 2.0,
|
70
|
+
"name": "File",
|
71
|
+
"numerator": 1.0,
|
72
|
+
"ratio": 50.0
|
73
|
+
},
|
74
|
+
{
|
75
|
+
"denominator": 2.0,
|
76
|
+
"name": "Class",
|
77
|
+
"numerator": 1.0,
|
78
|
+
"ratio": 50.0
|
79
|
+
},
|
80
|
+
{
|
81
|
+
"denominator": 8.0,
|
82
|
+
"name": "Line",
|
83
|
+
"numerator": 4.0,
|
84
|
+
"ratio": 50.0
|
85
|
+
},
|
86
|
+
{
|
87
|
+
"denominator": 4.0,
|
88
|
+
"name": "Conditional",
|
89
|
+
"numerator": 2.0,
|
90
|
+
"ratio": 50.0
|
91
|
+
}
|
92
|
+
],
|
93
|
+
"name": "project"
|
94
|
+
}
|
95
|
+
],
|
96
|
+
"elements": [
|
97
|
+
{
|
98
|
+
"denominator": 1.0,
|
99
|
+
"name": "Group",
|
100
|
+
"numerator": 1.0,
|
101
|
+
"ratio": 100.0
|
102
|
+
},
|
103
|
+
{
|
104
|
+
"denominator": 1.0,
|
105
|
+
"name": "Package",
|
106
|
+
"numerator": 1.0,
|
107
|
+
"ratio": 100.0
|
108
|
+
},
|
109
|
+
{
|
110
|
+
"denominator": 2.0,
|
111
|
+
"name": "File",
|
112
|
+
"numerator": 1.0,
|
113
|
+
"ratio": 50.0
|
114
|
+
},
|
115
|
+
{
|
116
|
+
"denominator": 2.0,
|
117
|
+
"name": "Class",
|
118
|
+
"numerator": 1.0,
|
119
|
+
"ratio": 50.0
|
120
|
+
},
|
121
|
+
{
|
122
|
+
"denominator": 8.0,
|
123
|
+
"name": "Line",
|
124
|
+
"numerator": 4.0,
|
125
|
+
"ratio": 50.0
|
126
|
+
},
|
127
|
+
{
|
128
|
+
"denominator": 4.0,
|
129
|
+
"name": "Conditional",
|
130
|
+
"numerator": 2.0,
|
131
|
+
"ratio": 50.0
|
132
|
+
}
|
133
|
+
],
|
134
|
+
"name": "cobertura: coverage.xml"
|
135
|
+
}
|
136
|
+
],
|
137
|
+
"elements": [
|
138
|
+
{
|
139
|
+
"denominator": 1.0,
|
140
|
+
"name": "Report",
|
141
|
+
"numerator": 1.0,
|
142
|
+
"ratio": 100.0
|
143
|
+
},
|
144
|
+
{
|
145
|
+
"denominator": 1.0,
|
146
|
+
"name": "Group",
|
147
|
+
"numerator": 1.0,
|
148
|
+
"ratio": 100.0
|
149
|
+
},
|
150
|
+
{
|
151
|
+
"denominator": 1.0,
|
152
|
+
"name": "Package",
|
153
|
+
"numerator": 1.0,
|
154
|
+
"ratio": 100.0
|
155
|
+
},
|
156
|
+
{
|
157
|
+
"denominator": 2.0,
|
158
|
+
"name": "File",
|
159
|
+
"numerator": 1.0,
|
160
|
+
"ratio": 50.0
|
161
|
+
},
|
162
|
+
{
|
163
|
+
"denominator": 2.0,
|
164
|
+
"name": "Class",
|
165
|
+
"numerator": 1.0,
|
166
|
+
"ratio": 50.0
|
167
|
+
},
|
168
|
+
{
|
169
|
+
"denominator": 8.0,
|
170
|
+
"name": "Line",
|
171
|
+
"numerator": 4.0,
|
172
|
+
"ratio": 50.0
|
173
|
+
},
|
174
|
+
{
|
175
|
+
"denominator": 4.0,
|
176
|
+
"name": "Conditional",
|
177
|
+
"numerator": 2.0,
|
178
|
+
"ratio": 50.0
|
179
|
+
}
|
180
|
+
],
|
181
|
+
"name": "All reports"
|
182
|
+
}
|
183
|
+
}
|
@@ -0,0 +1,189 @@
|
|
1
|
+
{
|
2
|
+
"_class": "io.jenkins.plugins.coverage.targets.CoverageResult",
|
3
|
+
"results": {
|
4
|
+
"children": [
|
5
|
+
{
|
6
|
+
"children": [
|
7
|
+
{
|
8
|
+
"children": [
|
9
|
+
{
|
10
|
+
"children": [
|
11
|
+
{
|
12
|
+
"children": [
|
13
|
+
{}
|
14
|
+
],
|
15
|
+
"elements": [
|
16
|
+
{
|
17
|
+
"denominator": 1.0,
|
18
|
+
"name": "Class",
|
19
|
+
"numerator": 0.0,
|
20
|
+
"ratio": 0.0
|
21
|
+
},
|
22
|
+
{
|
23
|
+
"denominator": 35.0,
|
24
|
+
"name": "Line",
|
25
|
+
"numerator": 0.0,
|
26
|
+
"ratio": 0.0
|
27
|
+
},
|
28
|
+
{
|
29
|
+
"denominator": 4.0,
|
30
|
+
"name": "Conditional",
|
31
|
+
"numerator": 0.0,
|
32
|
+
"ratio": 0.0
|
33
|
+
}
|
34
|
+
],
|
35
|
+
"name": "generator.py"
|
36
|
+
}
|
37
|
+
],
|
38
|
+
"elements": [
|
39
|
+
{
|
40
|
+
"denominator": 2.0,
|
41
|
+
"name": "File",
|
42
|
+
"numerator": 1.0,
|
43
|
+
"ratio": 50.0
|
44
|
+
},
|
45
|
+
{
|
46
|
+
"denominator": 2.0,
|
47
|
+
"name": "Class",
|
48
|
+
"numerator": 1.0,
|
49
|
+
"ratio": 50.0
|
50
|
+
},
|
51
|
+
{
|
52
|
+
"denominator": 126.0,
|
53
|
+
"name": "Line",
|
54
|
+
"numerator": 53.0,
|
55
|
+
"ratio": 42.06349
|
56
|
+
},
|
57
|
+
{
|
58
|
+
"denominator": 50.0,
|
59
|
+
"name": "Conditional",
|
60
|
+
"numerator": 17.0,
|
61
|
+
"ratio": 34.0
|
62
|
+
}
|
63
|
+
],
|
64
|
+
"name": "."
|
65
|
+
}
|
66
|
+
],
|
67
|
+
"elements": [
|
68
|
+
{
|
69
|
+
"denominator": 22.0,
|
70
|
+
"name": "Package",
|
71
|
+
"numerator": 22.0,
|
72
|
+
"ratio": 100.0
|
73
|
+
},
|
74
|
+
{
|
75
|
+
"denominator": 133.0,
|
76
|
+
"name": "File",
|
77
|
+
"numerator": 130.0,
|
78
|
+
"ratio": 97.74436
|
79
|
+
},
|
80
|
+
{
|
81
|
+
"denominator": 133.0,
|
82
|
+
"name": "Class",
|
83
|
+
"numerator": 130.0,
|
84
|
+
"ratio": 97.74436
|
85
|
+
},
|
86
|
+
{
|
87
|
+
"denominator": 5555.0,
|
88
|
+
"name": "Line",
|
89
|
+
"numerator": 4557.0,
|
90
|
+
"ratio": 82.0342
|
91
|
+
},
|
92
|
+
{
|
93
|
+
"denominator": 1068.0,
|
94
|
+
"name": "Conditional",
|
95
|
+
"numerator": 684.0,
|
96
|
+
"ratio": 64.044945
|
97
|
+
}
|
98
|
+
],
|
99
|
+
"name": "project"
|
100
|
+
}
|
101
|
+
],
|
102
|
+
"elements": [
|
103
|
+
{
|
104
|
+
"denominator": 1.0,
|
105
|
+
"name": "Group",
|
106
|
+
"numerator": 1.0,
|
107
|
+
"ratio": 100.0
|
108
|
+
},
|
109
|
+
{
|
110
|
+
"denominator": 22.0,
|
111
|
+
"name": "Package",
|
112
|
+
"numerator": 22.0,
|
113
|
+
"ratio": 100.0
|
114
|
+
},
|
115
|
+
{
|
116
|
+
"denominator": 133.0,
|
117
|
+
"name": "File",
|
118
|
+
"numerator": 130.0,
|
119
|
+
"ratio": 97.74436
|
120
|
+
},
|
121
|
+
{
|
122
|
+
"denominator": 133.0,
|
123
|
+
"name": "Class",
|
124
|
+
"numerator": 130.0,
|
125
|
+
"ratio": 97.74436
|
126
|
+
},
|
127
|
+
{
|
128
|
+
"denominator": 5555.0,
|
129
|
+
"name": "Line",
|
130
|
+
"numerator": 4557.0,
|
131
|
+
"ratio": 82.0342
|
132
|
+
},
|
133
|
+
{
|
134
|
+
"denominator": 1068.0,
|
135
|
+
"name": "Conditional",
|
136
|
+
"numerator": 684.0,
|
137
|
+
"ratio": 64.044945
|
138
|
+
}
|
139
|
+
],
|
140
|
+
"name": "cobertura: coverage.xml"
|
141
|
+
}
|
142
|
+
],
|
143
|
+
"elements": [
|
144
|
+
{
|
145
|
+
"denominator": 1.0,
|
146
|
+
"name": "Report",
|
147
|
+
"numerator": 1.0,
|
148
|
+
"ratio": 100.0
|
149
|
+
},
|
150
|
+
{
|
151
|
+
"denominator": 1.0,
|
152
|
+
"name": "Group",
|
153
|
+
"numerator": 1.0,
|
154
|
+
"ratio": 100.0
|
155
|
+
},
|
156
|
+
{
|
157
|
+
"denominator": 22.0,
|
158
|
+
"name": "Package",
|
159
|
+
"numerator": 22.0,
|
160
|
+
"ratio": 100.0
|
161
|
+
},
|
162
|
+
{
|
163
|
+
"denominator": 133.0,
|
164
|
+
"name": "File",
|
165
|
+
"numerator": 130.0,
|
166
|
+
"ratio": 97.74436
|
167
|
+
},
|
168
|
+
{
|
169
|
+
"denominator": 133.0,
|
170
|
+
"name": "Class",
|
171
|
+
"numerator": 130.0,
|
172
|
+
"ratio": 97.74436
|
173
|
+
},
|
174
|
+
{
|
175
|
+
"denominator": 5555.0,
|
176
|
+
"name": "Line",
|
177
|
+
"numerator": 4557.0,
|
178
|
+
"ratio": 82.0342
|
179
|
+
},
|
180
|
+
{
|
181
|
+
"denominator": 1068.0,
|
182
|
+
"name": "Conditional",
|
183
|
+
"numerator": 684.0,
|
184
|
+
"ratio": 64.044945
|
185
|
+
}
|
186
|
+
],
|
187
|
+
"name": "All reports"
|
188
|
+
}
|
189
|
+
}
|
@@ -0,0 +1,1004 @@
|
|
1
|
+
{
|
2
|
+
"_class": "io.jenkins.plugins.coverage.targets.CoverageResult",
|
3
|
+
"results": {
|
4
|
+
"children": [
|
5
|
+
{
|
6
|
+
"children": [
|
7
|
+
{
|
8
|
+
"children": [
|
9
|
+
{
|
10
|
+
"children": [
|
11
|
+
{
|
12
|
+
"children": [
|
13
|
+
{},
|
14
|
+
{}
|
15
|
+
],
|
16
|
+
"elements": [
|
17
|
+
{
|
18
|
+
"denominator": 2.0,
|
19
|
+
"name": "Class",
|
20
|
+
"numerator": 0.0,
|
21
|
+
"ratio": 0.0
|
22
|
+
},
|
23
|
+
{
|
24
|
+
"denominator": 7.0,
|
25
|
+
"name": "Method",
|
26
|
+
"numerator": 0.0,
|
27
|
+
"ratio": 0.0
|
28
|
+
},
|
29
|
+
{
|
30
|
+
"denominator": 75.0,
|
31
|
+
"name": "Instruction",
|
32
|
+
"numerator": 0.0,
|
33
|
+
"ratio": 0.0
|
34
|
+
},
|
35
|
+
{
|
36
|
+
"denominator": 21.0,
|
37
|
+
"name": "Line",
|
38
|
+
"numerator": 0.0,
|
39
|
+
"ratio": 0.0
|
40
|
+
},
|
41
|
+
{
|
42
|
+
"denominator": 2.0,
|
43
|
+
"name": "Conditional",
|
44
|
+
"numerator": 0.0,
|
45
|
+
"ratio": 0.0
|
46
|
+
}
|
47
|
+
],
|
48
|
+
"name": "MainActivity.java"
|
49
|
+
},
|
50
|
+
{
|
51
|
+
"children": [
|
52
|
+
{}
|
53
|
+
],
|
54
|
+
"elements": [
|
55
|
+
{
|
56
|
+
"denominator": 1.0,
|
57
|
+
"name": "Class",
|
58
|
+
"numerator": 0.0,
|
59
|
+
"ratio": 0.0
|
60
|
+
},
|
61
|
+
{
|
62
|
+
"denominator": 2.0,
|
63
|
+
"name": "Method",
|
64
|
+
"numerator": 0.0,
|
65
|
+
"ratio": 0.0
|
66
|
+
},
|
67
|
+
{
|
68
|
+
"denominator": 9.0,
|
69
|
+
"name": "Instruction",
|
70
|
+
"numerator": 0.0,
|
71
|
+
"ratio": 0.0
|
72
|
+
},
|
73
|
+
{
|
74
|
+
"denominator": 3.0,
|
75
|
+
"name": "Line",
|
76
|
+
"numerator": 0.0,
|
77
|
+
"ratio": 0.0
|
78
|
+
}
|
79
|
+
],
|
80
|
+
"name": "MainActivityFragment.java"
|
81
|
+
},
|
82
|
+
{
|
83
|
+
"children": [
|
84
|
+
{}
|
85
|
+
],
|
86
|
+
"elements": [
|
87
|
+
{
|
88
|
+
"denominator": 1.0,
|
89
|
+
"name": "Class",
|
90
|
+
"numerator": 1.0,
|
91
|
+
"ratio": 100.0
|
92
|
+
},
|
93
|
+
{
|
94
|
+
"denominator": 6.0,
|
95
|
+
"name": "Method",
|
96
|
+
"numerator": 1.0,
|
97
|
+
"ratio": 16.666666
|
98
|
+
},
|
99
|
+
{
|
100
|
+
"denominator": 26.0,
|
101
|
+
"name": "Instruction",
|
102
|
+
"numerator": 6.0,
|
103
|
+
"ratio": 23.076923
|
104
|
+
},
|
105
|
+
{
|
106
|
+
"denominator": 10.0,
|
107
|
+
"name": "Line",
|
108
|
+
"numerator": 1.0,
|
109
|
+
"ratio": 10.0
|
110
|
+
},
|
111
|
+
{
|
112
|
+
"denominator": 4.0,
|
113
|
+
"name": "Conditional",
|
114
|
+
"numerator": 2.0,
|
115
|
+
"ratio": 50.0
|
116
|
+
}
|
117
|
+
],
|
118
|
+
"name": "MyUtil.java"
|
119
|
+
}
|
120
|
+
],
|
121
|
+
"elements": [
|
122
|
+
{
|
123
|
+
"denominator": 3.0,
|
124
|
+
"name": "File",
|
125
|
+
"numerator": 1.0,
|
126
|
+
"ratio": 33.333332
|
127
|
+
},
|
128
|
+
{
|
129
|
+
"denominator": 4.0,
|
130
|
+
"name": "Class",
|
131
|
+
"numerator": 1.0,
|
132
|
+
"ratio": 25.0
|
133
|
+
},
|
134
|
+
{
|
135
|
+
"denominator": 15.0,
|
136
|
+
"name": "Method",
|
137
|
+
"numerator": 1.0,
|
138
|
+
"ratio": 6.6666665
|
139
|
+
},
|
140
|
+
{
|
141
|
+
"denominator": 110.0,
|
142
|
+
"name": "Instruction",
|
143
|
+
"numerator": 6.0,
|
144
|
+
"ratio": 5.4545455
|
145
|
+
},
|
146
|
+
{
|
147
|
+
"denominator": 34.0,
|
148
|
+
"name": "Line",
|
149
|
+
"numerator": 1.0,
|
150
|
+
"ratio": 2.9411764
|
151
|
+
},
|
152
|
+
{
|
153
|
+
"denominator": 6.0,
|
154
|
+
"name": "Conditional",
|
155
|
+
"numerator": 2.0,
|
156
|
+
"ratio": 33.333332
|
157
|
+
}
|
158
|
+
],
|
159
|
+
"name": "com/example/kyaak/myapplication"
|
160
|
+
},
|
161
|
+
{
|
162
|
+
"children": [
|
163
|
+
{
|
164
|
+
"children": [
|
165
|
+
{}
|
166
|
+
],
|
167
|
+
"elements": [
|
168
|
+
{
|
169
|
+
"denominator": 1.0,
|
170
|
+
"name": "Class",
|
171
|
+
"numerator": 0.0,
|
172
|
+
"ratio": 0.0
|
173
|
+
},
|
174
|
+
{
|
175
|
+
"denominator": 3.0,
|
176
|
+
"name": "Method",
|
177
|
+
"numerator": 0.0,
|
178
|
+
"ratio": 0.0
|
179
|
+
},
|
180
|
+
{
|
181
|
+
"denominator": 10.0,
|
182
|
+
"name": "Instruction",
|
183
|
+
"numerator": 0.0,
|
184
|
+
"ratio": 0.0
|
185
|
+
},
|
186
|
+
{
|
187
|
+
"denominator": 4.0,
|
188
|
+
"name": "Line",
|
189
|
+
"numerator": 0.0,
|
190
|
+
"ratio": 0.0
|
191
|
+
}
|
192
|
+
],
|
193
|
+
"name": "SpotbugsExample.java"
|
194
|
+
},
|
195
|
+
{
|
196
|
+
"children": [
|
197
|
+
{},
|
198
|
+
{}
|
199
|
+
],
|
200
|
+
"elements": [
|
201
|
+
{
|
202
|
+
"denominator": 2.0,
|
203
|
+
"name": "Class",
|
204
|
+
"numerator": 0.0,
|
205
|
+
"ratio": 0.0
|
206
|
+
},
|
207
|
+
{
|
208
|
+
"denominator": 7.0,
|
209
|
+
"name": "Method",
|
210
|
+
"numerator": 0.0,
|
211
|
+
"ratio": 0.0
|
212
|
+
},
|
213
|
+
{
|
214
|
+
"denominator": 79.0,
|
215
|
+
"name": "Instruction",
|
216
|
+
"numerator": 0.0,
|
217
|
+
"ratio": 0.0
|
218
|
+
},
|
219
|
+
{
|
220
|
+
"denominator": 9.0,
|
221
|
+
"name": "Line",
|
222
|
+
"numerator": 0.0,
|
223
|
+
"ratio": 0.0
|
224
|
+
},
|
225
|
+
{
|
226
|
+
"denominator": 6.0,
|
227
|
+
"name": "Conditional",
|
228
|
+
"numerator": 0.0,
|
229
|
+
"ratio": 0.0
|
230
|
+
}
|
231
|
+
],
|
232
|
+
"name": "TestActivity.kt"
|
233
|
+
}
|
234
|
+
],
|
235
|
+
"elements": [
|
236
|
+
{
|
237
|
+
"denominator": 2.0,
|
238
|
+
"name": "File",
|
239
|
+
"numerator": 0.0,
|
240
|
+
"ratio": 0.0
|
241
|
+
},
|
242
|
+
{
|
243
|
+
"denominator": 3.0,
|
244
|
+
"name": "Class",
|
245
|
+
"numerator": 0.0,
|
246
|
+
"ratio": 0.0
|
247
|
+
},
|
248
|
+
{
|
249
|
+
"denominator": 10.0,
|
250
|
+
"name": "Method",
|
251
|
+
"numerator": 0.0,
|
252
|
+
"ratio": 0.0
|
253
|
+
},
|
254
|
+
{
|
255
|
+
"denominator": 89.0,
|
256
|
+
"name": "Instruction",
|
257
|
+
"numerator": 0.0,
|
258
|
+
"ratio": 0.0
|
259
|
+
},
|
260
|
+
{
|
261
|
+
"denominator": 13.0,
|
262
|
+
"name": "Line",
|
263
|
+
"numerator": 0.0,
|
264
|
+
"ratio": 0.0
|
265
|
+
},
|
266
|
+
{
|
267
|
+
"denominator": 6.0,
|
268
|
+
"name": "Conditional",
|
269
|
+
"numerator": 0.0,
|
270
|
+
"ratio": 0.0
|
271
|
+
}
|
272
|
+
],
|
273
|
+
"name": "com/example/mylibrary"
|
274
|
+
},
|
275
|
+
{
|
276
|
+
"children": [
|
277
|
+
{
|
278
|
+
"children": [
|
279
|
+
{}
|
280
|
+
],
|
281
|
+
"elements": [
|
282
|
+
{
|
283
|
+
"denominator": 1.0,
|
284
|
+
"name": "Class",
|
285
|
+
"numerator": 0.0,
|
286
|
+
"ratio": 0.0
|
287
|
+
},
|
288
|
+
{
|
289
|
+
"denominator": 8.0,
|
290
|
+
"name": "Method",
|
291
|
+
"numerator": 0.0,
|
292
|
+
"ratio": 0.0
|
293
|
+
},
|
294
|
+
{
|
295
|
+
"denominator": 270.0,
|
296
|
+
"name": "Instruction",
|
297
|
+
"numerator": 0.0,
|
298
|
+
"ratio": 0.0
|
299
|
+
},
|
300
|
+
{
|
301
|
+
"denominator": 31.0,
|
302
|
+
"name": "Line",
|
303
|
+
"numerator": 0.0,
|
304
|
+
"ratio": 0.0
|
305
|
+
},
|
306
|
+
{
|
307
|
+
"denominator": 34.0,
|
308
|
+
"name": "Conditional",
|
309
|
+
"numerator": 0.0,
|
310
|
+
"ratio": 0.0
|
311
|
+
}
|
312
|
+
],
|
313
|
+
"name": "ShoppingCart.kt"
|
314
|
+
},
|
315
|
+
{
|
316
|
+
"children": [
|
317
|
+
{},
|
318
|
+
{}
|
319
|
+
],
|
320
|
+
"elements": [
|
321
|
+
{
|
322
|
+
"denominator": 2.0,
|
323
|
+
"name": "Class",
|
324
|
+
"numerator": 0.0,
|
325
|
+
"ratio": 0.0
|
326
|
+
},
|
327
|
+
{
|
328
|
+
"denominator": 17.0,
|
329
|
+
"name": "Method",
|
330
|
+
"numerator": 0.0,
|
331
|
+
"ratio": 0.0
|
332
|
+
},
|
333
|
+
{
|
334
|
+
"denominator": 883.0,
|
335
|
+
"name": "Instruction",
|
336
|
+
"numerator": 0.0,
|
337
|
+
"ratio": 0.0
|
338
|
+
},
|
339
|
+
{
|
340
|
+
"denominator": 109.0,
|
341
|
+
"name": "Line",
|
342
|
+
"numerator": 0.0,
|
343
|
+
"ratio": 0.0
|
344
|
+
},
|
345
|
+
{
|
346
|
+
"denominator": 108.0,
|
347
|
+
"name": "Conditional",
|
348
|
+
"numerator": 0.0,
|
349
|
+
"ratio": 0.0
|
350
|
+
}
|
351
|
+
],
|
352
|
+
"name": "ShoppingCartHandlerImpl.kt"
|
353
|
+
},
|
354
|
+
{
|
355
|
+
"children": [
|
356
|
+
{}
|
357
|
+
],
|
358
|
+
"elements": [
|
359
|
+
{
|
360
|
+
"denominator": 1.0,
|
361
|
+
"name": "Class",
|
362
|
+
"numerator": 0.0,
|
363
|
+
"ratio": 0.0
|
364
|
+
},
|
365
|
+
{
|
366
|
+
"denominator": 8.0,
|
367
|
+
"name": "Method",
|
368
|
+
"numerator": 0.0,
|
369
|
+
"ratio": 0.0
|
370
|
+
},
|
371
|
+
{
|
372
|
+
"denominator": 41.0,
|
373
|
+
"name": "Instruction",
|
374
|
+
"numerator": 0.0,
|
375
|
+
"ratio": 0.0
|
376
|
+
},
|
377
|
+
{
|
378
|
+
"denominator": 1.0,
|
379
|
+
"name": "Line",
|
380
|
+
"numerator": 0.0,
|
381
|
+
"ratio": 0.0
|
382
|
+
}
|
383
|
+
],
|
384
|
+
"name": "ShoppingItemQuantity.kt"
|
385
|
+
}
|
386
|
+
],
|
387
|
+
"elements": [
|
388
|
+
{
|
389
|
+
"denominator": 3.0,
|
390
|
+
"name": "File",
|
391
|
+
"numerator": 0.0,
|
392
|
+
"ratio": 0.0
|
393
|
+
},
|
394
|
+
{
|
395
|
+
"denominator": 4.0,
|
396
|
+
"name": "Class",
|
397
|
+
"numerator": 0.0,
|
398
|
+
"ratio": 0.0
|
399
|
+
},
|
400
|
+
{
|
401
|
+
"denominator": 33.0,
|
402
|
+
"name": "Method",
|
403
|
+
"numerator": 0.0,
|
404
|
+
"ratio": 0.0
|
405
|
+
},
|
406
|
+
{
|
407
|
+
"denominator": 1194.0,
|
408
|
+
"name": "Instruction",
|
409
|
+
"numerator": 0.0,
|
410
|
+
"ratio": 0.0
|
411
|
+
},
|
412
|
+
{
|
413
|
+
"denominator": 141.0,
|
414
|
+
"name": "Line",
|
415
|
+
"numerator": 0.0,
|
416
|
+
"ratio": 0.0
|
417
|
+
},
|
418
|
+
{
|
419
|
+
"denominator": 142.0,
|
420
|
+
"name": "Conditional",
|
421
|
+
"numerator": 0.0,
|
422
|
+
"ratio": 0.0
|
423
|
+
}
|
424
|
+
],
|
425
|
+
"name": "com/example/mylibrary/handler/cart"
|
426
|
+
},
|
427
|
+
{
|
428
|
+
"children": [
|
429
|
+
{
|
430
|
+
"children": [
|
431
|
+
{}
|
432
|
+
],
|
433
|
+
"elements": [
|
434
|
+
{
|
435
|
+
"denominator": 1.0,
|
436
|
+
"name": "Class",
|
437
|
+
"numerator": 0.0,
|
438
|
+
"ratio": 0.0
|
439
|
+
},
|
440
|
+
{
|
441
|
+
"denominator": 9.0,
|
442
|
+
"name": "Method",
|
443
|
+
"numerator": 0.0,
|
444
|
+
"ratio": 0.0
|
445
|
+
},
|
446
|
+
{
|
447
|
+
"denominator": 31.0,
|
448
|
+
"name": "Instruction",
|
449
|
+
"numerator": 0.0,
|
450
|
+
"ratio": 0.0
|
451
|
+
},
|
452
|
+
{
|
453
|
+
"denominator": 5.0,
|
454
|
+
"name": "Line",
|
455
|
+
"numerator": 0.0,
|
456
|
+
"ratio": 0.0
|
457
|
+
}
|
458
|
+
],
|
459
|
+
"name": "Address.kt"
|
460
|
+
},
|
461
|
+
{
|
462
|
+
"children": [
|
463
|
+
{}
|
464
|
+
],
|
465
|
+
"elements": [
|
466
|
+
{
|
467
|
+
"denominator": 1.0,
|
468
|
+
"name": "Class",
|
469
|
+
"numerator": 0.0,
|
470
|
+
"ratio": 0.0
|
471
|
+
},
|
472
|
+
{
|
473
|
+
"denominator": 19.0,
|
474
|
+
"name": "Method",
|
475
|
+
"numerator": 0.0,
|
476
|
+
"ratio": 0.0
|
477
|
+
},
|
478
|
+
{
|
479
|
+
"denominator": 66.0,
|
480
|
+
"name": "Instruction",
|
481
|
+
"numerator": 0.0,
|
482
|
+
"ratio": 0.0
|
483
|
+
},
|
484
|
+
{
|
485
|
+
"denominator": 10.0,
|
486
|
+
"name": "Line",
|
487
|
+
"numerator": 0.0,
|
488
|
+
"ratio": 0.0
|
489
|
+
}
|
490
|
+
],
|
491
|
+
"name": "Customer.kt"
|
492
|
+
},
|
493
|
+
{
|
494
|
+
"children": [
|
495
|
+
{}
|
496
|
+
],
|
497
|
+
"elements": [
|
498
|
+
{
|
499
|
+
"denominator": 1.0,
|
500
|
+
"name": "Class",
|
501
|
+
"numerator": 0.0,
|
502
|
+
"ratio": 0.0
|
503
|
+
},
|
504
|
+
{
|
505
|
+
"denominator": 9.0,
|
506
|
+
"name": "Method",
|
507
|
+
"numerator": 0.0,
|
508
|
+
"ratio": 0.0
|
509
|
+
},
|
510
|
+
{
|
511
|
+
"denominator": 31.0,
|
512
|
+
"name": "Instruction",
|
513
|
+
"numerator": 0.0,
|
514
|
+
"ratio": 0.0
|
515
|
+
},
|
516
|
+
{
|
517
|
+
"denominator": 5.0,
|
518
|
+
"name": "Line",
|
519
|
+
"numerator": 0.0,
|
520
|
+
"ratio": 0.0
|
521
|
+
}
|
522
|
+
],
|
523
|
+
"name": "Images.kt"
|
524
|
+
},
|
525
|
+
{
|
526
|
+
"children": [
|
527
|
+
{}
|
528
|
+
],
|
529
|
+
"elements": [
|
530
|
+
{
|
531
|
+
"denominator": 1.0,
|
532
|
+
"name": "Class",
|
533
|
+
"numerator": 0.0,
|
534
|
+
"ratio": 0.0
|
535
|
+
},
|
536
|
+
{
|
537
|
+
"denominator": 11.0,
|
538
|
+
"name": "Method",
|
539
|
+
"numerator": 0.0,
|
540
|
+
"ratio": 0.0
|
541
|
+
},
|
542
|
+
{
|
543
|
+
"denominator": 38.0,
|
544
|
+
"name": "Instruction",
|
545
|
+
"numerator": 0.0,
|
546
|
+
"ratio": 0.0
|
547
|
+
},
|
548
|
+
{
|
549
|
+
"denominator": 6.0,
|
550
|
+
"name": "Line",
|
551
|
+
"numerator": 0.0,
|
552
|
+
"ratio": 0.0
|
553
|
+
}
|
554
|
+
],
|
555
|
+
"name": "Prices.kt"
|
556
|
+
},
|
557
|
+
{
|
558
|
+
"children": [
|
559
|
+
{}
|
560
|
+
],
|
561
|
+
"elements": [
|
562
|
+
{
|
563
|
+
"denominator": 1.0,
|
564
|
+
"name": "Class",
|
565
|
+
"numerator": 0.0,
|
566
|
+
"ratio": 0.0
|
567
|
+
},
|
568
|
+
{
|
569
|
+
"denominator": 35.0,
|
570
|
+
"name": "Method",
|
571
|
+
"numerator": 0.0,
|
572
|
+
"ratio": 0.0
|
573
|
+
},
|
574
|
+
{
|
575
|
+
"denominator": 122.0,
|
576
|
+
"name": "Instruction",
|
577
|
+
"numerator": 0.0,
|
578
|
+
"ratio": 0.0
|
579
|
+
},
|
580
|
+
{
|
581
|
+
"denominator": 18.0,
|
582
|
+
"name": "Line",
|
583
|
+
"numerator": 0.0,
|
584
|
+
"ratio": 0.0
|
585
|
+
}
|
586
|
+
],
|
587
|
+
"name": "ProductAbstract.kt"
|
588
|
+
},
|
589
|
+
{
|
590
|
+
"children": [
|
591
|
+
{}
|
592
|
+
],
|
593
|
+
"elements": [
|
594
|
+
{
|
595
|
+
"denominator": 1.0,
|
596
|
+
"name": "Class",
|
597
|
+
"numerator": 0.0,
|
598
|
+
"ratio": 0.0
|
599
|
+
},
|
600
|
+
{
|
601
|
+
"denominator": 21.0,
|
602
|
+
"name": "Method",
|
603
|
+
"numerator": 0.0,
|
604
|
+
"ratio": 0.0
|
605
|
+
},
|
606
|
+
{
|
607
|
+
"denominator": 73.0,
|
608
|
+
"name": "Instruction",
|
609
|
+
"numerator": 0.0,
|
610
|
+
"ratio": 0.0
|
611
|
+
},
|
612
|
+
{
|
613
|
+
"denominator": 11.0,
|
614
|
+
"name": "Line",
|
615
|
+
"numerator": 0.0,
|
616
|
+
"ratio": 0.0
|
617
|
+
}
|
618
|
+
],
|
619
|
+
"name": "ProductConcrete.kt"
|
620
|
+
},
|
621
|
+
{
|
622
|
+
"children": [
|
623
|
+
{}
|
624
|
+
],
|
625
|
+
"elements": [
|
626
|
+
{
|
627
|
+
"denominator": 1.0,
|
628
|
+
"name": "Class",
|
629
|
+
"numerator": 1.0,
|
630
|
+
"ratio": 100.0
|
631
|
+
},
|
632
|
+
{
|
633
|
+
"denominator": 25.0,
|
634
|
+
"name": "Method",
|
635
|
+
"numerator": 3.0,
|
636
|
+
"ratio": 12.0
|
637
|
+
},
|
638
|
+
{
|
639
|
+
"denominator": 87.0,
|
640
|
+
"name": "Instruction",
|
641
|
+
"numerator": 9.0,
|
642
|
+
"ratio": 10.344828
|
643
|
+
},
|
644
|
+
{
|
645
|
+
"denominator": 13.0,
|
646
|
+
"name": "Line",
|
647
|
+
"numerator": 3.0,
|
648
|
+
"ratio": 23.076923
|
649
|
+
}
|
650
|
+
],
|
651
|
+
"name": "ProductGroup.kt"
|
652
|
+
}
|
653
|
+
],
|
654
|
+
"elements": [
|
655
|
+
{
|
656
|
+
"denominator": 7.0,
|
657
|
+
"name": "File",
|
658
|
+
"numerator": 1.0,
|
659
|
+
"ratio": 14.285714
|
660
|
+
},
|
661
|
+
{
|
662
|
+
"denominator": 7.0,
|
663
|
+
"name": "Class",
|
664
|
+
"numerator": 1.0,
|
665
|
+
"ratio": 14.285714
|
666
|
+
},
|
667
|
+
{
|
668
|
+
"denominator": 129.0,
|
669
|
+
"name": "Method",
|
670
|
+
"numerator": 3.0,
|
671
|
+
"ratio": 2.3255813
|
672
|
+
},
|
673
|
+
{
|
674
|
+
"denominator": 448.0,
|
675
|
+
"name": "Instruction",
|
676
|
+
"numerator": 9.0,
|
677
|
+
"ratio": 2.0089285
|
678
|
+
},
|
679
|
+
{
|
680
|
+
"denominator": 68.0,
|
681
|
+
"name": "Line",
|
682
|
+
"numerator": 3.0,
|
683
|
+
"ratio": 4.4117646
|
684
|
+
}
|
685
|
+
],
|
686
|
+
"name": "com/example/mylibrary/model/domain"
|
687
|
+
},
|
688
|
+
{
|
689
|
+
"children": [
|
690
|
+
{
|
691
|
+
"children": [
|
692
|
+
{}
|
693
|
+
],
|
694
|
+
"elements": [
|
695
|
+
{
|
696
|
+
"denominator": 1.0,
|
697
|
+
"name": "Class",
|
698
|
+
"numerator": 0.0,
|
699
|
+
"ratio": 0.0
|
700
|
+
},
|
701
|
+
{
|
702
|
+
"denominator": 2.0,
|
703
|
+
"name": "Method",
|
704
|
+
"numerator": 0.0,
|
705
|
+
"ratio": 0.0
|
706
|
+
},
|
707
|
+
{
|
708
|
+
"denominator": 116.0,
|
709
|
+
"name": "Instruction",
|
710
|
+
"numerator": 0.0,
|
711
|
+
"ratio": 0.0
|
712
|
+
},
|
713
|
+
{
|
714
|
+
"denominator": 15.0,
|
715
|
+
"name": "Line",
|
716
|
+
"numerator": 0.0,
|
717
|
+
"ratio": 0.0
|
718
|
+
},
|
719
|
+
{
|
720
|
+
"denominator": 12.0,
|
721
|
+
"name": "Conditional",
|
722
|
+
"numerator": 0.0,
|
723
|
+
"ratio": 0.0
|
724
|
+
}
|
725
|
+
],
|
726
|
+
"name": "AbstractPriceCalculator.kt"
|
727
|
+
},
|
728
|
+
{
|
729
|
+
"children": [
|
730
|
+
{}
|
731
|
+
],
|
732
|
+
"elements": [
|
733
|
+
{
|
734
|
+
"denominator": 1.0,
|
735
|
+
"name": "Class",
|
736
|
+
"numerator": 0.0,
|
737
|
+
"ratio": 0.0
|
738
|
+
},
|
739
|
+
{
|
740
|
+
"denominator": 2.0,
|
741
|
+
"name": "Method",
|
742
|
+
"numerator": 0.0,
|
743
|
+
"ratio": 0.0
|
744
|
+
},
|
745
|
+
{
|
746
|
+
"denominator": 119.0,
|
747
|
+
"name": "Instruction",
|
748
|
+
"numerator": 0.0,
|
749
|
+
"ratio": 0.0
|
750
|
+
},
|
751
|
+
{
|
752
|
+
"denominator": 12.0,
|
753
|
+
"name": "Line",
|
754
|
+
"numerator": 0.0,
|
755
|
+
"ratio": 0.0
|
756
|
+
},
|
757
|
+
{
|
758
|
+
"denominator": 6.0,
|
759
|
+
"name": "Conditional",
|
760
|
+
"numerator": 0.0,
|
761
|
+
"ratio": 0.0
|
762
|
+
}
|
763
|
+
],
|
764
|
+
"name": "ConcretePriceCalculator.kt"
|
765
|
+
},
|
766
|
+
{
|
767
|
+
"children": [
|
768
|
+
{}
|
769
|
+
],
|
770
|
+
"elements": [
|
771
|
+
{
|
772
|
+
"denominator": 1.0,
|
773
|
+
"name": "Class",
|
774
|
+
"numerator": 1.0,
|
775
|
+
"ratio": 100.0
|
776
|
+
},
|
777
|
+
{
|
778
|
+
"denominator": 2.0,
|
779
|
+
"name": "Method",
|
780
|
+
"numerator": 2.0,
|
781
|
+
"ratio": 100.0
|
782
|
+
},
|
783
|
+
{
|
784
|
+
"denominator": 93.0,
|
785
|
+
"name": "Instruction",
|
786
|
+
"numerator": 37.0,
|
787
|
+
"ratio": 39.784946
|
788
|
+
},
|
789
|
+
{
|
790
|
+
"denominator": 13.0,
|
791
|
+
"name": "Line",
|
792
|
+
"numerator": 5.0,
|
793
|
+
"ratio": 38.46154
|
794
|
+
},
|
795
|
+
{
|
796
|
+
"denominator": 6.0,
|
797
|
+
"name": "Conditional",
|
798
|
+
"numerator": 1.0,
|
799
|
+
"ratio": 16.666666
|
800
|
+
}
|
801
|
+
],
|
802
|
+
"name": "GroupPriceCalculator.kt"
|
803
|
+
}
|
804
|
+
],
|
805
|
+
"elements": [
|
806
|
+
{
|
807
|
+
"denominator": 3.0,
|
808
|
+
"name": "File",
|
809
|
+
"numerator": 1.0,
|
810
|
+
"ratio": 33.333332
|
811
|
+
},
|
812
|
+
{
|
813
|
+
"denominator": 3.0,
|
814
|
+
"name": "Class",
|
815
|
+
"numerator": 1.0,
|
816
|
+
"ratio": 33.333332
|
817
|
+
},
|
818
|
+
{
|
819
|
+
"denominator": 6.0,
|
820
|
+
"name": "Method",
|
821
|
+
"numerator": 2.0,
|
822
|
+
"ratio": 33.333332
|
823
|
+
},
|
824
|
+
{
|
825
|
+
"denominator": 328.0,
|
826
|
+
"name": "Instruction",
|
827
|
+
"numerator": 37.0,
|
828
|
+
"ratio": 11.280488
|
829
|
+
},
|
830
|
+
{
|
831
|
+
"denominator": 40.0,
|
832
|
+
"name": "Line",
|
833
|
+
"numerator": 5.0,
|
834
|
+
"ratio": 12.5
|
835
|
+
},
|
836
|
+
{
|
837
|
+
"denominator": 24.0,
|
838
|
+
"name": "Conditional",
|
839
|
+
"numerator": 1.0,
|
840
|
+
"ratio": 4.1666665
|
841
|
+
}
|
842
|
+
],
|
843
|
+
"name": "com/example/mylibrary/util/price"
|
844
|
+
}
|
845
|
+
],
|
846
|
+
"elements": [
|
847
|
+
{
|
848
|
+
"denominator": 5.0,
|
849
|
+
"name": "Package",
|
850
|
+
"numerator": 3.0,
|
851
|
+
"ratio": 60.0
|
852
|
+
},
|
853
|
+
{
|
854
|
+
"denominator": 18.0,
|
855
|
+
"name": "File",
|
856
|
+
"numerator": 3.0,
|
857
|
+
"ratio": 16.666666
|
858
|
+
},
|
859
|
+
{
|
860
|
+
"denominator": 21.0,
|
861
|
+
"name": "Class",
|
862
|
+
"numerator": 3.0,
|
863
|
+
"ratio": 14.285714
|
864
|
+
},
|
865
|
+
{
|
866
|
+
"denominator": 193.0,
|
867
|
+
"name": "Method",
|
868
|
+
"numerator": 6.0,
|
869
|
+
"ratio": 3.1088083
|
870
|
+
},
|
871
|
+
{
|
872
|
+
"denominator": 2169.0,
|
873
|
+
"name": "Instruction",
|
874
|
+
"numerator": 52.0,
|
875
|
+
"ratio": 2.3974183
|
876
|
+
},
|
877
|
+
{
|
878
|
+
"denominator": 296.0,
|
879
|
+
"name": "Line",
|
880
|
+
"numerator": 9.0,
|
881
|
+
"ratio": 3.0405405
|
882
|
+
},
|
883
|
+
{
|
884
|
+
"denominator": 178.0,
|
885
|
+
"name": "Conditional",
|
886
|
+
"numerator": 3.0,
|
887
|
+
"ratio": 1.6853932
|
888
|
+
}
|
889
|
+
],
|
890
|
+
"name": "project"
|
891
|
+
}
|
892
|
+
],
|
893
|
+
"elements": [
|
894
|
+
{
|
895
|
+
"denominator": 1.0,
|
896
|
+
"name": "Group",
|
897
|
+
"numerator": 1.0,
|
898
|
+
"ratio": 100.0
|
899
|
+
},
|
900
|
+
{
|
901
|
+
"denominator": 5.0,
|
902
|
+
"name": "Package",
|
903
|
+
"numerator": 3.0,
|
904
|
+
"ratio": 60.0
|
905
|
+
},
|
906
|
+
{
|
907
|
+
"denominator": 18.0,
|
908
|
+
"name": "File",
|
909
|
+
"numerator": 3.0,
|
910
|
+
"ratio": 16.666666
|
911
|
+
},
|
912
|
+
{
|
913
|
+
"denominator": 21.0,
|
914
|
+
"name": "Class",
|
915
|
+
"numerator": 3.0,
|
916
|
+
"ratio": 14.285714
|
917
|
+
},
|
918
|
+
{
|
919
|
+
"denominator": 193.0,
|
920
|
+
"name": "Method",
|
921
|
+
"numerator": 6.0,
|
922
|
+
"ratio": 3.1088083
|
923
|
+
},
|
924
|
+
{
|
925
|
+
"denominator": 2169.0,
|
926
|
+
"name": "Instruction",
|
927
|
+
"numerator": 52.0,
|
928
|
+
"ratio": 2.3974183
|
929
|
+
},
|
930
|
+
{
|
931
|
+
"denominator": 296.0,
|
932
|
+
"name": "Line",
|
933
|
+
"numerator": 9.0,
|
934
|
+
"ratio": 3.0405405
|
935
|
+
},
|
936
|
+
{
|
937
|
+
"denominator": 178.0,
|
938
|
+
"name": "Conditional",
|
939
|
+
"numerator": 3.0,
|
940
|
+
"ratio": 1.6853932
|
941
|
+
}
|
942
|
+
],
|
943
|
+
"name": "code_quality: jacoco.xml"
|
944
|
+
}
|
945
|
+
],
|
946
|
+
"elements": [
|
947
|
+
{
|
948
|
+
"denominator": 1.0,
|
949
|
+
"name": "Report",
|
950
|
+
"numerator": 1.0,
|
951
|
+
"ratio": 100.0
|
952
|
+
},
|
953
|
+
{
|
954
|
+
"denominator": 1.0,
|
955
|
+
"name": "Group",
|
956
|
+
"numerator": 1.0,
|
957
|
+
"ratio": 100.0
|
958
|
+
},
|
959
|
+
{
|
960
|
+
"denominator": 5.0,
|
961
|
+
"name": "Package",
|
962
|
+
"numerator": 3.0,
|
963
|
+
"ratio": 60.0
|
964
|
+
},
|
965
|
+
{
|
966
|
+
"denominator": 18.0,
|
967
|
+
"name": "File",
|
968
|
+
"numerator": 3.0,
|
969
|
+
"ratio": 16.666666
|
970
|
+
},
|
971
|
+
{
|
972
|
+
"denominator": 21.0,
|
973
|
+
"name": "Class",
|
974
|
+
"numerator": 3.0,
|
975
|
+
"ratio": 14.285714
|
976
|
+
},
|
977
|
+
{
|
978
|
+
"denominator": 193.0,
|
979
|
+
"name": "Method",
|
980
|
+
"numerator": 6.0,
|
981
|
+
"ratio": 3.1088083
|
982
|
+
},
|
983
|
+
{
|
984
|
+
"denominator": 2169.0,
|
985
|
+
"name": "Instruction",
|
986
|
+
"numerator": 52.0,
|
987
|
+
"ratio": 2.3974183
|
988
|
+
},
|
989
|
+
{
|
990
|
+
"denominator": 296.0,
|
991
|
+
"name": "Line",
|
992
|
+
"numerator": 9.0,
|
993
|
+
"ratio": 3.0405405
|
994
|
+
},
|
995
|
+
{
|
996
|
+
"denominator": 178.0,
|
997
|
+
"name": "Conditional",
|
998
|
+
"numerator": 3.0,
|
999
|
+
"ratio": 1.6853932
|
1000
|
+
}
|
1001
|
+
],
|
1002
|
+
"name": "All reports"
|
1003
|
+
}
|
1004
|
+
}
|