Code analysis

Tools that analyze hotspots, memory issues, code coverage, etc

= Cross Platform =

ctest/cdash (testing)

 * install cmake/ctest, then run 'ctest -S run_ctest.cmake'
 * test submission to my.ctest.org requires creation of a file in the dir above the STEPcode source; read the messages from the above command

= Linux-only =

callgrind (find hotspots)
For best results, install kcachegrind for visualization. Requires KDE.

massif (find where the most memory is allocated)
Install valgrind, kgraphviewer, massif-visualizer. Install valgrind from your distro. The other two are probably not available in your distro; in addition, they require Qt, KDE, and graphviz-dev.
 * build kgraphviewer:
 * build massif-visualizer:


 * run massif and visualize:

lcov/gcov (code coverage)
= Downloads = Output of callgrind, cachegrind, and massif: https://docs.google.com/open?id=0B9G1tTILtiCyTmhoLTZva0JxdTQ