CCCC

Background

CCCC is a command line tool which can be run over code written in C, C++, Java which generates a set of HTML pages reporting a number of metrics of the source code including counts of

  • lines of code

  • comment lines

  • McCabe’s cyclomatic complexity.

The tool also generates reports related to the information flow metrics proposed by Henry and Kafura and the metrics of object oriented design proposed by Chidamber and Kemerer.

Initial motivations

I started this project as part of the research project for the Master of Applied Science degree at Edit Cowan University. The research topic was ‘the use of software code metrics in an industrial software development setting’. Most of the work on the project was done in the years 1994-1997.

Ultimately, I went on to extend the MAppSc course into a PhD, which I completed in 2001. My thesis is available online.

Current Status

As noted above, most of the work on this project was done during the period 1994-1997. I did limited updates (mainly related to packaging and support of updated compilers) between then and 2005, at which time I declared the project dormant.

I am grateful to Steve Arnold, who has been kind enough to take up maintenance of the program and continues to work on it actively. A link to his Github repository appears in the table below.

Code Repositories

Component/Version

Hosting URL

My original project

https://sourceforge.net/projects/cccc/

Steve Arnold’s

maintenance fork

https://github.com/sarnold/cccc