From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,db904e73a7edf8c4,start X-Google-Attributes: gid103376,public From: dweller@news.imagin.net (David Weller) Subject: Free Ada95 metrics parser (repost from other newsgroup) Date: 1997/10/05 Message-ID: <618rcf$k7e$1@prime.imagin.net>#1/1 X-Deja-AN: 278071967 Organization: ImagiNet Communications Ltd, Arlington, Texas Newsgroups: comp.lang.ada Date: 1997-10-05T00:00:00+00:00 List-Id: Subject: New version of CCCC (free software metric analysis tool) Date: Sun, 05 Oct 1997 22:47:10 +0800 Organization: Edith Cowan University Lines: 71 Message-ID: <3437A86E.66B38D63@cowan.edu.au> NNTP-Posting-Host: stamp.cowan.edu.au This notice is to announce the release of version 2.1.2 of CCCC. CCCC is a completely free tool for analysis of source code in the languages C, C++, Java, Ada-83 and Ada-95. The tool analyses a body of source code and generates HTML reports reporting on numeric attributes of the content of the source code. The following features have been added since version 2.1.1: detailed tables relating to individual modules are in separate HTML reports, with a summary report for the overall project (this feature was added as the single monolithic report generated by previous versions was found to consume excessive resources when loaded by standard web browsers) added support for four metrics from the metrics suite for object oriented design proposed by Chidamber and Kemerer added some explanatory material on metrics to the summary report The major new feature added in version 2.1.1 was support for Ada and Java. The reports generated include colour highlighting to attract attention to figures which exceed user configurable thresholds. It also includes HTML links leading from the detailed tabulations of member functions and relationships of each module to the source files where those functions and relationships are declared and/or defined. The metrics reported fall into three groups: 1) classical procedural metrics: lines of code, cyclomatic complexity, and ratios of these two measures to lines of comment, summed over the project as a whole, over each module and over each function 2) Henry and Kafura's information flow metrics: fan-in, fan-out and the information flow measure IF4, summed over the project as a whole and over each module 3) Chidamber and Kemerer's metrics for object oriented design: weighted methods per class, depth of inheritance tree, number of children, coupling between objects. [C&K propose two other metrics, response for class and lack of cohesion of methods, which the present version of CCCC is not able to collect]. CCCC is built using the PCCTS parser generator, and is available from the following locations: Source only: (about 80k) ftp://www.fste.ac.cowan.edu.au/pub/tlittlef/cccc-2.1.2-src.tar.gz Source + precompiled binary: (about 400k) ftp://www.fste.ac.cowan.edu.au/pub/tlittlef/cccc-2.1.2-linux.tar.gz ftp://www.fste.ac.cowan.edu.au/pub/tlittlef/cccc-2.1.2-dos.zip CCCC is completely free, but I would value feedback from users (and non-users), as the program has been developed as part of my MSc research project. -- Tim Littlefair MITS(WA) / Edith Cowan University Please check out the following location home page for my MSc project on Software Metrics for C++ development: http://www.fste.ac.cowan.edu.au/~tlittlef