Coverage Report - net.sf.statcvs.reports.DevelopersRollingTableReport
 
Classes in this File Line Coverage Branch Coverage Complexity
DevelopersRollingTableReport
0%
0/11
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.Table;
 7  
 
 8  
 /**
 9  
  * Table report which creates a table containing the names of
 10  
  * all developers, their LOC contributions and number of changes over the last n months.
 11  
  * 
 12  
  * @author Benoit Xhenseval
 13  
  * @version $Id: DevelopersRollingTableReport.java,v 1.2 2009/03/11 16:28:45 benoitx Exp $
 14  
  */
 15  
 public class DevelopersRollingTableReport extends AbstractRollingLocTableReport implements TableReport {
 16  0
     private Table table = null;
 17  0
 
 18  
     /**
 19  
      * Creates a table report containing all authors, their
 20  
      * number of changes and LOC contributions.
 21  
      * @param content the version control source data
 22  
      */
 23  
     public DevelopersRollingTableReport(final ReportConfig config) {
 24  0
         super(config);
 25  0
     }
 26  0
 
 27  
     /**
 28  
      * @see net.sf.statcvs.reports.TableReport#calculate()
 29  
      */
 30  
     public void calculate() {
 31  0
         calculateChangesAndLinesPerDeveloper(getContent().getRevisions());
 32  0
         table = createChangesAndLinesTable(new AuthorColumn(), null, Messages.getString("AUTHORS_TABLE_SUMMARY"));
 33  0
     }
 34  0
 
 35  
     /**
 36  
      * @see net.sf.statcvs.reports.TableReport#getTable()
 37  
      */
 38  
     public Table getTable() {
 39  0
         return table;
 40  0
     }
 41  
 }