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

Michael McCandless commented on LUCENE-6010:
--------------------------------------------

+1

bq.  It's actually not easy because often the code looks used from Clover since 
there is a unit test for it although nothing else uses it in the code base 
(like it was the case for OpenBitSet).

I wonder if Clover (or others) would allow you to filter based on the callee?  
So that any code that's only directly called from src/test/* doesn't "count"...


> Remove dead code
> ----------------
>
>                 Key: LUCENE-6010
>                 URL: https://issues.apache.org/jira/browse/LUCENE-6010
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Adrien Grand
>            Assignee: Adrien Grand
>            Priority: Minor
>             Fix For: 5.0
>
>         Attachments: LUCENE-6010.patch, LUCENE-6010.patch
>
>
> For instance OpenBitSet is not used anymore in our code. Let's take advantage 
> of the major version bump to remove unused code.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to