-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsample_unified_data_model.json
117 lines (117 loc) · 4.97 KB
/
sample_unified_data_model.json
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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
{
"REMOVE-example": {
"Repo": "runtime",
"RepoURL": "https://github.com/dotnet/runtime.git",
"SolutionFile": "Microsoft.Extensions.Configuration.Binder.sln",
"FilePath": "src/libraries/System.Runtime/ref/System.Runtime.cs",
"NumberFileLines": 11796,
"Commit": "e98d043d7d293c88a346b632d8fc12564a8ef0ce",
"FileURL": "https://github.com/dotnet/runtime/blob/e98d043d7d293c88a346b632d8fc12564a8ef0ce/src/libraries/System.Runtime/ref/System.Runtime.cs",
"DiagnosticID": "CC0025",
"AnalyzerNuGet": "codecracker.CSharp.1.1.0",
"Severity": "Error",
"DiagnosticOccurances": [
{
"Message": "Remove Empty Finalizers",
"Line": 3128,
"Character": 9
}
],
"ParsedDiff": {
"ActionType": "REMOVE",
"Action": {
"SourceLocationStart": 3128,
"SourceLocationEnd": 3128
}
},
"FileContextStart": 3125,
"FileContext": [
" public Object() { }\n",
" public virtual bool Equals(System.Object? obj) { throw null; }\n",
" public static bool Equals(System.Object? objA, System.Object? objB) { throw null; }\n",
" ~Object() { }\n",
" public virtual int GetHashCode() { throw null; }\n",
" public System.Type GetType() { throw null; }\n",
" protected System.Object MemberwiseClone() { throw null; }\n"
]
},
"REPLACE-example": {
"Repo": "runtime",
"RepoURL": "https://github.com/dotnet/runtime.git",
"SolutionFile": "Microsoft.Diagnostics.Tracing.EventSource.Redist.sln",
"FilePath": "src/libraries/System.Runtime/ref/System.Runtime.cs",
"NumberFileLines": 11796,
"Commit": "e98d043d7d293c88a346b632d8fc12564a8ef0ce",
"FileURL": "https://github.com/dotnet/runtime/blob/e98d043d7d293c88a346b632d8fc12564a8ef0ce/src/libraries/System.Runtime/ref/System.Runtime.cs",
"DiagnosticID": "DateTimeOffsetInsteadOfDateTimeAnalyzer",
"AnalyzerNuGet": "Bit.Tooling.CodeAnalyzer.7.2.0",
"Severity": "Error",
"DiagnosticOccurances": [
{
"Message": "Replace DateTime usage with DateTimeOffset",
"Line": 706,
"Character": 16
}
],
"ParsedDiff": {
"ActionType": "REPLACE",
"Action": {
"SourceLocations": [
706
],
"TargetLines": [
" System.DateTimeOffset System.IConvertible.ToDateTime(System.IFormatProvider? provider) { throw null; }\n"
]
}
},
"FileContextStart": 703,
"FileContext": [
" bool System.IConvertible.ToBoolean(System.IFormatProvider? provider) { throw null; }\n",
" System.Byte System.IConvertible.ToByte(System.IFormatProvider? provider) { throw null; }\n",
" char System.IConvertible.ToChar(System.IFormatProvider? provider) { throw null; }\n",
" System.DateTime System.IConvertible.ToDateTime(System.IFormatProvider? provider) { throw null; }\n",
" decimal System.IConvertible.ToDecimal(System.IFormatProvider? provider) { throw null; }\n",
" double System.IConvertible.ToDouble(System.IFormatProvider? provider) { throw null; }\n",
" short System.IConvertible.ToInt16(System.IFormatProvider? provider) { throw null; }\n"
]
},
"ADD-example": {
"Repo": "runtime",
"RepoURL": "https://github.com/dotnet/runtime.git",
"SolutionFile": "parse-hb-log.sln",
"FilePath": "src/coreclr/tools/GCLogParser/parse-hb-log.cs",
"NumberFileLines": 1099,
"Commit": "e98d043d7d293c88a346b632d8fc12564a8ef0ce",
"FileURL": "https://github.com/dotnet/runtime/blob/e98d043d7d293c88a346b632d8fc12564a8ef0ce/src/coreclr/tools/GCLogParser/parse-hb-log.cs",
"DiagnosticID": "RCS1057",
"AnalyzerNuGet": "Roslynator.Analyzers.Unity.2.1.0",
"Severity": "Info",
"DiagnosticOccurances": [
{
"Message": "Add empty line between declarations.",
"Line": 78,
"Character": 7
}
],
"ParsedDiff": {
"ActionType": "ADD",
"Action": {
"PreviousSourceLocation": 78,
"TargetStartLocation": 80,
"TargetLines": [
"\n"
]
}
},
"FileContextStart": 75,
"FileContext": [
" Thread = 0,\n",
" AllocHeap = 1,\n",
" MaxType = 2\n",
" };\n",
" class Program\n",
" {\n",
" static bool fLogging = false;\n"
]
}
}