This project has moved. For the latest updates, please go here.

Function is 100% convered, but your report still shows incompleted lines in source code view

May 23, 2014 at 2:57 PM
I ran OpenCover + Report Generator to check coverage of some of my codes. For one class, the report summary metric section shows 100% covered.

Image

But in the source code line coverage area, tool still marks many lines not covered.

Image
Coordinator
May 23, 2014 at 8:32 PM
Thanks for your message.

I tried to reproduce with a similar code snippet, but for me everything works.
Could you please share the OpenCover report with me (I don't need the source code of your project)?
If this is not possible, could you create a minimum code sample which shows the same problem?

Which version of OpenCover and ReportGenerator are you using?
May 26, 2014 at 1:09 PM
Hi Daniel,

Do you just need that .trx file or .xml file (with <CoverageSession xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> ..... </CoverageSession>)? How do I send the report to you? I don't want the information to be publicly visible here.

OpenCover version is 4.5.2501.6
Report Generator version is 1.9.1
Coordinator
May 26, 2014 at 1:30 PM
Edited May 26, 2014 at 2:02 PM
Thanks for your reply.
I need the XML file
You could send me an email.