Port details on branch 2022Q2 |
- sloccount Counts physical Source Lines of Code (SLOC)
- 2.26_2 misc =4 2.26_2Version of this port present on the latest quarterly branch.
- Maintainer: freaky@aagh.net
- Port Added: 2001-05-20 10:16:02
- Last Update: 2024-03-18 12:28:12
- Commit Hash: 5d5c60d
- People watching this port, also watch:: expat, popt, zip, pcre, aspell
- License: not specified in port
- WWW:
- https://www.dwheeler.com/sloccount/
- Description:
- SLOCCount can count physical SLOC for a wide number of languages. It can
gracefully handle awkward situations in many languages, for example, it can
determine the syntax used in different assembly language files and adjust
appropriately, it knows about Python's use of string constants as comments,
and it can handle various Perl oddities (e.g., perlpods, here documents, and
Perl's __END__ marker). It even has a "generic" SLOC counter that you may be
able to use count the SLOC of other languages (depending on the language's
syntax).
SLOCCount can also take a large list of files and automatically categorize
them using a number of different heuristics. The heuristics automatically
determine if a file is a source code file or not, and if so, which language
it's written in. It will even examine file headers to attempt to accurately
determine the file's true type. As a result, you can analyze large systems
completely automatically.
Finally, SLOCCount has some report-generating tools to collect the data
generated, and then present it in several different formats and sorted
different ways. The report-generating tool can also generate simple tab-
separated files so data can be passed on to other analysis tools (such as
spreadsheets and database systems).
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- sloccount>0:misc/sloccount
- To install the port:
- cd /usr/ports/misc/sloccount/ && make install clean
- To add the package, run one of these commands:
- pkg install misc/sloccount
- pkg install sloccount
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: sloccount
- Flavors: there is no flavor information for this port.
- distinfo:
- SHA256 (sloccount-2.26.tar.gz) = fa7fa2bbf2f627dd2d0fdb958bd8ec4527231254c120a8b4322405d8a4e3d12b
SIZE (sloccount-2.26.tar.gz) = 190948
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:
-
- perl5>=5.36<5.37 : lang/perl5.36
- Runtime dependencies:
-
- perl5>=5.36<5.37 : lang/perl5.36
- There are no ports dependent upon this port
Configuration Options:
- ===> The following configuration options are available for sloccount-2.26_2:
DOCS=on: Build and/or install documentation
===> Use 'make config' to modify these settings
- Options name:
- misc_sloccount
- USES:
- perl5 shebangfix
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|