Coverage Report - net.sf.statcvs.reports.DevelopersTableReport
 
Classes in this File Line Coverage Branch Coverage Complexity
DevelopersTableReport
0%
0/7
N/A
1
 
 1  
 package net.sf.statcvs.reports;
 2  
 
 3  
 import net.sf.statcvs.Messages;
 4  
 import net.sf.statcvs.output.ReportConfig;
 5  
 import net.sf.statcvs.reportmodel.AuthorColumn;
 6  
 import net.sf.statcvs.reportmodel.AuthorIdColumn;
 7  
 import net.sf.statcvs.reportmodel.Table;
 8  
 
 9  
 /**
 10  
  * Table report which creates a table containing the names of
 11  
  * all developers, their LOC contributions and number of changes.
 12  
  * 
 13  
  * @author Richard Cyganiak (richard@cyganiak.de)
 14  
  * @version $Id: DevelopersTableReport.java,v 1.3 2008/04/02 11:22:15 benoitx Exp $
 15  
  */
 16  
 public class DevelopersTableReport extends AbstractLocTableReport implements TableReport {
 17  0
     private Table table = null;
 18  
 
 19  
     /**
 20  
      * Creates a table report containing all authors, their
 21  
      * number of changes and LOC contributions.
 22  
      * @param content the version control source data
 23  
      */
 24  
     public DevelopersTableReport(final ReportConfig config) {
 25  0
         super(config);
 26  0
     }
 27  
 
 28  
     /**
 29  
      * @see net.sf.statcvs.reports.TableReport#calculate()
 30  
      */
 31  
     public void calculate() {
 32  0
         calculateChangesAndLinesPerDeveloper(getContent().getRevisions());
 33  0
         table = createChangesAndLinesTable(new AuthorColumn(), new AuthorIdColumn(), Messages.getString("AUTHORS_TABLE_SUMMARY"));
 34  0
     }
 35  
 
 36  
     /**
 37  
      * @see net.sf.statcvs.reports.TableReport#getTable()
 38  
      */
 39  
     public Table getTable() {
 40  0
         return table;
 41  
     }
 42  
 }