use of org.jacoco.report.internal.html.table.PercentageColumn in project jacoco by jacoco.
the class HTMLFormatter method createTable.
private Table createTable() {
final Table t = new Table();
t.add("Element", null, new LabelColumn(), false);
t.add("Missed Instructions", Styles.BAR, new BarColumn(CounterEntity.INSTRUCTION, locale), true);
t.add("Cov.", Styles.CTR2, new PercentageColumn(CounterEntity.INSTRUCTION, locale), false);
t.add("Missed Branches", Styles.BAR, new BarColumn(CounterEntity.BRANCH, locale), false);
t.add("Cov.", Styles.CTR2, new PercentageColumn(CounterEntity.BRANCH, locale), false);
addMissedTotalColumns(t, "Cxty", CounterEntity.COMPLEXITY);
addMissedTotalColumns(t, "Lines", CounterEntity.LINE);
addMissedTotalColumns(t, "Methods", CounterEntity.METHOD);
addMissedTotalColumns(t, "Classes", CounterEntity.CLASS);
return t;
}
Aggregations