Skip to content

Adding a --drop-reports-from-skipped-files parameter to analyze #4332

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

Merged
merged 1 commit into from
Oct 21, 2024

Conversation

dkrupp
Copy link
Member

@dkrupp dkrupp commented Aug 29, 2024

By default CodeChecker used to filter out all reports from files which were on the skip list. This can hide true positive reports strating from unskipped code and endingin skipped files (typical with CTU and header related findings).

This patch removes the default report filtering post processing step from CodeChecker analyze --skip SKIPFILE operation.
The legacy functionality is still available with the --drop-reports-from-skipped-files paramer.

This way the reports are not skipped as a post processing step by default.

@dkrupp dkrupp requested review from bruntib and vodorok as code owners August 29, 2024 10:20
@dkrupp dkrupp added WIP 💣 Work In Progress analyzer 📈 Related to the analyze commands (analysis driver) labels Aug 29, 2024
@dkrupp dkrupp changed the title Adding a --filter post-processing step to analyze Adding a --drop-reports-from-skipped-files parameter to analyze Sep 2, 2024
@dkrupp dkrupp force-pushed the ctu_singlefile2 branch 3 times, most recently from bcb62bd to 9bfd59c Compare September 2, 2024 15:31
The report filtering post processing step
was removed as part of the --skip SKIPFILE parameter
and was separated out to a --drop-reports-from-skipped-files paramer.
This way the reports are not skipped as a post processing
step by default. With the argument set to true
the legacy behaviour is triggered that is all reports from the
files which are skipped from the analysis are dropped.
@dkrupp dkrupp removed the WIP 💣 Work In Progress label Sep 4, 2024
@dkrupp dkrupp added this to the release 6.25.0 milestone Sep 13, 2024
@bruntib bruntib merged commit 5dd935a into Ericsson:master Oct 21, 2024
7 of 8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
analyzer 📈 Related to the analyze commands (analysis driver)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants