boyter

scc

boyter

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

AI 简介

scc 是一款用 Go 编写的高性能源代码行数统计工具,用于精确计算代码行(SLOC)、注释行、空行及物理行,并支持多种编程语言。其核心功能包括:COCOMO 与 LOCOMO 项目成本估算、圈复杂度近似计算、唯一代码行(ULOC)与 DRY 度分析,以及多格式输出和 MCP 服务模式。相比 cloc、tokei 和 sloccount,scc 在保持高精度的同时显著优化了执行速度,适用于代码审计、技术债务评估、CI/CD 质量门禁、研发效能分析及开源项目健康度度量等场景。

Go
MIT License
8.5k
Stars
321
Forks
33
Watchers
24
Issues

Star 增长

今日0
近 7 天0
近 30 天+38
综合评分67.32
默认分支master