[ 
https://issues.apache.org/jira/browse/PHOENIX-5842?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17083702#comment-17083702
 ] 

Sandeep Guggilam commented on PHOENIX-5842:
-------------------------------------------

I was taking a look at Jacoco tool for getting the code coverage report which 
seems to be used for HBase as well. It has a maven plugin to generate the code 
coverage report. It also has good coverage provided at instruction , branch , 
method, lines and class level. 

We can also use the jacoco jenkins plugin to use the generated report from the 
build and display the code coverage statistics as part of the Hadoop QA run. We 
can also set thresholds to mark the build as failed if the delta code coverage 
with the new patch decreases beyond the set threshold.

 

 [~larsh] [~apurtell]  [~gjacoby] Can you please provide your thoughts or any 
alternatives on this ?

 

FYI [~ckulkarni]

 

> Code Coverage tool for Phoenix
> ------------------------------
>
>                 Key: PHOENIX-5842
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-5842
>             Project: Phoenix
>          Issue Type: Improvement
>            Reporter: Sandeep Guggilam
>            Priority: Major
>
> Currently we don't have any code coverage tool for Phoenix. This is required 
> for us to measure the test coverage and helps us in improving the test suite 
> further till we reach may be 80% coverage
> The test coverage results can also be integrated into the Hadoop QA run of 
> the precommit build such that the reviewers could take a look at the report 
> and see if the added code doesn't have enough coverage



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to