Bug 60225

Summary: Coverage output is missing some types and methods
Product: [Mono] Runtime Reporter: Marek Safar <masafa>
Component: ProfilerAssignee: Alex Rønne Petersen <alexrp>
Status: RESOLVED FIXED    
Severity: normal CC: alexrp, ludovic, mono-bugs+mono, mono-bugs+runtime
Priority: Normal    
Version: unspecified   
Target Milestone: Future Cycle (TBD)   
Hardware: PC   
OS: All   
Tags: bugpool-archive Is this bug a regression?: ---
Last known good build:

Description Marek Safar 2017-10-17 09:51:59 UTC
When using code coverage with mscorlib

in `mcs/class/corlib` do `COVERAGE=1 make run-test`

the generated .xml output file is missing some entries

For example only 

System.Tuple 	 
System.Tuple`2
System.Tuple`3 	 
System.Tuple`8

remaining tuples are not used and are missing in the output
Comment 1 Ludovic Henry 2017-11-08 22:21:28 UTC
It's because we dump the uncovered methods on the covered classes, not the uncovered classes (https://github.com/mono/mono/blob/ceec5e9786dc9866409e4dd3523d4e1eb3f5af49/mono/profiler/coverage.c#L380)
Comment 2 Alex Rønne Petersen 2018-01-17 09:05:49 UTC
https://github.com/mono/mono/pull/6544