Class CPDReport


  • public class CPDReport
    extends Object
    Since:
    6.48.0
    • Method Detail

      • getMatches

        public List<Match> getMatches()
      • getNumberOfTokensPerFile

        public Map<String,​Integer> getNumberOfTokensPerFile()
      • 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