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
11
12
13
14
15
16 public class DevelopersTableReport extends AbstractLocTableReport implements TableReport {
17 private Table table = null;
18
19
20
21
22
23
24 public DevelopersTableReport(final ReportConfig config) {
25 super(config);
26 }
27
28
29
30
31 public void calculate() {
32 calculateChangesAndLinesPerDeveloper(getContent().getRevisions());
33 table = createChangesAndLinesTable(new AuthorColumn(), new AuthorIdColumn(), Messages.getString("AUTHORS_TABLE_SUMMARY"));
34 }
35
36
37
38
39 public Table getTable() {
40 return table;
41 }
42 }