Please suggest some free tools which will help me to get Lines-of-Code metrics for C# projects using the command line.
Asked
Active
Viewed 3,210 times
2 Answers
5
I was searching for a similar tool. Found Microsoft Line of Code (LOC) Counter Its pretty good. Feature list from code.msdn page
Features:
- Get Latest LOC Count and Code Churn by connecting to source repository such as VSTF, VSS , and File System
- 16 types of count (latest, Code churn with dates, labels, changesets, etc.,)
- Customize counting standard to suit your own environment - Add, remove programming languages, set inclusion/exclusion rules
- Report results by File, Folder, Language, Excluded LOC, and more
- Predict System Defect Density by applying Microsoft Research on the Code churn data
- Support for Personal Software Process(SM) / Team Software Process(SM) object level code churn
- Install either as Windows (XP/Vista, 32bit/64bit) Application or as an add-in to Visual Studio 2005 IDE
- Save source code selections of a task and run them repeatedly
- Export results to Excel or PDF

rao
- 1,024
- 2
- 11
- 17
2
i got the LoC using Ndepend

Peter K.
- 8,028
- 4
- 48
- 73

sundar venugopal
- 3,080
- 6
- 39
- 45
-
1It's not free, though - actually quite pricey. – Igor Brejc Sep 05 '11 at 15:29