Description
Sometimes we have such region in SARIF report:
"region" : {
"startLine" : 1,
"startColumn" : 1
}But the first line of the source code contains the package name or class name. So there can't be an unchecked exception there.
To Reproduce
Steps to reproduce the behavior:
- Run test generation using IDEA plugin:
publicclassUtil {
publicstaticintmultiply(intx, inty) {
returnMath.multiplyExact(x, y);
}
}- Open generated SARIF report
- Find the incorrect region
Expected behavior
The SARIF report contains only correct regions.
Visual proofs

Description
Sometimes we have such region in SARIF report:
But the first line of the source code contains the package name or class name. So there can't be an unchecked exception there.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The SARIF report contains only correct regions.
Visual proofs