1 package net.sf.mavenhist.extractor.checkstyle; 2 3 /** 4 * Extracts the total number of checked files from checkstyle. 5 */ 6 public class CheckstyleCheckedFilesExtractor extends AbstractCheckstyleSingleValueExtractor { 7 8 /** 9 * {@inheritDoc} 10 */ 11 protected String getXPath(String version) { 12 return "count(/checkstyle/file)"; 13 } 14 15 /** 16 * {@inheritDoc} 17 */ 18 public String getName() { 19 return "csfiles"; 20 } 21 }