blob: 80a96a04f5ea86d03ab820a73809c1e04f018e09 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
/*******************************************************************************
* Copyright (c) 2009, 2019 Mountainminds GmbH & Co. KG and Contributors
* This program and the accompanying materials are made available under
* the terms of the Eclipse Public License 2.0 which is available at
* http://www.eclipse.org/legal/epl-2.0
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* Marc R. Hoffmann - initial API and implementation
*
*******************************************************************************/
/**
* <p>
* Coverage calculation and analysis. The coverage information is calculated
* with an {@link org.jacoco.core.analysis.Analyzer} instance from class files
* (target) and {@linkplain org.jacoco.core.data.IExecutionDataVisitor execution
* data} (actual).
* </p>
*
* <p>
* The {@link org.jacoco.core.analysis.CoverageBuilder} creates a hierarchy of
* {@link org.jacoco.core.analysis.ICoverageNode} instances with the following
* {@link org.jacoco.core.analysis.ICoverageNode.ElementType types}:
* </p>
*
* <pre>
* +-- {@linkplain org.jacoco.core.analysis.ICoverageNode.ElementType#GROUP Group} (optional)
* +-- {@linkplain org.jacoco.core.analysis.ICoverageNode.ElementType#BUNDLE Bundle}
* +-- {@linkplain org.jacoco.core.analysis.ICoverageNode.ElementType#PACKAGE Package}
* +-- {@linkplain org.jacoco.core.analysis.ICoverageNode.ElementType#SOURCEFILE Source File}
* +-- {@linkplain org.jacoco.core.analysis.ICoverageNode.ElementType#CLASS Class}
* +-- {@linkplain org.jacoco.core.analysis.ICoverageNode.ElementType#METHOD Method}
* </pre>
*/
package org.jacoco.core.analysis;
|