You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
privateval defaultLineNumber =1// if the line in the source code where the exception is thrown is unknown
56
-
57
-
/**
58
-
* [Read more about links to locations](https://github.com/microsoft/sarif-tutorials/blob/main/docs/3-Beyond-basics.md#msg-links-location)
33
+
* Creates a SARIF report.
59
34
*/
60
-
privateval relatedLocationId =1// for attaching link to generated test in related locations
61
-
62
-
privatefunconstructSarif(): Sarif {
35
+
funcreateReport(): Sarif {
63
36
val sarifResults = mutableListOf<SarifResult>()
64
37
val sarifRules = mutableSetOf<SarifRule>()
65
38
@@ -85,6 +58,15 @@ class SarifReport(
85
58
)
86
59
}
87
60
61
+
// internal
62
+
63
+
privateval defaultLineNumber =1// if the line in the source code where the exception is thrown is unknown
64
+
65
+
/**
66
+
* [Read more about links to locations](https://github.com/microsoft/sarif-tutorials/blob/main/docs/3-Beyond-basics.md#msg-links-location)
67
+
*/
68
+
privateval relatedLocationId =1// for attaching link to generated test in related locations
69
+
88
70
/**
89
71
* Minimizes detected errors and removes duplicates.
0 commit comments