[Cdash] Emma coverage

Nils Gladitz nilsgladitz at gmail.com
Fri Apr 10 16:02:31 UTC 2015


On 10.04.2015 17:55, Zack Galbreath wrote:
> On Fri, Apr 10, 2015 at 11:37 AM, Nils Gladitz <nilsgladitz at gmail.com 
> <mailto:nilsgladitz at gmail.com>> wrote:
>
>>     The .json files should contain the package of the class.  This is
>>     what CDash uses to report the coverage, as opposed to the
>>     per-directory view that it uses for gcov.
>
>     Doesn't that break though if there are two classes with the same
>     name in two distinct packages?
>
>
>
> After looking more closely I think you're right.  We should probably 
> incorporate the package name into $path for each file:
>
> https://github.com/Kitware/CDash/blob/master/xml_handlers/JavaJSONTar_handler.php#L164-L167

I mean wouldn't emma currently try to generate the same .json file for 
both classes?
Since even though they are in different packages they would currently 
have the same <Class>.java.json filename written into the same output 
directory.

Hence one overwriting the other and the former being lost?

Nils
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cdash/attachments/20150410/051c3d7c/attachment-0001.htm>


More information about the CDash mailing list