SCC is a tool for counting physical lines of code, blank lines, comment lines, and physical lines of source code in many programming languages, with the goal of being the fastest code counter possible. It also performs COCOMO calculation like sloccount and estimates code complexity similar to cyclomatic complexity calculators. SCC is dual-licensed under MIT or the UNLICENSE. It can be installed via Go, Snap, Homebrew, MacPorts, Scoop, and Chocolatey, or manually for Windows, GNU/Linux, and macOS. GitHub Action workflow is also available. SCC was created by Ben Boyter; it has a short name which is easy to type, ‘scc’. SCC can help determine source code size and complexity. Performance benchmarks, reviews, and a talk given at the first GopherCon AU are also available on Boyter's website. SCC is similar to other tools such as SLOCCount.
don't have tea/gui yet? download here
Copy the tea one-liner above into your terminal to install boyter/scc. tea will interpret the documentation and take care of any dependencies.