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