Skip to content

CodeAnalysisTools

Ferland, Gary edited this page Dec 19, 2020 · 2 revisions
  • clang-analyzer

    Static analysis tool built on top of LLVM. Good at finding variables which are set and not used (some of which may have been added to quiet warnings with other tools...). Nice HTML-format display of annotated source.

  • hfcca

    Cyclomatic complexity analyzer. Guideline is cyclomatic complexity should be <= 15

  • cppcheck

One-liners

  • Find the most poorly converging zones throughout the test suite

    grep -v "ISO\|GRID\|#" */*.per | sort -nr -k 5 | less

    -k 5 sorts on nPres2Ioniz, -k 3 sorts on zone execution time


Return to DeveloperPages or go home

Clone this wiki locally