Relative Content

Tag Archive for javaunit-testing

Measure of interconnectedness of a class or method

A decade ago I saw a really interesting talk by Tim Berglund where he talked about the interconnectedness of a class as a possible measure of how important it is in the system and as possibly a good place to start in adding tests. As in, if class A is used by tens of different other classes, it might make sense to make sure that its logic has good branch coverage in tests, for instance.