I will start my University-thesis in December. My topic will be to raise the test-coverage in a firm, which has a Spring Online-Shop. While I do that I will work out some kind of rules, what good Unit-Tests should be. And with that of course, how to refactor a class, or how to write classes, that are easy testable.
Now I thought about prioritizing the classes, the project currently has, and without Unit-Tests. I thought about doing some kind of riskanalysis, but I don't know if I can apply that on Java-classes.
The thing is, that when I have prioritized the classes, I'd like to demonstrate my rules on maybe the five most important classes.
The thing with riskanalysis is, that I guess that this would be more suitable for use-cases.