pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/doc Initial import of pmccabe-2.2-3 into the Packages ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1e3010532be0
branches:  trunk
changeset: 489621:1e3010532be0
user:      agc <agc%pkgsrc.org@localhost>
date:      Thu Feb 24 11:20:51 2005 +0000

description:
Initial import of pmccabe-2.2-3 into the Packages Collection, suggested
by Mike Cheponis.

        pmccabe processes the named files, or standard input if none
        are named, calculating statistics including McCabe cyclomatic
        complexity for each function found.  The files are expected to
        be either C (ANSI or K&R) or C++.

        pmccabe ignores all cpp preprocessor directives - calculating
        the complexity of the appearance of the code rather than the
        complexity after the preprocessor mangles the code.  This is
        especially important since simple things like getchar(3)
        expand into macros which increase complexity.

diffstat:

 doc/CHANGES |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (14 lines):

diff -r 4a588ab88a19 -r 1e3010532be0 doc/CHANGES
--- a/doc/CHANGES       Thu Feb 24 11:19:58 2005 +0000
+++ b/doc/CHANGES       Thu Feb 24 11:20:51 2005 +0000
@@ -1,4 +1,4 @@
-$NetBSD: CHANGES,v 1.9284 2005/02/24 09:56:38 adam Exp $
+$NetBSD: CHANGES,v 1.9285 2005/02/24 11:20:51 agc Exp $
 
 Changes to the packages collection and infrastructure in 2005:
 
@@ -1060,3 +1060,4 @@
        Updated glut to 6.2.1nb2 [veego 2005-02-24]
        Updated abiword to 2.2.4 [adam 2005-02-24]
        Updated abiword-plugins to 2.2.4 [adam 2005-02-24]
+       Added pmccabe-2.2 [agc 2005-02-24]



Home | Main Index | Thread Index | Old Index