Code metrics provide a means of objectively evaluating code quality. The ARM 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 static callgraphs
measure stack use
reduce debug information in objects and libraries.