summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>2005-02-24 11:20:51 +0000
committeragc <agc@pkgsrc.org>2005-02-24 11:20:51 +0000
commit4ec4084936c39a0d5df7dd289cbbfd6e02f8d08d (patch)
tree7ac7d4baf911d82f096ca87cae56af3adf4b3b56
parent7bf97f06b3bb2a61dc150bcc23c7952d2dd7f8a0 (diff)
downloadpkgsrc-4ec4084936c39a0d5df7dd289cbbfd6e02f8d08d.tar.gz
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.
-rw-r--r--doc/CHANGES3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/CHANGES b/doc/CHANGES
index 4d64fa8d15d..91dcca99472 100644
--- a/doc/CHANGES
+++ b/doc/CHANGES
@@ -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 @@ Changes to the packages collection and infrastructure in 2005:
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]