Scc Versions Save

Sloc, Cloc and Code: scc is a very fast accurate code counter with complexity calculations and COCOMO estimates written in pure Go

v2.8.0

4 years ago

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

v2.7.0

4 years ago

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

v2.6.0

4 years ago

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

v

4 years ago

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/

v2.5.0

4 years ago

Improvements

  • Supports .ignore file excludes similar to rg and ag
  • Ability to turn off .ignore file
  • Ability to turn off .gitignore file

Bug Fixes

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

v2.4.0

4 years ago

Improvements and bug-fixes include the following,

  • gitignore logic improvements (more work on this yet to come)
  • Supports multiple files/directory arguments E.G scc directory1 directory2 file1 file2

Additional Languages

  • Bosque

A big thank you to the following people for their pull requests and reviews

v2.3.0

5 years ago

Improvements and bug-fixes include the following,

  • Duplicate detection race condition resolved
  • Race condition for start time and total count processing resolved

Additional Languages

  • Janet

A big thank you to the following people for their pull requests and reviews

v2.2.0

5 years ago

Improvements and bug-fixes include the following,

  • Now has the ability to differentiate between languages with the same file extension such as Coq, Verilog and V
  • Can pass in a single file as an argument
  • Compiled with Go 1.12 for ~3% performance improvement benchmark included below
$ 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

  • V

A big thank you to the following people for their pull requests and reviews

v2.1.0

5 years ago

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

v2.0.0

5 years ago

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,

  • Exit with non-zero outcome on command error
  • Improve ATS language support
  • Resolve bug where not marking YML comments
  • Modify shell extensions for better support
  • Improve IDL file-type recognition
  • Regex tweak to improve exclusion performance for exclusion matching

Additional Languages

  • Justfile
  • Gamemaker Project File
  • Android Interface Definition Language
  • Arvo
  • Bazel
  • Bitbake
  • Buildstream
  • Creole
  • Fidl
  • GN
  • Jinja
  • JSONL
  • Mako
  • Jupiter
  • Closure Templates
  • Stylus
  • Swig
  • SystemD
  • TaskPaper
  • Twig
  • VBA

A big thank you to the following people for their pull requests