I recently came across an interesting tool for looking at source code metrics SourceMonitor from Campwood Software. This tool looks at source within a set of sub-directories and gives you basic measures about your software.
The following are a sample of measures captured through this application:
- Total Source Lines
- Total Statements
- Percentage of documentation
- Complexity
- Block Depth
A very interesting chart is the summary one below; this gives you an idea of how well your source fits within a predefined set of measures.