/external/jacoco/org.jacoco.report/src/org/jacoco/report/check/ |
D | Limit.java | 22 import org.jacoco.core.analysis.ICoverageNode.CounterEntity; 30 private static final Map<CounterEntity, String> ENTITY_NAMES; 41 final Map<CounterEntity, String> entities = new HashMap<CounterEntity, String>(); 42 entities.put(CounterEntity.INSTRUCTION, "instructions"); in entities.put() 43 entities.put(CounterEntity.BRANCH, "branches"); in entities.put() 44 entities.put(CounterEntity.COMPLEXITY, "complexity"); in entities.put() 45 entities.put(CounterEntity.LINE, "lines"); in entities.put() 46 entities.put(CounterEntity.METHOD, "methods"); in entities.put() 47 entities.put(CounterEntity.CLASS, "classes"); in entities.put() 51 private CounterEntity entity; [all …]
|
/external/jacoco/org.jacoco.report/src/org/jacoco/report/csv/ |
D | ClassRowWriter.java | 18 import org.jacoco.core.analysis.ICoverageNode.CounterEntity; 27 private static final CounterEntity[] COUNTERS = { CounterEntity.INSTRUCTION, 28 CounterEntity.BRANCH, CounterEntity.LINE, 29 CounterEntity.COMPLEXITY, CounterEntity.METHOD }; 55 for (final CounterEntity entity : COUNTERS) { in writeHeader() 83 for (final CounterEntity entity : COUNTERS) { in writeRow()
|
/external/jacoco/org.jacoco.report.test/src/org/jacoco/report/check/ |
D | LimitTest.java | 19 import org.jacoco.core.analysis.ICoverageNode.CounterEntity; 40 assertEquals(CounterEntity.INSTRUCTION, limit.getEntity()); in testDefaults() 105 limit.setCounter(CounterEntity.INSTRUCTION.name()); in testInstruction() 107 assertEquals(CounterEntity.INSTRUCTION, limit.getEntity()); in testInstruction() 116 limit.setCounter(CounterEntity.BRANCH.name()); in testBranch() 118 assertEquals(CounterEntity.BRANCH, limit.getEntity()); in testBranch() 126 limit.setCounter(CounterEntity.LINE.name()); in testLine() 128 assertEquals(CounterEntity.LINE, limit.getEntity()); in testLine() 136 limit.setCounter(CounterEntity.COMPLEXITY.name()); in testComlexity() 138 assertEquals(CounterEntity.COMPLEXITY, limit.getEntity()); in testComlexity() [all …]
|
/external/jacoco/org.jacoco.report/src/org/jacoco/report/html/ |
D | HTMLFormatter.java | 20 import org.jacoco.core.analysis.ICoverageNode.CounterEntity; 135 t.add("Missed Instructions", Styles.BAR, new BarColumn(CounterEntity.INSTRUCTION, in createTable() 138 new PercentageColumn(CounterEntity.INSTRUCTION, locale), false); in createTable() 139 t.add("Missed Branches", Styles.BAR, new BarColumn(CounterEntity.BRANCH, locale), in createTable() 141 t.add("Cov.", Styles.CTR2, new PercentageColumn(CounterEntity.BRANCH, locale), in createTable() 143 addMissedTotalColumns(t, "Cxty", CounterEntity.COMPLEXITY); in createTable() 144 addMissedTotalColumns(t, "Lines", CounterEntity.LINE); in createTable() 145 addMissedTotalColumns(t, "Methods", CounterEntity.METHOD); in createTable() 146 addMissedTotalColumns(t, "Classes", CounterEntity.CLASS); in createTable() 151 final CounterEntity entity) { in addMissedTotalColumns()
|
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/analysis/ |
D | NodeComparatorTest.java | 21 import org.jacoco.core.analysis.ICoverageNode.CounterEntity; 38 CounterEntity.INSTRUCTION).sort( in testSort() 48 .on(CounterEntity.INSTRUCTION); in testSecond1() 50 .on(CounterEntity.LINE); in testSecond1() 59 .on(CounterEntity.INSTRUCTION); in testSecond2() 61 .on(CounterEntity.LINE); in testSecond2()
|
D | CoverageNodeImplTest.java | 14 import static org.jacoco.core.analysis.ICoverageNode.CounterEntity.BRANCH; 15 import static org.jacoco.core.analysis.ICoverageNode.CounterEntity.CLASS; 16 import static org.jacoco.core.analysis.ICoverageNode.CounterEntity.COMPLEXITY; 17 import static org.jacoco.core.analysis.ICoverageNode.CounterEntity.INSTRUCTION; 18 import static org.jacoco.core.analysis.ICoverageNode.CounterEntity.LINE; 19 import static org.jacoco.core.analysis.ICoverageNode.CounterEntity.METHOD;
|
D | CounterComparatorTest.java | 20 import org.jacoco.core.analysis.ICoverageNode.CounterEntity; 91 .on(CounterEntity.INSTRUCTION); in testNodeComparator1() 100 .on(CounterEntity.LINE); in testNodeComparator2()
|
/external/jacoco/org.jacoco.report.test/src/org/jacoco/report/internal/html/table/ |
D | CounterColumnTest.java | 26 import org.jacoco.core.analysis.ICoverageNode.CounterEntity; 79 IColumnRenderer column = CounterColumn.newTotal(CounterEntity.LINE, in testInitVisible() 88 IColumnRenderer column = CounterColumn.newTotal(CounterEntity.LINE, in testInitInvisible() 97 IColumnRenderer column = CounterColumn.newTotal(CounterEntity.LINE, in testItemTotal() 110 IColumnRenderer column = CounterColumn.newMissed(CounterEntity.LINE, in testItemMissed() 123 IColumnRenderer column = CounterColumn.newCovered(CounterEntity.LINE, in testItemCovered() 136 IColumnRenderer column = CounterColumn.newTotal(CounterEntity.LINE, in testLocale() 149 IColumnRenderer column = CounterColumn.newTotal(CounterEntity.LINE, in testFooter() 162 IColumnRenderer column = CounterColumn.newTotal(CounterEntity.LINE, in testComparatorTotal() 175 IColumnRenderer column = CounterColumn.newCovered(CounterEntity.LINE, [all …]
|
D | TableTest.java | 25 import org.jacoco.core.analysis.ICoverageNode.CounterEntity; 76 CounterComparator.TOTALITEMS.on(CounterEntity.CLASS)) { in testCallbackSequence() 116 CounterComparator.TOTALITEMS.on(CounterEntity.CLASS)) { in testInvisible() 146 CounterComparator.TOTALITEMS.on(CounterEntity.CLASS)), true); in testTwoDefaultSorts() 148 CounterComparator.TOTALITEMS.on(CounterEntity.CLASS)), true); in testTwoDefaultSorts() 156 CounterComparator.TOTALITEMS.on(CounterEntity.CLASS)), false); in testSortIds() 161 CounterEntity.CLASS)), false); in testSortIds() 203 CounterComparator.TOTALITEMS.on(CounterEntity.CLASS)), true); in testDefaultSorting()
|
D | PercentageColumnTest.java | 23 import org.jacoco.core.analysis.ICoverageNode.CounterEntity; 65 column = new PercentageColumn(CounterEntity.LINE, Locale.ENGLISH); in setup() 112 IColumnRenderer column = new PercentageColumn(CounterEntity.LINE, in testLocale()
|
D | BarColumnTest.java | 24 import org.jacoco.core.analysis.ICoverageNode.CounterEntity; 66 column = new BarColumn(CounterEntity.LINE, Locale.ENGLISH); in setup() 174 final BarColumn col = new BarColumn(CounterEntity.LINE, Locale.FRENCH); in testLocale()
|
/external/jacoco/org.jacoco.report/src/org/jacoco/report/internal/html/table/ |
D | CounterColumn.java | 24 import org.jacoco.core.analysis.ICoverageNode.CounterEntity; 45 public static CounterColumn newTotal(final CounterEntity entity, in newTotal() 65 public static CounterColumn newMissed(final CounterEntity entity, 85 public static CounterColumn newCovered(final CounterEntity entity, 96 private final CounterEntity entity; 113 protected CounterColumn(final CounterEntity entity, final Locale locale,
|
D | PercentageColumn.java | 25 import org.jacoco.core.analysis.ICoverageNode.CounterEntity; 37 private final CounterEntity entity; 52 public PercentageColumn(final CounterEntity entity, final Locale locale) { in PercentageColumn()
|
D | BarColumn.java | 24 import org.jacoco.core.analysis.ICoverageNode.CounterEntity; 38 private final CounterEntity entity; 55 public BarColumn(final CounterEntity entity, final Locale locale) { in BarColumn()
|
/external/jacoco/org.jacoco.core/src/org/jacoco/core/analysis/ |
D | NodeComparator.java | 21 import org.jacoco.core.analysis.ICoverageNode.CounterEntity; 35 private final CounterEntity entity; 38 final CounterEntity entity) { in NodeComparator()
|
D | ICoverageNode.java | 48 public enum CounterEntity { enum 132 public ICounter getCounter(CounterEntity entity); in getCounter()
|
D | CounterComparator.java | 18 import org.jacoco.core.analysis.ICoverageNode.CounterEntity; 92 public NodeComparator on(final CounterEntity entity) { in on()
|
D | CoverageNodeImpl.java | 128 public ICounter getCounter(final CounterEntity entity) { in getCounter()
|
/external/jacoco/org.jacoco.report/src/org/jacoco/report/internal/xml/ |
D | XMLCoverageWriter.java | 20 import org.jacoco.core.analysis.ICoverageNode.CounterEntity; 123 for (final CounterEntity counterEntity : CounterEntity.values()) { in writeCounters()
|