How could I analyze my package code to find rarely used or unused functions?

I thought that maybe with a tool similar to JET it could be possible to find out which of my packages functions are called by how many other functions, so that I get starting points for refactoring. Is there anything like that?