Original scalac scoverage plugin supports excluding code from instrumentation and reports https://github.com/scoverage/scalac-scoverage-plugin#excluding-code-from-coverage-stats Scala 3 can support it as well, to make transition from Scala 2 easier. Also, any hints for volunteers on where to start are highly appreciated :) Thank you!