Maintainer Mode
Sign in with GitHub
Work in progress. Maintainer Mode changes every day: pages, numbers and links can change or break. Tell us what is wrong or missing.

loccount

Health

Risk
risk 9 low
  • +8 2.16 is behind upstream 2.25
  • +1 no versionCheckHook
Version
2.16 2.25 available
Channels
master 2.16 · nixos-unstable 2.16 · nixos-26.05 2.16 no channel is behind master
Hydra
succeeded 2w ago
Advisories
none open
Packaging
no versionCheckHook
Description
Re-implementation of sloccount in Go
Long description
loccount is a re-implementation of David A. Wheeler's sloccount tool in Go. It is faster and handles more different languages. Because it's one source file in Go, it is easier to maintain and extend than the multi-file, multi-language implementation of the original. The algorithms are largely unchanged and can be expected to produce identical numbers for languages supported by both tools. Python is an exception; loccount corrects buggy counting of single-quote multiline literals in sloccount 2.26.
Platforms
30 platforms: Linux, Darwin
Main program
loccount
Source provenance
not set: built from source
Outputs
out
Status
not broken, not insecure, free
Maintainers

Version bumps 0

all open bumps
None open. Upstream has 2.25: how to update a package.

Pull requests 0

None open.

Issues 0

None open.