I never used it, but I found this rather interesting and promissing:
http://erik.doernenburg.com/2008/11/how-toxic-is-your-code/
And I used this one and found it extremely helpful, because the nice visualization of dependencies
http://www.headwaysoftware.com/products/structure101/index.php