Skip to content
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

CodeChecker parse command should provide fast checker statistics #4269

Open
dkrupp opened this issue Jun 24, 2024 · 0 comments
Open

CodeChecker parse command should provide fast checker statistics #4269

dkrupp opened this issue Jun 24, 2024 · 0 comments
Labels
new feature 👍 New feature request

Comments

@dkrupp
Copy link
Member

dkrupp commented Jun 24, 2024

To get rid of the noisy checkers, the users wants to list the number of reports per checker and switch off the most noisy checkers. There is no convenient way in the CodeChecker command line to query the number of findings per checker. The parse command prints this, but in the case of 100 000 reports the parse time is above 15 minutes, which is far too long. One would expect such statistics to be printed in less than 5 seconds.

CodeCheker should provide a
CodeChecker parse --checker-statistics -d 3
command which would list the number of reports (as it would appear in the web GUI non-unique mode) per checker.
-d is the depth switch.
-d 0 statistics is printed on the main directory
-d 1 checker counts are printed on all directory separately
-d 2 checker counts are printed on teh 2nd level directory level
-d -1 checker counts are printed on the file level

@dkrupp dkrupp added the new feature 👍 New feature request label Jun 24, 2024
@dkrupp dkrupp changed the title CodeChecker parse command should provide Checker statistics CodeChecker parse command should provide fast checker statistics Jun 24, 2024
@dkrupp dkrupp added this to the release 6.25.0 milestone Jun 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new feature 👍 New feature request
Projects
None yet
Development

No branches or pull requests

1 participant