← All repos

scc

Sloc, Cloc and Code: scc is a very fast accurate code counter with complexity calculations and COCOMO estimates written in pure Go

clicloccodecomplexitygolanglinuxmacossccslocsloccountstatisticstokeiwindows
Browse cluster: Operating Systems and Low-Level Systems
1,652commits
141contributors
7languages

Tech stack & purpose

scc (Sloc, Cloc and Code) is a fast, accurate code counter written in pure Go that counts lines of code, blank lines, comment lines, and physical lines across many programming languages. Beyond basic line counting, it performs COCOMO and LOCOMO cost estimation, calculates code complexity similar to cyclomatic complexity calculators, and produces metrics like unique lines of code (ULOC) and DRYness. The tool is designed to power searchcode.com's structured code intelligence and is built specifically to support AI agents, while also serving individual developers and supporting multiple output formats including CSV, JSON, SQL, and HTML reports.

Community & reference links

Languages

Go
89.9%
Go Template
3.2%
Shell
3.0%
PowerShell
1.5%
HTML
1.4%
Python
1.0%
Dockerfile
0.0%

Contributors (top 30 of 141)