Submit a product

scc

command-line code counter with complexity and COCOMO estimates

ToolCommand lineWindowsOpen source

scc counts lines of code across source files and reports them by language, in the style of cloc and SLOCCount. It also estimates code complexity and produces COCOMO effort and cost figures, which suits developers who want a quick overview of a codebase or a rough size estimate for a project.

It is written in pure Go and runs from the command line on Linux and macOS. The source is public under the MIT license, so it can be built, inspected and modified freely. The facts do not list a pricing model beyond the open license.

Alternatives to scc

Products that do a similar job in Developer Tools.

All alternatives

tokei

command-line tool that counts lines of code by language

ToolDeveloper Tools··Open source·15k

fzf

Command-line fuzzy finder for lists of files, history and any text

ToolDeveloper Tools··Open source·85k

lazygit

Terminal UI for running git commands with keyboard shortcuts

ToolDeveloper Tools··Open source·84k

ripgrep

command-line search tool that finds regex matches across directory trees

ToolDeveloper Tools··Open source·71k

Alacritty

GPU-accelerated terminal emulator for Linux, macOS, Windows and BSD

ToolDeveloper Tools··Open source·66k

bat

command-line file viewer with syntax highlighting and git integration

ToolDeveloper Tools··Open source·62k

GitHub CLI

Command line tool for working with GitHub from the terminal

ToolDeveloper Tools··Open source·47k

rtk

Command-line proxy that trims dev command output before it reaches an LLM

ToolDeveloper Tools··Open source·89k