Skip to content

Clarify the scope of error highlighting in the SARIF report #452

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
mmvpm opened this issue Jul 7, 2022 · 0 comments · Fixed by #454
Closed

Clarify the scope of error highlighting in the SARIF report #452

mmvpm opened this issue Jul 7, 2022 · 0 comments · Fixed by #454
Assignees
Labels
ctg-enhancement New feature, improvement or change request

Comments

@mmvpm
Copy link
Collaborator

mmvpm commented Jul 7, 2022

Description

The SARIF viewer will highlight the portion of the file specified by physicalLocation.region to display the error.

Now we specify only region.startLine field, so the whole line will be highlighted:
image

But there is no need to highlight an empty space at the beginning of the line.

Expected behavior

An empty space at the beginning of the line is not highlighted:
image

@mmvpm mmvpm added the ctg-enhancement New feature, improvement or change request label Jul 7, 2022
@mmvpm mmvpm self-assigned this Jul 7, 2022
@mmvpm mmvpm moved this to Todo in UTBot Java Jul 7, 2022
@mmvpm mmvpm added this to UTBot Java Jul 7, 2022
@mmvpm mmvpm moved this from Todo to In Progress in UTBot Java Jul 7, 2022
mmvpm added a commit that referenced this issue Jul 7, 2022
mmvpm added a commit that referenced this issue Jul 8, 2022
mmvpm added a commit that referenced this issue Jul 8, 2022
mmvpm added a commit that referenced this issue Jul 8, 2022
mmvpm added a commit that referenced this issue Jul 8, 2022
mmvpm added a commit that referenced this issue Jul 8, 2022
mmvpm added a commit that referenced this issue Jul 8, 2022
mmvpm added a commit that referenced this issue Jul 8, 2022
mmvpm added a commit that referenced this issue Jul 8, 2022
mmvpm added a commit that referenced this issue Jul 8, 2022
@mmvpm mmvpm closed this as completed in #454 Jul 8, 2022
Repository owner moved this from In Progress to Done in UTBot Java Jul 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ctg-enhancement New feature, improvement or change request
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant