I recently updated XR.Baboon having changed the way coverage was recorded.
Previously the `covem` program would rely on catching method entry events and setting step requests on each line of a method. While this did work is was hugely expensive. Run time was multiplied by a factor of 5-10 times!
I’ve gone back to an earlier idea I attempted but couldn’t get working at first and that was to set a break point on each line of any method we want to cover and record each time it is reached. This is much more efficient and only appears to impact runtime by about a factor of 2!
Read more at github.
If your target system is windows rather than mono (and you have a windows system kicking about) then you might also want to look at OpenCover, a MIT license code coverage tool for c# on windows!