./devel/cloc, Count lines of code

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 1.76nb1, Package name: cloc-1.76nb1, Maintainer: pkgsrc-users

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.


Required to run:
[textproc/p5-Regexp-Common] [lang/perl5] [devel/p5-Algorithm-Diff]

Required to build:
[pkgtools/cwrappers]

Master sites:

SHA1: 30a8673e837a940888df4f58dc4f6e8f6c5d0245
RMD160: 75c3117a507c00a92728aef031ce4044e0279fc3
Filesize: 409.842 KB

Version history: (Expand)


CVS history: (Expand)


   2018-08-22 11:48:07 by Thomas Klausner | Files touched by this commit (3558)
Log message:
Recursive bump for perl5-5.28.0
   2018-05-29 04:56:49 by Brian Ginsbach | Files touched by this commit (2) | Package updated
Log message:
Update to 1.76

New Languages:
    o Agda              o AsciiDoc          o BrightScript      o Chapel
    o Cucumber          o Drools            o F# Script         o Fish Shell
    o Gencat NLS        o GraphQL           o HCL               o Idris
    o Lean              o Literate Idris    o Oracle PL/SQL     o PL/M
    o ProGuard          o RAML              o SWIG              o Skylark
    o Smalltalk         o Solidity          o Stata             o TOML

Updates:
    o Performance improvement by using multiple cores for both
      straight counts and --diff via the new --processes option
      added by Sietse Snel, https://github.com/stsnel.
    o Support --git on Windows.
    o Improve identification of Qt Project files (instead of IDL).
    o Fix language determination logic so that languages that map
      to the same file extension and have ties in the number of
      accumulated points always return the same result.
    o Add support for replace_between_regex in --write_lang_def and
      --read_lang_def.
    o Add SUM section to JSON, YAML output with --diff.
    o Make numeric values in JSON output numbers instead of strings.
    o Optionally exclude autogenerated files with new --no-autogen
      (currently only supports the Go language).
    o New option, --git, to allow git commit hashes and branch
      names as inputs (issue 205).
    o Add .asd extension for Lisp.
    o Add .snapshot to the list of excluded directories.
    o New option --no-autogen to ignore files generated
      by code production systems like GNU autoconf.
    o Rename "ASP.Net" to "ASP.NET".
    o Improvements to Specman e parsing (issue 175).
    o Support uppercase CPP extension (issue 177).
    o Support triple extensions.
    o Improve language distinction between C# and Smalltalk (issue 160).
    o Consider Elixir docs as comments.
    o Handle Python docstrings made with single quotes.
    o Replace built-in "is it a file?" and "is it a directory?"
      with native Perl -f and -d operators (these were unreliable
      on older versions of Perl on Windows).
    o Put timeout around Regexp::Common regex evaluation to prevent
      hangs on unbalanced comment markers within huge strings (issue 206).
    o Fix Pascal regex wiht '{' for Perl version >= 5.26 (issue 209)
      and '(*', '*)' comment matching (issue 212).
    o Rename Antlr to ANTLR Grammar.
    o Add .g4 extension fo ANTLR Grammar.
    o Replace soon-to-be deprecated File::Glob::glob() with
      File::Glob::bsd_glob() (issue 214).
    o Revert from charset=iso-8859-1 to charset=utf-8 on undocumented
      --html option.
    o For Assembly, process # comments before C++ comments.

Bug Fixes:
    o Remove temp directory prefix for YAML and JSON output when
      counting git archives with --by-file.
    o Properly handle git files with spaces embedded in the file name.
    o Remove a debug regex inadvertently included in v1.74.
    o Correct handling of remove_between_general and
      remove_between_regex when running with --read-lang-def (issue 166)
    o Fix bug handling balanced parentheses in Forth (issue 183)
    o Force legal output filenames with --count-and-diff and --out
      (issue #220).

(from cloc-1.76/Unix/NEWS)
   2017-07-05 21:22:04 by Sebastian Wiedenroth | Files touched by this commit (2)
Log message:
Fix at least SunOS by not overwriting "install"
   2017-04-23 05:29:00 by Mark Davies | Files touched by this commit (5)
Log message:
Add cloc 1.72

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.