]> granicus.if.org Git - clang/commit
[analyzer] Collect stats on the max # of bug reports in an equivalence class.
authorJordan Rose <jordan_rose@apple.com>
Fri, 15 Mar 2013 21:41:53 +0000 (21:41 +0000)
committerJordan Rose <jordan_rose@apple.com>
Fri, 15 Mar 2013 21:41:53 +0000 (21:41 +0000)
commitcc08ca9b3cd2b715a699bcc772ce2e83a502915a
tree6f22be32a2a13d803beb0098d91faed0942fb389
parent05cb2eb0a79a05e6079106575fbf0dd58a388edf
[analyzer] Collect stats on the max # of bug reports in an equivalence class.

We discovered that sqlite3.c currently has 2600 reports in a single
equivalence class; it would be good to know if this is a recent
development or what.

(For the curious, the different reports in an equivalence class represent
the same bug found along different paths. When we're suppressing false
positives, we need to go through /every/ path to make sure there isn't a
valid path to a bug. This is a flaw in our after-the-fact suppression,
made worse by the fact that that function isn't particularly optimized.)

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@177188 91177308-0d34-0410-b5e6-96231b3b80d8
lib/StaticAnalyzer/Core/BugReporter.cpp