scc

Fast code counter that counts lines and estimates complexity metrics.

brewmacoslinux
Try with needOr install directly
Source

About

Fast and accurate code counter with complexity and COCOMO estimates

Commands

scc

Examples

count lines of code in current directory$ scc
count code in a specific folder and show results$ scc /path/to/project
count code and estimate project complexity$ scc --complexity
count code and show results as JSON output$ scc --format json
count lines in specific programming language only$ scc --include-lang Python