Data flow analysis

Data flow analysis is always being improved to show us potential errors in our logic.

IntelliJ IDEA's data flow analysis can locate places where we could have errors in our code. For example, if we use a negative number for initialising an array, or checking for negative values where the value couldn't be negative.