thanks for your answers monks. NYTProf is a nice tool.
But still I agree with you what I need is a static analysis without actually running the code.
I tried B::Xref which caused segfaults only. Since compiler backend seems to be the most promising idea aren't there any other tools around ?