scc
Count lines of code, blank lines, comment lines, and physical lines of source code.
It analyzes source trees and reports the number of physical lines, blank lines, comment lines, and total lines of code for many programming languages. The tool also offers optional calculations such as COCOMO‑based cost estimates, LOCOMO projections for language‑model development, cyclomatic‑style complexity metrics, and a “unique lines” or DRYness measure. Output can be formatted in several common styles, and the program runs as a command‑line utility that can be installed via Go, package managers, or Docker.
The primary audience is developers and engineering teams who need quick, language‑agnostic statistics for codebases, whether for personal insight, CI/CD quality gates, or larger‑scale project health monitoring. Its design emphasizes speed and a compact command name, making it suitable for frequent use in scripts and terminal workflows.
Distinctive aspects include built‑in cost‑model calculations, complexity estimates, and a metric for non‑duplicated code, all provided alongside the basic line‑counting functionality. The project is stable, MIT‑licensed, and supports a wide range of languages.
Reviews
Loading reviews…
Similar apps
Terminals & CLI
PPRows
Application to calculate how many lines of code you write. ![Freeware][Freeware Icon]
Terminals & CLI
cmdperf
Quickly benchmark and compare command performance.
Terminals & CLI
treepp
Windows tree++.
Terminals & CLI
s5cmd
Blazing fast S3 and local filesystem execution tool.
Terminals & CLI
sc-im
Vim-like spreadsheet calculator.

Task & Project Management
slides
A markdown presentation tool.