Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,258 @@
{
"$schema" : "https://json.schemastore.org/sarif-2.1.0.json",
"version" : "2.1.0",
"runs" : [ {
"tool" : {
"driver" : {
"name" : "LITS",
"language" : "en-US",
"contents" : [ "localizedData", "nonLocalizedData" ],
"isComprehensive" : false
}
},
"language" : "en-US",
"results" : [ {
"ruleId" : "java:S1120",
"ruleIndex" : -1,
"kind" : "fail",
"level" : "warning",
"message" : {
"text" : "Make this line start after 4 spaces instead of 2 in order to indent the code consistently. (Indentation level is at 4.)"
},
"locations" : [ {
"id" : -1,
"physicalLocation" : {
"artifactLocation" : {
"uri" : "java-time-example:src/main/java/example/AppointmentService.java",
"index" : -1
},
"region" : {
"startLine" : 11,
"startColumn" : 1,
"endLine" : 11,
"endColumn" : 20
}
}
} ],
"rank" : -1.0
}, {
"ruleId" : "java:S1120",
"ruleIndex" : -1,
"kind" : "fail",
"level" : "warning",
"message" : {
"text" : "Make this line start after 8 spaces instead of 4 in order to indent the code consistently. (Indentation level is at 4.)"
},
"locations" : [ {
"id" : -1,
"physicalLocation" : {
"artifactLocation" : {
"uri" : "java-time-example:src/main/java/example/AppointmentService.java",
"index" : -1
},
"region" : {
"startLine" : 12,
"startColumn" : 1,
"endLine" : 12,
"endColumn" : 43
}
}
} ],
"rank" : -1.0
}, {
"ruleId" : "java:S1120",
"ruleIndex" : -1,
"kind" : "fail",
"level" : "warning",
"message" : {
"text" : "Make this line start after 4 spaces instead of 2 in order to indent the code consistently. (Indentation level is at 4.)"
},
"locations" : [ {
"id" : -1,
"physicalLocation" : {
"artifactLocation" : {
"uri" : "java-time-example:src/main/java/example/CalendarUtils.java",
"index" : -1
},
"region" : {
"startLine" : 12,
"startColumn" : 1,
"endLine" : 12,
"endColumn" : 19
}
}
} ],
"rank" : -1.0
}, {
"ruleId" : "java:S1120",
"ruleIndex" : -1,
"kind" : "fail",
"level" : "warning",
"message" : {
"text" : "Make this line start after 8 spaces instead of 4 in order to indent the code consistently. (Indentation level is at 4.)"
},
"locations" : [ {
"id" : -1,
"physicalLocation" : {
"artifactLocation" : {
"uri" : "java-time-example:src/main/java/example/CalendarUtils.java",
"index" : -1
},
"region" : {
"startLine" : 13,
"startColumn" : 1,
"endLine" : 13,
"endColumn" : 44
}
}
} ],
"rank" : -1.0
}, {
"ruleId" : "java:S1120",
"ruleIndex" : -1,
"kind" : "fail",
"level" : "warning",
"message" : {
"text" : "Make this line start after 4 spaces instead of 2 in order to indent the code consistently. (Indentation level is at 4.)"
},
"locations" : [ {
"id" : -1,
"physicalLocation" : {
"artifactLocation" : {
"uri" : "java-time-example:src/main/java/example/EventScheduler.java",
"index" : -1
},
"region" : {
"startLine" : 12,
"startColumn" : 1,
"endLine" : 12,
"endColumn" : 16
}
}
} ],
"rank" : -1.0
}, {
"ruleId" : "java:S1120",
"ruleIndex" : -1,
"kind" : "fail",
"level" : "warning",
"message" : {
"text" : "Make this line start after 8 spaces instead of 4 in order to indent the code consistently. (Indentation level is at 4.)"
},
"locations" : [ {
"id" : -1,
"physicalLocation" : {
"artifactLocation" : {
"uri" : "java-time-example:src/main/java/example/EventScheduler.java",
"index" : -1
},
"region" : {
"startLine" : 13,
"startColumn" : 1,
"endLine" : 13,
"endColumn" : 43
}
}
} ],
"rank" : -1.0
}, {
"ruleId" : "java:S1120",
"ruleIndex" : -1,
"kind" : "fail",
"level" : "warning",
"message" : {
"text" : "Make this line start after 4 spaces instead of 2 in order to indent the code consistently. (Indentation level is at 4.)"
},
"locations" : [ {
"id" : -1,
"physicalLocation" : {
"artifactLocation" : {
"uri" : "java-time-example:src/main/java/example/HolidayChecker.java",
"index" : -1
},
"region" : {
"startLine" : 12,
"startColumn" : 1,
"endLine" : 12,
"endColumn" : 17
}
}
} ],
"rank" : -1.0
}, {
"ruleId" : "java:S1120",
"ruleIndex" : -1,
"kind" : "fail",
"level" : "warning",
"message" : {
"text" : "Make this line start after 8 spaces instead of 4 in order to indent the code consistently. (Indentation level is at 4.)"
},
"locations" : [ {
"id" : -1,
"physicalLocation" : {
"artifactLocation" : {
"uri" : "java-time-example:src/main/java/example/HolidayChecker.java",
"index" : -1
},
"region" : {
"startLine" : 13,
"startColumn" : 1,
"endLine" : 13,
"endColumn" : 42
}
}
} ],
"rank" : -1.0
}, {
"ruleId" : "java:S1120",
"ruleIndex" : -1,
"kind" : "fail",
"level" : "warning",
"message" : {
"text" : "Make this line start after 4 spaces instead of 2 in order to indent the code consistently. (Indentation level is at 4.)"
},
"locations" : [ {
"id" : -1,
"physicalLocation" : {
"artifactLocation" : {
"uri" : "java-time-example:src/main/java/example/ReportGenerator.java",
"index" : -1
},
"region" : {
"startLine" : 12,
"startColumn" : 1,
"endLine" : 12,
"endColumn" : 20
}
}
} ],
"rank" : -1.0
}, {
"ruleId" : "java:S1120",
"ruleIndex" : -1,
"kind" : "fail",
"level" : "warning",
"message" : {
"text" : "Make this line start after 8 spaces instead of 4 in order to indent the code consistently. (Indentation level is at 4.)"
},
"locations" : [ {
"id" : -1,
"physicalLocation" : {
"artifactLocation" : {
"uri" : "java-time-example:src/main/java/example/ReportGenerator.java",
"index" : -1
},
"region" : {
"startLine" : 13,
"startColumn" : 1,
"endLine" : 13,
"endColumn" : 43
}
}
} ],
"rank" : -1.0
} ],
"newlineSequences" : [ "\r\n", "\n" ],
"columnKind" : "utf16CodeUnits"
} ]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,108 @@
{
"$schema" : "https://json.schemastore.org/sarif-2.1.0.json",
"version" : "2.1.0",
"runs" : [ {
"tool" : {
"driver" : {
"name" : "LITS",
"language" : "en-US",
"contents" : [ "localizedData", "nonLocalizedData" ],
"isComprehensive" : false
}
},
"language" : "en-US",
"results" : [ {
"ruleId" : "java:S113",
"ruleIndex" : -1,
"kind" : "fail",
"level" : "warning",
"message" : {
"text" : "Add a new line at the end of this file."
},
"locations" : [ {
"id" : -1,
"physicalLocation" : {
"artifactLocation" : {
"uri" : "java-time-example:src/main/java/example/AppointmentService.java",
"index" : -1
}
}
} ],
"rank" : -1.0
}, {
"ruleId" : "java:S113",
"ruleIndex" : -1,
"kind" : "fail",
"level" : "warning",
"message" : {
"text" : "Add a new line at the end of this file."
},
"locations" : [ {
"id" : -1,
"physicalLocation" : {
"artifactLocation" : {
"uri" : "java-time-example:src/main/java/example/CalendarUtils.java",
"index" : -1
}
}
} ],
"rank" : -1.0
}, {
"ruleId" : "java:S113",
"ruleIndex" : -1,
"kind" : "fail",
"level" : "warning",
"message" : {
"text" : "Add a new line at the end of this file."
},
"locations" : [ {
"id" : -1,
"physicalLocation" : {
"artifactLocation" : {
"uri" : "java-time-example:src/main/java/example/EventScheduler.java",
"index" : -1
}
}
} ],
"rank" : -1.0
}, {
"ruleId" : "java:S113",
"ruleIndex" : -1,
"kind" : "fail",
"level" : "warning",
"message" : {
"text" : "Add a new line at the end of this file."
},
"locations" : [ {
"id" : -1,
"physicalLocation" : {
"artifactLocation" : {
"uri" : "java-time-example:src/main/java/example/HolidayChecker.java",
"index" : -1
}
}
} ],
"rank" : -1.0
}, {
"ruleId" : "java:S113",
"ruleIndex" : -1,
"kind" : "fail",
"level" : "warning",
"message" : {
"text" : "Add a new line at the end of this file."
},
"locations" : [ {
"id" : -1,
"physicalLocation" : {
"artifactLocation" : {
"uri" : "java-time-example:src/main/java/example/ReportGenerator.java",
"index" : -1
}
}
} ],
"rank" : -1.0
} ],
"newlineSequences" : [ "\r\n", "\n" ],
"columnKind" : "utf16CodeUnits"
} ]
}
Loading
Loading