McCabe Cycles In Flutter

One of the challenges of designing packages or libraries is in how does one tell when you need to break up the api into more modules. One could compute the McCabe cycles by-hand but than you would have to remember all that math.

I am going to show you how to use a dart plugin to compute the McCabe metric so that you can see when you reach the McCabe 10 cycle metric and know that you should break up your api into more…