textproc/loccount 2.16p0 OpenBSD
count lines of codes in many languages
- System
- OpenBSD
- Repository
- OpenBSD ports
- Maintainer
- The OpenBSD ports mailing-list <[email protected]>
- Last update
- Commit
4d0e9d86c1- Categories
- textproc, lang/python
Description
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.
In the other systems
| System | Port | Version |
|---|---|---|
| OpenBSD | textproc/loccount | 2.16p0 |
| FreeBSD | devel/loccount | 2.25_1 |
| DragonFly | devel/loccount | 2.16_7 |
Install
Binary package:
pkg_add loccount
From the ports tree:
cd /usr/ports/textproc/loccount && make install
Dependencies
Build dependencies 4
No port depends on this one.