/loc

Tool to count lines of code

Primary LanguageC#

What's loc?

A simple tool for counting lines of code in files. loc supports traversing directories and include files based on extensions.

Usage

Example: loc.exe C:\\projects\\myproject *.cs *.aspx *.js *.css

This will count loc in all subdirectories of C:\projects\myproject where the file extension is any of .cs, .aspx, .js or .css.