Favicon of scc

scc

Fast, accurate code counter supporting 100+ languages with COCOMO cost estimation, complexity analysis, and multiple output formats for comprehensive codebase metrics.

scc (Sloc Cloc and Code) is a high-performance code counting tool designed to analyze source code across 100+ programming languages. It delivers accurate metrics in seconds, making it ideal for developers and teams who need quick insights into their codebase.

Key capabilities include:

  • Lines of code metrics: Count physical lines, blank lines, comments, and code lines with precision
  • Cost estimation: Calculate COCOMO values and LLM-based development costs based on codebase size
  • Complexity analysis: Estimate cyclomatic complexity to identify hard-to-maintain code sections
  • Code quality metrics: Measure DRYness and unique lines of code to spot duplication
  • Flexible reporting: Export results as CSV, JSON, SQL, HTML, or YAML for integration with other tools
  • Smart filtering: Ignore specific files, directories, or minified code to focus on relevant metrics
  • Cross-platform: Runs efficiently on Windows, Linux, and macOS with consistent performance

Whether you're tracking technical debt, forecasting project costs, or conducting code audits, scc provides the data you need without the overhead of heavier analysis tools. The tool is particularly useful for teams managing multiple projects or those needing to justify development efforts with data-backed estimates.

Features

JSON outputScriptable

Media

Pros

4
  • Fast and accurate code counting
  • Supports over 100 programming languages
  • Includes COCOMO cost estimation
  • Provides complexity analysis and DRYness metrics

Cons

1
  • Snap installations may have path restrictions

Related tools

Share:

Auto-fetched .

Recent releases

Similar to scc

Favicon

 

  
 
Favicon

 

  
 
Favicon