devel/cloc - The NetBSD Packages Collection

Count lines of code

cloc counts blank lines, comment lines, and physical lines of source
code in many programming languages, with the following features:

  * Reads user-supplied language comment definition files
  * Allows results from multiple runs to be summed together by
    language and by project.
  * Produces results in a variety of formats: plain text, XML, YAML,
    CSV.
  * Counts code within compressed archives (tarballs, Zip files, Java
    .ear files).
  * Has numerous troubleshooting options.
  * Handles file and directory names with spaces and other unusual
    characters.

Build dependencies

pkgtools/mktools devel/gmake pkgtools/cwrappers

Runtime dependencies

devel/p5-Algorithm-Diff textproc/p5-Regexp-Common devel/p5-Parallel-ForkManager lang/perl5

Binary packages

OSArchitectureVersion
NetBSD 10.0aarch64cloc-1.96.tgz
NetBSD 10.0aarch64cloc-1.96.tgz
NetBSD 10.0aarch64cloc-1.96.tgz
NetBSD 10.0aarch64ebcloc-1.96.tgz
NetBSD 10.0aarch64ebcloc-1.96.tgz
NetBSD 10.0alphacloc-1.96.tgz
NetBSD 10.0earmv6hfcloc-1.96.tgz
NetBSD 10.0earmv6hfcloc-1.96.tgz
NetBSD 10.0earmv6hfcloc-1.96.tgz
NetBSD 10.0earmv7hfcloc-1.96.tgz
NetBSD 10.0earmv7hfcloc-1.96.tgz
NetBSD 10.0earmv7hfcloc-1.96.tgz
NetBSD 10.0i386cloc-1.96.tgz
NetBSD 10.0i386cloc-1.96.tgz
NetBSD 10.0powerpccloc-1.96.tgz
NetBSD 10.0x86_64cloc-1.96.tgz
NetBSD 10.0_BETAx86_64cloc-1.96.tgz
NetBSD 8.0i386cloc-1.96.tgz
NetBSD 8.0i386cloc-1.96.tgz
NetBSD 8.0powerpccloc-1.96.tgz
NetBSD 8.0powerpccloc-1.96.tgz
NetBSD 8.0powerpccloc-1.96.tgz
NetBSD 8.0powerpccloc-1.96.tgz
NetBSD 8.0x86_64cloc-1.96.tgz
NetBSD 8.0x86_64cloc-1.96.tgz
NetBSD 8.0x86_64cloc-1.96.tgz
NetBSD 9.0aarch64cloc-1.96.tgz
NetBSD 9.0aarch64cloc-1.96.tgz
NetBSD 9.0aarch64cloc-1.96.tgz
NetBSD 9.0alphacloc-1.96.tgz
NetBSD 9.0alphacloc-1.96.tgz
NetBSD 9.0earmv6hfcloc-1.96.tgz
NetBSD 9.0earmv6hfcloc-1.96.tgz
NetBSD 9.0earmv6hfcloc-1.96.tgz
NetBSD 9.0earmv7hfcloc-1.96.tgz
NetBSD 9.0earmv7hfcloc-1.96.tgz
NetBSD 9.0earmv7hfcloc-1.96.tgz
NetBSD 9.0i386cloc-1.96.tgz
NetBSD 9.0i386cloc-1.96.tgz
NetBSD 9.0m68kcloc-1.96.tgz
NetBSD 9.0m68kcloc-1.96.tgz
NetBSD 9.0mips64ebcloc-1.96.tgz
NetBSD 9.0powerpccloc-1.96.tgz
NetBSD 9.0powerpccloc-1.96.tgz
NetBSD 9.0powerpccloc-1.96.tgz
NetBSD 9.0powerpccloc-1.96.tgz
NetBSD 9.0sparc64cloc-1.96.tgz
NetBSD 9.0x86_64cloc-1.96.tgz
NetBSD 9.0x86_64cloc-1.96.tgz
NetBSD 9.3x86_64cloc-1.96.tgz
NetBSD 9.3x86_64cloc-1.96.tgz

Binary packages can be installed with the high-level tool pkgin (which can be installed with pkg_add) or pkg_add(1) (installed by default). The NetBSD packages collection is also designed to permit easy installation from source.

Available build options

(none)

Known vulnerabilities

The pkg_admin audit command locates any installed package which has been mentioned in security advisories as having vulnerabilities.

Please note the vulnerabilities database might not be fully accurate, and not every bug is exploitable with every configuration.


Problem reports, updates or suggestions for this package should be reported with send-pr.