From: "Joao C. Ferreira" <[EMAIL PROTECTED]>
Subject: Using CVS for code statistics
Date: Tue, 15 Feb 2000 07:29:12 +0900 (JST)

  | I'd like to know if there's a way of using CVS to collect statistics about
  | lines of code.
  | Basically, I'd like to know how to obtain the count of inserted lines,
  | changed lines and deleted lines.

`cvs log' tells you count of inserted and deleted lines.
these counts include count of chagned lines.

Or, you can count outputs of `cvs diff -kk -c'.
    "^---" matches additional info for patch(1).
    "^+" matches inserted line.
    "^-" matches deleted line.
    "^!" matches modified line.

--
KOIE Hidetaka <[EMAIL PROTECTED]>

Reply via email to