We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 21e502b commit fc36ef8Copy full SHA for fc36ef8
utbot-framework/src/main/kotlin/org/utbot/sarif/SarifReport.kt
@@ -196,8 +196,12 @@ class SarifReport(
196
}
197
if (lastMethodCallIndex == -1)
198
return listOf()
199
- // taking all elements before the last `method` call
200
- val stackTraceFiltered = stackTrace.take(lastMethodCallIndex + 1)
+
+ val stackTraceFiltered = stackTrace
201
+ .take(lastMethodCallIndex + 1) // taking all elements before the last `method` call
202
+ .filter {
203
+ !it.className.startsWith("org.utbot.") // filter all internal calls
204
+ }
205
206
val stackTraceResolved = stackTraceFiltered.mapNotNull {
207
findStackTraceElementLocation(it)
0 commit comments