-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathexpected.sarif
More file actions
58 lines (58 loc) · 1.44 KB
/
expected.sarif
File metadata and controls
58 lines (58 loc) · 1.44 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
46
47
48
49
50
51
52
53
54
55
56
57
58
{
"version": "2.1.0",
"$schema": "https://raw.githubusercontent.com/oasis-tcs/sarif-spec/master/Schemata/sarif-schema-2.1.0.json",
"runs": [
{
"tool": {
"driver": {
"name": "Lizard",
"version": "1.17.10",
"informationUri": "https://github.com/terryyin/lizard",
"rules": null
}
},
"results": [
{
"ruleId": "Lizard_nloc-medium",
"level": "warning",
"message": {
"text": "Method complex_analysis has 65 lines of code (limit is 50)"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "Test.py"
},
"region": {
"startLine": 1,
"startColumn": 1
}
}
}
]
},
{
"ruleId": "Lizard_ccn-medium",
"level": "warning",
"message": {
"text": "Method complex_analysis has a cyclomatic complexity of 31 (limit is 8)"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "Test.py"
},
"region": {
"startLine": 1,
"startColumn": 1
}
}
}
]
}
]
}
]
}