net.sf.statcvs.reports
Class AuthorsTableReport

java.lang.Object
  extended bynet.sf.statcvs.reports.AbstractLocTableReport
      extended bynet.sf.statcvs.reports.AuthorsTableReport
All Implemented Interfaces:
TableReport

public class AuthorsTableReport
extends AbstractLocTableReport
implements TableReport

Table report which creates a table containing the names of all authors, their LOC contributions and number of changes. The table can be sorted by name or LOC.

Version:
$Id: AuthorsTableReport.java,v 1.1 2003/06/03 15:22:36 cyganiak Exp $
Author:
Richard Cyganiak

Field Summary
 
Fields inherited from class net.sf.statcvs.reports.AbstractLocTableReport
SORT_BY_LINES, SORT_BY_NAME
 
Constructor Summary
AuthorsTableReport(CvsContent content, int sortedBy)
          Creates a table report containing all authors, their number of changes and LOC contributions.
 
Method Summary
 void calculate()
          Calculates the report from the source data.
 Table getTable()
          Returns the table data model.
 
Methods inherited from class net.sf.statcvs.reports.AbstractLocTableReport
calculateChangesAndLinesPerAuthor, calculateChangesAndLinesPerDirectory, createChangesAndLinesTable, getChangesMap, getContent, getLinesMap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AuthorsTableReport

public AuthorsTableReport(CvsContent content,
                          int sortedBy)
Creates a table report containing all authors, their number of changes and LOC contributions.

Parameters:
content - the version control source data
sortedBy - a SORT_XXXX constant
Method Detail

calculate

public void calculate()
Description copied from interface: TableReport
Calculates the report from the source data.

Specified by:
calculate in interface TableReport
See Also:
TableReport.calculate()

getTable

public Table getTable()
Description copied from interface: TableReport
Returns the table data model.

Specified by:
getTable in interface TableReport
Returns:
the table data model
See Also:
TableReport.getTable()