"Method '...' is too complex to analyze by data flow algorithm"


I just noticed this warning, signaled by a wavy grey underscore on the name of the method in question. The extended description reads:

"This inspection reports those conditions in the specified inspection scope that are always true or false, as well as points out where a RuntimeException may be thrown, based on data flow analysis of the code."

The method in question is not particularly complex:

So what's the deal with this? Which inspection is creating it? What's too complex about that code?

I'm running EA 7312 under 1.6.0_02 on Linux.

Randal Schulz


Please sign in to leave a comment.