This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 163669 - [67cat] Do not count "assert" statements towards coverage
Summary: [67cat] Do not count "assert" statements towards coverage
Status: RESOLVED WONTFIX
Alias: None
Product: contrib
Classification: Unclassified
Component: Codecoverage (show other bugs)
Version: 6.x
Hardware: All All
: P4 blocker (vote)
Assignee: Martin Schovanek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-25 19:15 UTC by theshadow27
Modified: 2013-04-16 00:48 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description theshadow27 2009-04-25 19:15:04 UTC
Currently, "assert" statements are counted like "if" statements, so they get "partial coverage" status. The documentation object with an assert statement is 
never meant to be executed, so it's questionable if the "assert" statement should be counted at all. 

This is a P4, because I don't think it's a Netbeans enhancement, it should probably be taken up with the Emma folks. But it's getting filed anyway.
Comment 1 theshadow27 2013-04-16 00:48:58 UTC
The 6.7 beta code coverage plugin is no longer being maintained