Package net.sf.statcvs.reports
Class AbstractLocTableReport
java.lang.Object
net.sf.statcvs.reports.AbstractLocTableReport
- Direct Known Subclasses:
AuthorsForDirectoryTableReport
,DevelopersTableReport
,DirectoriesForAuthorTableReport
,TopDevelopersTableReport
Convenience superclass for table reports related to authors and directories.
Contains methods to calculate some common stuff for these tables.
- Version:
- $Id: AbstractLocTableReport.java,v 1.12 2008/04/02 11:22:15 benoitx Exp $
- Author:
- Lukasz Pekacki
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
Sort the authors table by lines of codestatic final int
Sort the authors table by name -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
protected void
calculateChangesAndLinesPerDirectory
(Collection revisions) protected Table
createChangesAndLinesTable
(GenericColumn keys, GenericColumn keys2, String summary) protected IntegerMap
protected Repository
int
protected IntegerMap
-
Field Details
-
SORT_BY_NAME
public static final int SORT_BY_NAMESort the authors table by name- See Also:
-
SORT_BY_LINES
public static final int SORT_BY_LINESSort the authors table by lines of code- See Also:
-
-
Constructor Details
-
AbstractLocTableReport
Constructor- Parameters:
content
- render table on specified content
-
-
Method Details
-
calculateChangesAndLinesPerDeveloper
-
calculateChangesAndLinesPerDirectory
-
createChangesAndLinesTable
-
getContent
-
getChangesMap
-
getLinesMap
-
getDeveloperCount
public int getDeveloperCount()
-