Review

Misuse Details

Details about the known misuse from the MUBench dataset.

Potential Hits

Findings of the detector that identify an anomaly in the same file and method as the known misuse.

Hit Rank Desc Type
Yes

0

USELESS_STRING: Invocation of toString on BufferedIndexInput.buffer in org.apache.lucene.store.BufferedIndexInput.setBufferSize(int)

DMI_INVOKING_TOSTRING_ON_ARRAY

No

87

RCN: Redundant nullcheck of org.apache.lucene.store.BufferedIndexInput.buffer, which is known to be non-null in org.apache.lucene.store.BufferedIndexInput.setBufferSize(int)

RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE