When using the McCabe formula
M = E-N + 2C
does it take into consideration if data is restricted to flowing in only one direction? It seems graphs show data flowing in many directions, regardless if that is actually what happens or not.
A codebase that has one direction of data flow vs another (very similar) code base in which data can go back and forth will be less complex.
This article about Facebook, MVC and Flux is a great example of what I'm asking about: http://www.infoq.com/news/2014/05/facebook-mvc-flux. They initially had data going back forth with MVC (from view to model and vice versa). Once that switched out MVC for Flux, data flowed in one direction.