5.9 Code metrics

Code metrics provide a means of objectively evaluating code quality. The compiler and linker provide several facilities for generating simple code metrics and improving code quality.

In particular, you can:

  • Measure code and data sizes.

  • Generate dynamic callgraphs.

  • Measure stack use.

Related concepts
5.10 Code metrics for measurement of code size and data size
5.11 Stack use in C and C++
Related information
--info=topic[,topic,...] linker option
--map, --no_map linker option
--callgraph, --no_callgraph linker option
--info=topic[,topic,...] fromelf option
Non-ConfidentialPDF file icon PDF versionARM DUI0472J
Copyright © 2010-2013 ARM. All rights reserved.