Tokei

Count code, comments and blank lines by language.

Point this Rust command-line tool at a source tree to see how its contents break down by programming language. The report separates lines of code from comments and whitespace.