1 package net.sf.mavenhist.extractor.cpd; 2 3 /** 4 * Extracts the number of duplicated lines in this project. 5 */ 6 public class CPDDuplicatedLinesExtractor extends AbstractCPDDuplicatedLinesExtractor { 7 8 /** 9 * {@inheritDoc} 10 */ 11 protected String getXPath(String version) { 12 return "sum(pmd-cpd/duplication/@lines)"; 13 } 14 15 /** 16 * {@inheritDoc} 17 */ 18 public String getName() { 19 return "cpdduplicatedlines"; 20 } 21 }