loccount

count lines of codes in many languages

WWW CVSWeb GITHub
  1. Package version
    loccount-2.15
  2. Maintainer
    Klemens Nanni

loccount counts physical source lines of code.

Identifying over 80 languages by file extension and filename pattern, it can
also emit results as self-describing JSON and do COCOMO II as well as COCOMO I
estimates.

loccount is a re-implementation of David A. Wheeler's sloccount tool in Go. Bugs
excepted, the largely unchanged algorithms can be expected to produce identical
output while supporting more languages.

  • lang/go
  • textproc/asciidoc
  • lang/python/3.10