summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoragc <agc>2005-02-24 11:20:51 +0000
committeragc <agc>2005-02-24 11:20:51 +0000
commit9b530764e2762643509ec74305a3d0d656d8608f (patch)
tree7ac7d4baf911d82f096ca87cae56af3adf4b3b56
parent4d3ea8d30822402031ccc3fab093a4a9b7b463f3 (diff)
downloadpkgsrc-9b530764e2762643509ec74305a3d0d656d8608f.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]