Nope. To do this reliably, you will have to solve the stop problem.
VS 2010, both initially and with plug-ins, offers indicators such as cyclic complexity. It will not be displayed directly on performance, but it will show you dubious code.
http://en.wikipedia.org/wiki/Cyclomatic_complexity
source
share