--
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+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jacoco/75f55ae9-9f24-4261-93bc-54c2e1c01367n%40googlegroups.com.
You received this message because you are subscribed to a topic in the Google Groups "JaCoCo and EclEmma Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jacoco/dXbkWvvKj5Q/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jacoco+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jacoco/3BBA4FEC-403A-46F2-BE9E-2F46E3C356CE%40mountainminds.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jacoco/CAHNbw8nSqxaAxyKRzP0Oa01mKD0awZN36ReBmgiPucQToVRqiQ%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jacoco/AB47E08D-DE4D-4C16-8CB2-AA12DA0EF0AE%40mountainminds.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jacoco/CAHNbw8kUx76m7Vr%2BbwMx2C%2B9SPbc-At91KOGAARm8MMwkK6NVQ%40mail.gmail.com.
Hi Svante,
regarding the second part of your email: This is referred to as “incremental code coverage”, there was research on this based on JaCoCo/EclEmma (see https://www.cs.ubc.ca/tr/2008/tr-2008-14).
I think you’re scenario is supported using the JaCoCo API. Here are the the steps:1) Collect execution data for loading plain “Hello World” (exec1)2) Collect execution data for loading bold “Hello World” (exec2)3) Subtract exec1 from exec2 (see substract flag in https://www.jacoco.org/jacoco/trunk/doc/api/org/jacoco/core/data/ExecutionData.html#merge(org.jacoco.core.data.ExecutionData,%20boolean) )4) Generate Coverage report with exec data from step 3)
This report should only show code which was executed in addition to render the bold text.
To view this discussion on the web visit https://groups.google.com/d/msgid/jacoco/41C398C6-FCF9-45E3-8C3D-914036AFDAED%40mountainminds.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jacoco/CAHNbw8nZWceHp44WwKK817LN%2B1-U7vNOOzmnFHLqG69S%2B5Jnrw%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jacoco/41C398C6-FCF9-45E3-8C3D-914036AFDAED%40mountainminds.com.
Is anyone aware of existing research in this area? I have only skimmed the research papers your project has listed: https://www.jacoco.org/research/index.html
To view this discussion on the web visit https://groups.google.com/d/msgid/jacoco/CAHNbw8mQ1X1%3DYB0vzLo242%3Db74LNOYk5unZXCRoqCf6i0p8eCA%40mail.gmail.com.
Am 05.12.2021 um 15:55 schrieb Svante Schubert <svante....@gmail.com>:Dear Ulrich,Thank you for sharing the interesting details of your project on PR Coverage Diff.Your project shares a few ideas with what we are doing currently.Aside from me, there is Thorsten and Linus Behrens working on the PrototypeFund project Cover-Rest we are sponsored till March.My part of Cover-Rest is the Java part and I would like to add the new functionality to the ODFDOM project I work on, while Linus and Thorsten are focusing on LibreOffice (C++ & Python).As we all work with/on open-source perhaps we should be able to find some synergies and collaborate on our mutual efforts.Would in any case be awesome to have our ideas challenged & discussed - even if outright collaboration is not yet there - always good to challenge his own view by some tough & honest reviews!From a bird's eye view, it seems to us that all involved projects require syntax: Not only to interchange data in an easy interoperable way among modules (& even across different coverage tools) but also to be able to archive interoperable data!In regard to the interchange/archive format decision for coverage semantic, We don't feel we've got the full picture yet, but if we would have to make a design decision today, we would likely choose the Cobertura XML as the common denominator between various coverage tools. Yes, Cobertura is likely a dead project (over a year no commit with 200 issues), but there is this python transformation cover2cover from JaCoCo XML to Cobertura XML (last update 5 years ago) but no transformation the other way around and the leading Python and C++ coverage tools (GCOV/LCOV of C++ & coverage.py Python) are compatible to Cobertura XML (no idea why likely it was added when JaCoCo did not exist and Cobertura was striving). But in fact, the syntax does not really matter as long there is no significant semantic super/subset (we're not aware of any), which we have not found out, yet. We have not stumbled across any grammar and detailed descriptions of either format to compare them - did anyone on this list? Or any references to the current state of coverage tooling and its history?If you take a look at the above-mentioned cover2cover transformation they explained (5 years) ago some superior GUI features of the Jenkins Cobertura plugin over the Jenkins JaCoCo plugin:
- Jenkins JaCoCo Plugin: https://wiki.jenkins-ci.org/display/JENKINS/JaCoCo+Plugin
- Jenkins Cobertura Plugin: https://wiki.jenkins-ci.org/display/JENKINS/Cobertura+Plugin
^^Is this the plugin you are working on, Ulrich? Do you agree with his observations and/or are they still up-to-date?
Again, I really do not understand why both plugins don't work together, like using cover2cover to abstract from the Syntax and share the same GUI, likely it might be this "Life of Brian" of "People's Front of Judea" and "Judean People's Front" thing or in any case it is still possible - as both are using the same open-source MIT license!Last but not least, Thorsten and I have discussed how to wrap Git's complexity by an interoperable syntax. Naturally, the long existent syntax for text changes, the patch as DIFF format and the syntax for "diff among patches" the interdiff format might be some good start. What do you and the others think?
Ulrich, if you (or anyone interested in the topic) like to connect just drop me a line directly (e.g. via LinkedIn)!
To view this discussion on the web visit https://groups.google.com/d/msgid/jacoco/337ff452-0a0f-439f-bf57-6de28ce966f8n%40googlegroups.com.