Skip to content

Commit 9deea2f

Browse files
Update ruling results
🤖 Generated with GitHub Actions
1 parent fcbca51 commit 9deea2f

9 files changed

Lines changed: 10200 additions & 0 deletions

File tree

‎its/ruling/src/test/resources/expected/java-time-example-less-threshold/java-S109.sarif‎

Lines changed: 5826 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 258 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,258 @@
1+
{
2+
"$schema" : "https://json.schemastore.org/sarif-2.1.0.json",
3+
"version" : "2.1.0",
4+
"runs" : [ {
5+
"tool" : {
6+
"driver" : {
7+
"name" : "LITS",
8+
"language" : "en-US",
9+
"contents" : [ "localizedData", "nonLocalizedData" ],
10+
"isComprehensive" : false
11+
}
12+
},
13+
"language" : "en-US",
14+
"results" : [ {
15+
"ruleId" : "java:S1120",
16+
"ruleIndex" : -1,
17+
"kind" : "fail",
18+
"level" : "warning",
19+
"message" : {
20+
"text" : "Make this line start after 4 spaces instead of 2 in order to indent the code consistently. (Indentation level is at 4.)"
21+
},
22+
"locations" : [ {
23+
"id" : -1,
24+
"physicalLocation" : {
25+
"artifactLocation" : {
26+
"uri" : "java-time-example:src/main/java/example/AppointmentService.java",
27+
"index" : -1
28+
},
29+
"region" : {
30+
"startLine" : 11,
31+
"startColumn" : 1,
32+
"endLine" : 11,
33+
"endColumn" : 20
34+
}
35+
}
36+
} ],
37+
"rank" : -1.0
38+
}, {
39+
"ruleId" : "java:S1120",
40+
"ruleIndex" : -1,
41+
"kind" : "fail",
42+
"level" : "warning",
43+
"message" : {
44+
"text" : "Make this line start after 8 spaces instead of 4 in order to indent the code consistently. (Indentation level is at 4.)"
45+
},
46+
"locations" : [ {
47+
"id" : -1,
48+
"physicalLocation" : {
49+
"artifactLocation" : {
50+
"uri" : "java-time-example:src/main/java/example/AppointmentService.java",
51+
"index" : -1
52+
},
53+
"region" : {
54+
"startLine" : 12,
55+
"startColumn" : 1,
56+
"endLine" : 12,
57+
"endColumn" : 43
58+
}
59+
}
60+
} ],
61+
"rank" : -1.0
62+
}, {
63+
"ruleId" : "java:S1120",
64+
"ruleIndex" : -1,
65+
"kind" : "fail",
66+
"level" : "warning",
67+
"message" : {
68+
"text" : "Make this line start after 4 spaces instead of 2 in order to indent the code consistently. (Indentation level is at 4.)"
69+
},
70+
"locations" : [ {
71+
"id" : -1,
72+
"physicalLocation" : {
73+
"artifactLocation" : {
74+
"uri" : "java-time-example:src/main/java/example/CalendarUtils.java",
75+
"index" : -1
76+
},
77+
"region" : {
78+
"startLine" : 12,
79+
"startColumn" : 1,
80+
"endLine" : 12,
81+
"endColumn" : 19
82+
}
83+
}
84+
} ],
85+
"rank" : -1.0
86+
}, {
87+
"ruleId" : "java:S1120",
88+
"ruleIndex" : -1,
89+
"kind" : "fail",
90+
"level" : "warning",
91+
"message" : {
92+
"text" : "Make this line start after 8 spaces instead of 4 in order to indent the code consistently. (Indentation level is at 4.)"
93+
},
94+
"locations" : [ {
95+
"id" : -1,
96+
"physicalLocation" : {
97+
"artifactLocation" : {
98+
"uri" : "java-time-example:src/main/java/example/CalendarUtils.java",
99+
"index" : -1
100+
},
101+
"region" : {
102+
"startLine" : 13,
103+
"startColumn" : 1,
104+
"endLine" : 13,
105+
"endColumn" : 44
106+
}
107+
}
108+
} ],
109+
"rank" : -1.0
110+
}, {
111+
"ruleId" : "java:S1120",
112+
"ruleIndex" : -1,
113+
"kind" : "fail",
114+
"level" : "warning",
115+
"message" : {
116+
"text" : "Make this line start after 4 spaces instead of 2 in order to indent the code consistently. (Indentation level is at 4.)"
117+
},
118+
"locations" : [ {
119+
"id" : -1,
120+
"physicalLocation" : {
121+
"artifactLocation" : {
122+
"uri" : "java-time-example:src/main/java/example/EventScheduler.java",
123+
"index" : -1
124+
},
125+
"region" : {
126+
"startLine" : 12,
127+
"startColumn" : 1,
128+
"endLine" : 12,
129+
"endColumn" : 16
130+
}
131+
}
132+
} ],
133+
"rank" : -1.0
134+
}, {
135+
"ruleId" : "java:S1120",
136+
"ruleIndex" : -1,
137+
"kind" : "fail",
138+
"level" : "warning",
139+
"message" : {
140+
"text" : "Make this line start after 8 spaces instead of 4 in order to indent the code consistently. (Indentation level is at 4.)"
141+
},
142+
"locations" : [ {
143+
"id" : -1,
144+
"physicalLocation" : {
145+
"artifactLocation" : {
146+
"uri" : "java-time-example:src/main/java/example/EventScheduler.java",
147+
"index" : -1
148+
},
149+
"region" : {
150+
"startLine" : 13,
151+
"startColumn" : 1,
152+
"endLine" : 13,
153+
"endColumn" : 43
154+
}
155+
}
156+
} ],
157+
"rank" : -1.0
158+
}, {
159+
"ruleId" : "java:S1120",
160+
"ruleIndex" : -1,
161+
"kind" : "fail",
162+
"level" : "warning",
163+
"message" : {
164+
"text" : "Make this line start after 4 spaces instead of 2 in order to indent the code consistently. (Indentation level is at 4.)"
165+
},
166+
"locations" : [ {
167+
"id" : -1,
168+
"physicalLocation" : {
169+
"artifactLocation" : {
170+
"uri" : "java-time-example:src/main/java/example/HolidayChecker.java",
171+
"index" : -1
172+
},
173+
"region" : {
174+
"startLine" : 12,
175+
"startColumn" : 1,
176+
"endLine" : 12,
177+
"endColumn" : 17
178+
}
179+
}
180+
} ],
181+
"rank" : -1.0
182+
}, {
183+
"ruleId" : "java:S1120",
184+
"ruleIndex" : -1,
185+
"kind" : "fail",
186+
"level" : "warning",
187+
"message" : {
188+
"text" : "Make this line start after 8 spaces instead of 4 in order to indent the code consistently. (Indentation level is at 4.)"
189+
},
190+
"locations" : [ {
191+
"id" : -1,
192+
"physicalLocation" : {
193+
"artifactLocation" : {
194+
"uri" : "java-time-example:src/main/java/example/HolidayChecker.java",
195+
"index" : -1
196+
},
197+
"region" : {
198+
"startLine" : 13,
199+
"startColumn" : 1,
200+
"endLine" : 13,
201+
"endColumn" : 42
202+
}
203+
}
204+
} ],
205+
"rank" : -1.0
206+
}, {
207+
"ruleId" : "java:S1120",
208+
"ruleIndex" : -1,
209+
"kind" : "fail",
210+
"level" : "warning",
211+
"message" : {
212+
"text" : "Make this line start after 4 spaces instead of 2 in order to indent the code consistently. (Indentation level is at 4.)"
213+
},
214+
"locations" : [ {
215+
"id" : -1,
216+
"physicalLocation" : {
217+
"artifactLocation" : {
218+
"uri" : "java-time-example:src/main/java/example/ReportGenerator.java",
219+
"index" : -1
220+
},
221+
"region" : {
222+
"startLine" : 12,
223+
"startColumn" : 1,
224+
"endLine" : 12,
225+
"endColumn" : 20
226+
}
227+
}
228+
} ],
229+
"rank" : -1.0
230+
}, {
231+
"ruleId" : "java:S1120",
232+
"ruleIndex" : -1,
233+
"kind" : "fail",
234+
"level" : "warning",
235+
"message" : {
236+
"text" : "Make this line start after 8 spaces instead of 4 in order to indent the code consistently. (Indentation level is at 4.)"
237+
},
238+
"locations" : [ {
239+
"id" : -1,
240+
"physicalLocation" : {
241+
"artifactLocation" : {
242+
"uri" : "java-time-example:src/main/java/example/ReportGenerator.java",
243+
"index" : -1
244+
},
245+
"region" : {
246+
"startLine" : 13,
247+
"startColumn" : 1,
248+
"endLine" : 13,
249+
"endColumn" : 43
250+
}
251+
}
252+
} ],
253+
"rank" : -1.0
254+
} ],
255+
"newlineSequences" : [ "\r\n", "\n" ],
256+
"columnKind" : "utf16CodeUnits"
257+
} ]
258+
}
Lines changed: 108 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,108 @@
1+
{
2+
"$schema" : "https://json.schemastore.org/sarif-2.1.0.json",
3+
"version" : "2.1.0",
4+
"runs" : [ {
5+
"tool" : {
6+
"driver" : {
7+
"name" : "LITS",
8+
"language" : "en-US",
9+
"contents" : [ "localizedData", "nonLocalizedData" ],
10+
"isComprehensive" : false
11+
}
12+
},
13+
"language" : "en-US",
14+
"results" : [ {
15+
"ruleId" : "java:S113",
16+
"ruleIndex" : -1,
17+
"kind" : "fail",
18+
"level" : "warning",
19+
"message" : {
20+
"text" : "Add a new line at the end of this file."
21+
},
22+
"locations" : [ {
23+
"id" : -1,
24+
"physicalLocation" : {
25+
"artifactLocation" : {
26+
"uri" : "java-time-example:src/main/java/example/AppointmentService.java",
27+
"index" : -1
28+
}
29+
}
30+
} ],
31+
"rank" : -1.0
32+
}, {
33+
"ruleId" : "java:S113",
34+
"ruleIndex" : -1,
35+
"kind" : "fail",
36+
"level" : "warning",
37+
"message" : {
38+
"text" : "Add a new line at the end of this file."
39+
},
40+
"locations" : [ {
41+
"id" : -1,
42+
"physicalLocation" : {
43+
"artifactLocation" : {
44+
"uri" : "java-time-example:src/main/java/example/CalendarUtils.java",
45+
"index" : -1
46+
}
47+
}
48+
} ],
49+
"rank" : -1.0
50+
}, {
51+
"ruleId" : "java:S113",
52+
"ruleIndex" : -1,
53+
"kind" : "fail",
54+
"level" : "warning",
55+
"message" : {
56+
"text" : "Add a new line at the end of this file."
57+
},
58+
"locations" : [ {
59+
"id" : -1,
60+
"physicalLocation" : {
61+
"artifactLocation" : {
62+
"uri" : "java-time-example:src/main/java/example/EventScheduler.java",
63+
"index" : -1
64+
}
65+
}
66+
} ],
67+
"rank" : -1.0
68+
}, {
69+
"ruleId" : "java:S113",
70+
"ruleIndex" : -1,
71+
"kind" : "fail",
72+
"level" : "warning",
73+
"message" : {
74+
"text" : "Add a new line at the end of this file."
75+
},
76+
"locations" : [ {
77+
"id" : -1,
78+
"physicalLocation" : {
79+
"artifactLocation" : {
80+
"uri" : "java-time-example:src/main/java/example/HolidayChecker.java",
81+
"index" : -1
82+
}
83+
}
84+
} ],
85+
"rank" : -1.0
86+
}, {
87+
"ruleId" : "java:S113",
88+
"ruleIndex" : -1,
89+
"kind" : "fail",
90+
"level" : "warning",
91+
"message" : {
92+
"text" : "Add a new line at the end of this file."
93+
},
94+
"locations" : [ {
95+
"id" : -1,
96+
"physicalLocation" : {
97+
"artifactLocation" : {
98+
"uri" : "java-time-example:src/main/java/example/ReportGenerator.java",
99+
"index" : -1
100+
}
101+
}
102+
} ],
103+
"rank" : -1.0
104+
} ],
105+
"newlineSequences" : [ "\r\n", "\n" ],
106+
"columnKind" : "utf16CodeUnits"
107+
} ]
108+
}

0 commit comments

Comments
 (0)