Whilst looking around for tools to compute complexity metrics over a large body of source code, I found the following:

  • pmccabe for C/C++. Console based. Useful tool - I've ran it over a CD full of source code and aggregated the results without any trouble.
  • Eclipse Metrics Plugin: I've spent a little less time with this tool, but it supports java and can make pretty graphs out-of-the-box.