Package net.sourceforge.pmd.cpd
Class CPDReport
- java.lang.Object
-
- net.sourceforge.pmd.cpd.CPDReport
-
public class CPDReport extends Object
- Since:
- 6.48.0
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CPDReport
filterMatches(Predicate<Match> filter)
Creates a new CPD report taking all the information from this report, but filtering the matches.List<Match>
getMatches()
Map<String,Integer>
getNumberOfTokensPerFile()
-
-
-
Method Detail
-
filterMatches
@Experimental public CPDReport filterMatches(Predicate<Match> filter)
Creates a new CPD report taking all the information from this report, but filtering the matches.- Parameters:
filter
- when true, the match will be kept.- Returns:
- copy of this report
-
-