2 Replies Last post: Oct 7, 2013 8:17 PM by Fedor Buyvol-Kot  
Jim Pattison Newbie 2 posts since
Oct 7, 2013
Currently Being Moderated

Oct 7, 2013 5:49 PM

Closing braces sometimes not being included in code coverage

Hi all,

 

I am experiencing an issue with dotCover where, in some circumstances, the closing brace of a method/constructor is highlighted as not being covered...

 

Has anyone else witnessed this, and if so, what's the solution?  We have a 100% coverage on our code and situations like this are making that rather impossible

 

nCover.png

 

Thanks in advance,

Jim

Fedor Buyvol-Kot JetBrains 86 posts since
Dec 9, 2011
Currently Being Moderated
Oct 7, 2013 8:17 PM in response to: Jim Pattison
Re: Closing braces sometimes not being included in code coverage
Hi Jim,

Unfortunately, there's a known issue with closing braces in dotCover: dotCover considers as uncovered closing braces in methods that always return with exception.
We have a corresponding issue in our tracker: http://youtrack.jetbrains.com/issue/DCVR-4846. You are welcome to track its status, vote and comment.
Sorry for the inconvenience. 

Regards.

More Like This

  • Retrieving data ...