This patch adds two statics.
The diff speaks for itself.
Details
Diff Detail
Event Timeline
Yay! This looks good to me and I love statistics, so a huge +1.
I have one question though. Isn't this counting all the reports in an equivalence class? I.e. if the analyzer finds something multiple times it will only be displayed once but here it will be counted multiple times. I think it might be worth to have two statistics, one for all bug reports and one for equivalence classes. What do you think?
clang/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp | ||
---|---|---|
2860–2863 | I strongly recommend a statistic for this branch as well. I.e., how many reports were too difficult for the refutation solver to solve. |
I have one question though. Isn't this counting all the reports in an equivalence class?
Yes it is. You have no choice but to run refutation before deduplication; otherwise the otherwise-best report in the class may be false when other reports are true.
It might be useful in the future, but right now, I'm not interested in upstreaming this.
I strongly recommend a statistic for this branch as well. I.e., how many reports were too difficult for the refutation solver to solve.