CCCC - C and C++ Code Counter

A free software tool for measurement of source code related metrics by Tim Littlefair

The CCCC tool was developed as a testing ground for a number of ideas related to software metrics in an MSc project.  The research project is described at 

My research project is now (hopefully) coming to an end. The descriptive page will remain on the net, and some material (e.g. the finished thesis) may be added to it, but when my registration as a student expires, soon afterward I would expect to lose the ability to change material on this site, hence the effort to get this one up and running as a forum to cover the onward development of the CCCC tool (for as long as there is any). Many thanks to SourceForge for providing this forum to me at no cost for this purpose. Check out if you are interested in their policy of providing free web hosting for open source projects.

In addition to hosting the page you are reading at present, SourceForge support a range of services for their projects. is their standard summary page related to the CCCC project, which provides access to all of these services. In the future I hope to use SourceForge to host anonymous CVS access. For the present, I have set up mailing lists and bug tracking and http download access to the most recent beta release cccc-3pre48.tar.gz.

I have set up a number of mailing lists related to CCCC on the SourceForge site: there is one for announcements , one for discussions about the use of present versions of CCCC , and another for discussions relating to the future development process (including proposals for new features or changes to old ones).

The interface to search or add to the bug tracking database for CCCC is available via .

The last version of CCCC which I released was 2.1.4, which I put out some time in September 1997. Between then and December 1998, I tried to concentrate on writing up the project thesis. Since December 1998 I have been working on a new release of CCCC, which I plan to designate 3.0. The new version fixes a number of bugs reported in 2.1.4, but also has a lot of new code, and will presumably introduce many new bugs.

I believe that the beta version 3.pre48 is superior in stability, accuracy and usability to version 2.1.4. It is similar in spirit, although I have introduced an add-in to provide integration with the Microsoft Visual Studio IDE.

The main features of CCCC 3.0 which are working as of today include:

The things I need to do to go from pre-release to release include (suggestions are welcome): It shouldn't take me too long, except for the fact that I have a day job and a family.  Anyone who is interested in helping, or who wishes to send in comments is welcome to email me.

Finally, I would just like to ask anyone who finds CCCC useful to consider volunteering to assist in the experiment which forms the main outstanding component of my PhD study. this link describes the experiment and links to the online form to volunteer to participate.

Hosted by
SourceForge Logo