View Javadoc

1   package net.sf.mavenhist.extractor.findbugs;
2   
3   /**
4    * Extracts the number of files containing findbugs violations.
5    */
6   public class FindbugsViolationFilesExtractor extends AbstractFindbugsExtractor {
7     
8     /**
9      * {@inheritDoc}
10     */
11    protected String getXPath(String version) {
12      return "count(/BugCollection/file)";
13    }
14    
15    /**
16     * {@inheritDoc}
17     */
18    public String getName() {
19      return "fbfiles";
20    }
21  }