I think that if you need to come up with some kind of "measure" to check if the class is checked, you are already fscked. You should be able to say just by looking at this: can you write an independent program that refers only to this class and makes sure that it works?
If the class is too large, so you cannot be sure just by looking at it ... most likely it is not being tested. People who don’t know how to make small, different interfaces generally don’t know how to adhere to any other principle.
In the end, however, in order to find out if a class is checked, you need to try to put it in a harness. If you need to do half of your program to do this, try refactoring. If you find that you can’t even perform the most basic refactoring without rewriting the entire program, analyze the costs of this.
Crazy eddie
source share