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
commit9bd725e2179e0bd15d3eea59943348d279a4d326 (patch)
tree7ac7d4baf911d82f096ca87cae56af3adf4b3b56
parente0114139a2a76709aa77a0ea0194bb9f20edf921 (diff)
downloadpkgsrc-9bd725e2179e0bd15d3eea59943348d279a4d326.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]