I have upwardes of 200 classes in a Maven java application and I use Jenkin to manage the test and build. Jenkins continued to report a nice high coverage figure but when I dig into the report I notioced some classed hadf not been analysed.
These classes all took data from a source, did some work created a message and then added it to a database table via a sertvice and JPA repository. I am testing using a mixture of mocking and argument capture.
I found that it I added a "simple method" to the class (add two numbers and return the sum) then PIT analysed and reported on all the methods in the class.
I tried with and without an interface, in different folder and made minor changes to the methods and the mocks. Switching on verbose loggion in PIT did not help.