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

Manukranth Kolloju commented on HBASE-8808:
-------------------------------------------

Seems like we have some Classes and functions which have no lines touched in 
the unit tests like LruHashMap, CompactionTool, DeleteTracker.DeleteCompare, 
StoreScanner.StoreScannerCompactionRace etc. One of the problems with multi 
module mvn projects is that its hard to get cross project code coverage from 
jacoco. But, it also makes sense to have modules be self sufficient for unit 
testing purposes. The tools seems to be doing a good job till now. Should we 
also hook this up into the Hudson qa bot and report coverage reports so that it 
encourages people to write more tests.

> Use Jacoco to generate Unit Test coverage reports
> -------------------------------------------------
>
>                 Key: HBASE-8808
>                 URL: https://issues.apache.org/jira/browse/HBASE-8808
>             Project: HBase
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 0.89-fb
>            Reporter: Manukranth Kolloju
>            Assignee: Manukranth Kolloju
>            Priority: Trivial
>             Fix For: 2.0.0, 0.98.7, 0.99.1
>
>         Attachments: 0001-Including-Jacoco-plugin-to-get-test-coverage.patch, 
> 0001-Including-Jacoco-plugin-to-get-test-coverage.patch, 
> 0001-Including-Jacoco-plugin-to-get-test-coverage.patch, Screen Shot 
> 2013-06-25 at 11.35.30 AM.png, hbase-jacoco-0.98.7RC1.ods, 
> hbase-jacoco-0.98.7RC1.xlsx
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> Enabling the code coverage tool jacoco in maven



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to