Dear Antoine, JaCoCo already supports method level coverage.
What exactly is the performance problem that requires a different implementation? In general we’re very reluctant to such configuration options as they require different implementations for the whole path: Instrumentation, exec files and analysis. And of course causes more questions by users that get these configuration options wrong... Regards, -marc > On 9. Oct 2021, at 12:33, 'Antoine Baudoux' via JaCoCo and EclEmma Users > <jacoco@googlegroups.com> wrote: > > Hello, > > Would you welcome a contribution to add method-level coverage? > Method-level coverage (as opposed to line-level, the current default mode for > JaCoCo) can be useful to track dead code, i.e. methods that never get called. > > It has lower overhead and therefore could be enabled continuously for code > running in production, allowing for dead code detection and removal. > > If you think that it could be added to the JaCoCo codebase I would be happy > to contribute. Please let me know your thoughts. > > Kind regards, > > Antoine > > > -- > You received this message because you are subscribed to the Google Groups > "JaCoCo and EclEmma Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to jacoco+unsubscr...@googlegroups.com > <mailto:jacoco+unsubscr...@googlegroups.com>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jacoco/e6da49e8-56a9-4c14-9e9d-fdea4c152349n%40googlegroups.com > > <https://groups.google.com/d/msgid/jacoco/e6da49e8-56a9-4c14-9e9d-fdea4c152349n%40googlegroups.com?utm_medium=email&utm_source=footer>. -- You received this message because you are subscribed to the Google Groups "JaCoCo and EclEmma Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jacoco+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jacoco/11BDA5D5-887C-4937-BADE-3EE7DF9D84F9%40mountainminds.com.