Changes between Version 8 and Version 9 of QualityAssurance


Ignore:
Timestamp:
Jun 19, 2013, 9:56:58 PM (4 years ago)
Author:
jreed
Comment:

new wiki page for clang scan-build

Legend:

Unmodified
Added
Removed
Modified
  • QualityAssurance

    v8 v9  
    244244= Static Analysis
    245245
    246 For static analysis (analyze code without running it), we automate use of cppcheck (http://sourceforge.net/apps/mediawiki/cppcheck/) and Clang Static Analyzer "scan-build" (http://clang-analyzer.llvm.org/scan-build.html), and build most code with compiler -werror flag (so compiles fail on warnings). Cppcheck has been useful; we upgrade cppcheck periodically and also discuss issues with it upstream. Our cppcheck suppressions list is at src/cppcheck-suppress.lst.  "make cppcheck" target may be used. scan-build has some false reports, but we generally try to adjust for it also.
     246For static analysis (analyze code without running it), we automate use of cppcheck (http://sourceforge.net/apps/mediawiki/cppcheck/) and Clang Static Analyzer "scan-build" (see wiki:ClangStaticAnalyzer) (http://clang-analyzer.llvm.org/scan-build.html), and build most code with compiler -werror flag (so compiles fail on warnings). Cppcheck has been useful; we upgrade cppcheck periodically and also discuss issues with it upstream. Our cppcheck suppressions list is at src/cppcheck-suppress.lst.  "make cppcheck" target may be used. scan-build has some false reports, but we generally try to adjust for it also.
    247247
    248248Plans: