Sloc, Cloc and Code: scc is a very fast accurate code counter with complexity calculations and COCOMO estimates written in pure Go
Slight tweak to improve Game Maker reporting.
Visual Change
Addtional Languages
Tweak the copy of the help messages https://github.com/boyter/scc/issues/37 Add new option to exclude directories and files https://github.com/boyter/scc/issues/23 Compile with debug symbols removed to produce smaller binary files. Release now includes i386 binaries.
New Option
scc -e "vendor|.*\.json" .
to ignore vendor directories and json filesAdditional languages
Improved performance such that it should be about 2x faster for most repositories thanks to work by @jhaynie and @dbaggerman
Additional languages
Accuracy improved to conform to tokei standards as per https://github.com/Aaronepower/tokei/blob/master/COMPARISON.md Improved performance, as such complexity calculations are almost free
Additional languages
Massively improve accuracy. Resolve bug where jump ahead logic would skip newlines. Compiled with Go 1.11 so expect improved performance.
Improved GC tweaking for better performance. Binary file detection similar to how GNU Grep, git and ripgrep work were a null byte indicates a binary file. Log will be printed (if in verbose mode) indicating so and file will be removed from output.
New Option
--binary
Will process binary files if they are identified as being a language, even if they would be classified as binary.New Languages
Tweak GC settings to improve performance for directories that contain < 10000 files. Redis, django and the go source code all fit this criteria. Where this is true scc should run in half the time of the 1.5.0 and previous releases.
New option
New languages
Add support for languages with extensions like test.d.ts used for Typescript Typings Spelling corrections
New languages