blob: afee23c259075b1d3ae2439acd6dc2cfd61c1ad4 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2009, 2018 Mountainminds GmbH & Co. KG and Contributors
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* 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;