One tool I really appreciate when analyzing source code for software is Sourcemonitor, but unfortunately it is only available on windows. Having searched around for alternatives on my mac, it seems that cccc is a tool that fits the bill.
I installed it via macports but it terminates when I run it. This is the error I get:
Parsing libc++abi.dylib: terminate called throwing an exception Abort trap: 6
Does anyone know of a way to fix this error?