I am working on metrics development for my software development group. To aid in this project, I have looked for tools to provide consistent counting of
source code (SLOC). The Understand tool provides this capability (commercial tool). There are also several open source tools available:
source code (SLOC). The Understand tool provides this capability (commercial tool). There are also several open source tools available:
- University of Southern California – The Center for Systems and Software Engineering has Unified Code Count (UCC), a tool for counting SLOC for multiple languages
- Vimeo – Presentation by Anandi Hira on UCC setup and use
- Jet Propulsion Laboratory – Code counter for C
Capers Jones has published an evaluation of several software size metrics (function points, SLOC, other methods), and discusses their advanatages and disadvantages.