Download Latest Version 2.06 source code.tar.gz (748.6 kB)
Email in envelope

Get an email when there's a new version of CLOC (Count Lines of Code)

Home / v1.98
Name Modified Size InfoDownloads / Week
Parent folder
release_notes-1.98.txt 2023-08-19 49.4 kB
cloc-1.98.exe 2023-08-19 9.8 MB
cloc-1.98.tar.gz 2023-08-19 665.6 kB
cloc-1.98.pl 2023-08-19 715.1 kB
README.md 2023-08-19 1.4 kB
v1.98 source code.tar.gz 2023-08-19 661.5 kB
v1.98 source code.zip 2023-08-19 934.7 kB
Totals: 7 Items   12.8 MB 0

New Languages: Asymptote, CoCoA 5, Constraint Grammar, Hare, Jai, Linker Script, NetLogo, Typst

Updates:

  • Added .editorconfig as an INI extension.
  • Added .cppm, .ixx, .ccm, .cxxm, .c++m as C++ extensions.
  • Improved handling of trailing slash with --match-d
  • --exclude-list-file with --git now works as expected.
  • --not-match-d, --not-match-f can now be repeated.
  • --quiet mode is now enabled when STDOUT is not a terminal. This makes for cleaner output when piping to other programs.
  • New switch --include-content=regex to only count files whose content matches the given regex.
  • New switch --only-count-files to only count files. Counts for blank, comment, and code lines will be zero.

Bug fixes:

  • --no-recurse now works on Windows
  • Improved exclusion of autogenerated files on Windows.
  • Improved handling of path separators with git in PowerShell.
  • Resolve nondeterministic --diff output.
  • --hide-rate supports all output file types
  • Fixed --diff-list-file with unknown listed file.
  • Fixed parsing of verbose option in the cloc configuration file.

NOTE: The next release of cloc will be 2.00. Despite the major version number bump, there will be no breaking changes.

Source: README.md, updated 2023-08-19