Skip to content

Minimize results in SARIF report #490

Closed
@mmvpm

Description

@mmvpm

Description

Sometimes there are duplicates or similar results in the SARIF report.

For example, the user runs test generation for the class:

public class Main {
    public int functionA(int a) {
        return functionB(a);
    }
    public int functionB(int b) {
        return functionC(b);
    }
    public int functionC(int c) {
        return 1 / c;
    }
}

And the created SARIF report contains 3 results:

image

But only only one of them is relevant to the user, because an unchecked exception is occurred in the functionC in all results.

Expected behavior

SARIF report does not contain duplicates and similar results.

Metadata

Metadata

Assignees

Labels

ctg-enhancementNew feature, improvement or change request

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions