[ https://issues.apache.org/jira/browse/LUCENE-8170?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16360051#comment-16360051 ]
ASF subversion and git services commented on LUCENE-8170: --------------------------------------------------------- Commit 00fe0b06fcc0b2c5339ebb4b8e5dac8483cd7ca4 in lucene-solr's branch refs/heads/branch_7x from [~thetaphi] [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=00fe0b0 ] LUCENE-8170: Improve OpenClover reports (separate test from production code); enable coverage reports inside test-frameworks > Improve OpenClover reports (separate test from production code) > --------------------------------------------------------------- > > Key: LUCENE-8170 > URL: https://issues.apache.org/jira/browse/LUCENE-8170 > Project: Lucene - Core > Issue Type: Improvement > Components: general/test > Reporter: Uwe Schindler > Assignee: Uwe Schindler > Priority: Major > Fix For: master (8.0), 7.3 > > Attachments: LUCENE-8170.patch > > > Currently the Clover reports mix production and test code. This is due to a > misunderstanding (by bad documentation). The testsources in clover-setup are > treated different than at reporting time. In clover setup they are only used > to figure out where tests could possibly be, but final decision is done on > the file name and annotations. All code inside testsources of cloversetup > thats not a real test is treated as application class. So we see our > test-framework classes and utility classes between our production code in the > report. > To fix this, the clover-report task must get a fileset (unfortunately, with > same name like clover-setup to make it more confusing) that selects all java > files which are part of test code (testcases and utility code). > Once I figured this out this was easy to fix! -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org