Port details on branch 2022Q2 |
- loccount Count source lines of code in a project
- 2.16_2 devel =0 2.16_2Version of this port present on the latest quarterly branch.
- Maintainer: yuri@FreeBSD.org
- Port Added: 2019-02-24 15:02:28
- Last Update: 2024-04-15 08:20:04
- Commit Hash: 32b2846
- License: BSD2CLAUSE
- WWW:
- http://www.catb.org/esr/loccount/
- Description:
- loccount is a re-implementation of David A. Wheeler's sloccount tool
in Go. It is faster, handles more different languages, can report LLOC
as well as SLOC, and can do COCOMO II as well as COCOMO I estimates. 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.
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- loccount>0:devel/loccount
- To install the port:
- cd /usr/ports/devel/loccount/ && make install clean
- To add the package, run one of these commands:
- pkg install devel/loccount
- pkg install loccount
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: loccount
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1709999106
SHA256 (loccount-2.16.tar.gz) = 4059cc0f61ccea2e424f1c3ccb838fedccaa15f0b53ef31534f59b38792048a2
SIZE (loccount-2.16.tar.gz) = 83003
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- a2x : textproc/asciidoc
- gmake>=4.4.1 : devel/gmake
- go121 : lang/go121
- python3.9 : lang/python39
- There are no ports dependent upon this port
Configuration Options:
- No options to configure
- Options name:
- devel_loccount
- USES:
- gmake go python:build
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|