pmccabe
McCabe-style function complexity and line counting for C and C++
News
Recent pmccabe happenings
Overview
What pmccabe can do
Documentation
Only reference pages for now
Sample Output
Example from running pmccabe, no other samples here
Copyright/License
GNU General Public License
Download
Download and view source code and binaries
Contribute
How developers, testers, and documenters can improve pmccabe
Contact/Support
Join the mailing list or contact the author.
Download

For Debian Linux Users

pmccabe is maintained as a standard Debian package and is currently available in the unstable (or 'sid') Debian distribution. Source and binaries for many platforms are just an apt-get away through the world-wide Debian mirror system. If there's demand, I'll build for Debian testing and/or stable and host those .debs here.

Pre-built Binaries

Check here for binaries for your platform. Debian packages are there too but use the standard Debian distribution system if you can.

Source Code

To build and install pmccabe, download sources (see below) it and type 'make install'. You might want to start with 'make -n install' to see where it wants to install things.
  • CVS - Latest sources are available from CVS on cvs.parisc-linux.org. Assuming you already know how to use CVS, use the following commands to get started:
     cvs -d :pserver:anonymous@cvs.parisc-linux.org:/var/cvs login
     .... press <return> for the password ...
     cvs -d :pserver:anonymous@cvs.parisc-linux.org:/var/cvs co pmccabe
    		
    CVS tags denote released versions in case you don't want the latest.

  • tarballs - Source tarballs produced from CVS are avalable at cvs.parisc-linux.org/download/
  • browse - You can browse the sources in the CVS archive using a simplified CVS web viewer.

Windows Binaries

pmccabe itself (but not the other pieces) has been compiled for Windows but not recently. In the source tarball is a ".dsp" file which may be a helpful starting point. If you produce Windows binaries, I'd like to make them available here or at least provide a pointer. Contact me.

Other Unix/Linux/*BSD Binaries

Many Unix/Linux/*BSD users may find the source tarball sufficient. Download it and type 'make install'. You might want to start with 'make -n install' to see where it wants to install things.

RedHat Linux users may find an appropriate RPM here. I make them by hand once in a while when I think of it. They're made by using the 'alien' program to transform the Debian package to an RPM. Obviously anyone can download the appropriate Debian package and run alien themselves, which I believe is available on RedHat. If someone makes the appropriate RH packaging files, I'm willing to host them here.

HP-UX users inside HP can use 'ninstall' to install a PA-RISC version of pmccabe from hp-gjd.hp.com, but that version is quite old, and 'ninstall' is moldy technology. It would better if someone would provide at least binary tarballs, and better yet "SD" packages. I'll be happy to host them here together with the SD packaging control files.

I'll be happy to host binary tarballs or "packages" for other OSs, and will host the packaging control files too to keep things happy by the GPL.