Sloc, Cloc and Code: scc is a very fast accurate code counter with complexity calculations and COCOMO estimates written in pure Go
Improvements/Changes
Default command line output format ordering now matches cloc not tokei
Disable cocomo output option changed from --cocomo to --no-cocomo
Better handling of Python docstring so they should be counted correctly
Fix for include option regression bug https://github.com/boyter/scc/issues/108
Panic on some Go files fix https://github.com/boyter/scc/issues/106
Built using Go 1.13 for mild performance improvements
A big thank you to the following people for their submissions
https://github.com/dbaggerman
https://github.com/elindsey
https://github.com/lukas-brenning
Improvements
Multiple gitignore files now supported.
New flag --ci for ci systems that do not support box characters
Command line output is now deterministic
Additional Language Support
WSDL
XSL
A big thank you to the following people for their pull requests and reviews
David Baggerman https://github.com/dbaggerman
Improvements
Now supports cloc-yaml output format as drop in replacement for cloc
Gitignore file now supported recursively
Better detection for verilog/v
Additional Language Support
PL/SQL
A big thank you to the following people for their pull requests and reviews
David Baggerman https://github.com/dbaggerman
Walter Weinmann https://github.com/walter-weinmann
Ryan Tennill https://github.com/rtennill
Improvements
Supports .ignore file excludes similar to rg and ag
Ability to turn off .ignore file
Ability to turn off .gitignore file
Bug Fixes
Fix to ignore .git on absolute paths
Fix where " when in character would be picked up as string #73
Fix panic/crash when using glob from shell #77
Ignore UTF-8 BOM and report if other BOM detected #72
Support for verbatim strings in C# #71
Additional Language Support
Flow9
Bitbucket Pipelines
Pony
QSharp
Futhark
Alloy
Wren
Monkey C
Alchemist
Luna
A big thank you to the following people for their pull requests and reviews
David Baggerman https://github.com/dbaggerman
Michael Hendricks https://github.com/mndrix/
Improvements
Bug Fixes
Additional Language Support
A big thank you to the following people for their pull requests and reviews
Improvements and bug-fixes include the following,
scc directory1 directory2 file1 file2
Additional Languages
A big thank you to the following people for their pull requests and reviews
Improvements and bug-fixes include the following,
Additional Languages
A big thank you to the following people for their pull requests and reviews
Improvements and bug-fixes include the following,
$ hyperfine './scc-1.12 ~/redis-5.0.2/' && hyperfine 'scc-1.11 ~/redis-5.0.2/'
Benchmark #1: ./scc ~/redis-5.0.2/
Time (mean ± σ): 68.9 ms ± 1.9 ms [User: 132.3 ms, System: 268.0 ms]
Range (min … max): 66.4 ms … 75.6 ms
Benchmark #1: scc ~/redis-5.0.2/
Time (mean ± σ): 72.2 ms ± 6.5 ms [User: 117.5 ms, System: 282.7 ms]
Range (min … max): 66.7 ms … 97.2 ms
Additional Languages
A big thank you to the following people for their pull requests and reviews
Performance release. Language features are now lazy loaded which improves performance for all repositories.
A comparison between 2.0.0 and 2.1.0 included below.
$ hyperfine './scc redis-5.0.2' && hyperfine 'scc redis-5.0.2'
Benchmark #1: ./scc redis-5.0.2
Time (mean ± σ): 81.6 ms ± 5.0 ms [User: 173.8 ms, System: 265.4 ms]
Range (min … max): 75.5 ms … 97.1 ms
Benchmark #1: scc redis-5.0.2
Time (mean ± σ): 124.4 ms ± 2.4 ms [User: 168.6 ms, System: 289.1 ms]
Range (min … max): 120.0 ms … 128.4 ms
Version 2.0.0 Due to change of command line flags. Run scc --help
for the full list.
Improvements and bug-fixes include the following,
Additional Languages
A big thank you to the following people for their pull requests