-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Fix #13374 (Add --check-level=reduced option) #6496
Conversation
On the testfiles that a customer had special problems with.. when |
Just tuning the values seems more reasonable to me than providing a different implementation. But I think we should implement bailout (debug) messages (at least for all the ones used here) so it is possible to actually see the impact this option has. I still fell that Maybe we should not add this configuration at all but expose all the values via |
For your information I asked these 4 questions to the customer that this valueflow-fast is implemented for. I'm not saying that this is the one and only opinion that matters just that we can try to be flexible..
Not by default but it could be interesting to see if the warning is opt-in (e.g. informational severity). Once Cppcheck is tuned for a project such warnings are noise.
Simpler is generally better and the 'fast' level selection is what we'd make available to project teams. However, fine-grained options would allow us to tune what 'fast' means or define a couple of levels of 'fast'. Either way it would be good to have an way to see, for example, what percentage of branches are checked, and some guidance as a starting point for tuning.
Command line, unless OS-level command line length limits would be exceeded.
Depends on the project, Local developer builds, per-patch CI, and nightly/release CI builds have different performance expectations. |
I agree "fast" is not a good name.
I would not put it in cppcheck.cfg that is supposed to be global options that are used every time. But well such configuration can be added in a file. |
c6c571b
to
9325deb
Compare
44bf3c2
to
b94ba63
Compare
443c6d6
to
41c442a
Compare
41c442a
to
cef3404
Compare
No description provided.