• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*******************************************************************************
2  * Copyright (c) 2009, 2021 Mountainminds GmbH & Co. KG and Contributors
3  * This program and the accompanying materials are made available under
4  * the terms of the Eclipse Public License 2.0 which is available at
5  * http://www.eclipse.org/legal/epl-2.0
6  *
7  * SPDX-License-Identifier: EPL-2.0
8  *
9  * Contributors:
10  *    Marc R. Hoffmann - initial API and implementation
11  *
12  *******************************************************************************/
13 package org.jacoco.core.analysis;
14 
15 import java.util.Collection;
16 
17 /**
18  * Coverage data of a Java package containing classes and source files. The name
19  * of this node is the package name in VM notation (slash separated). The name
20  * of the default package is the empty string.
21  *
22  * @see IClassCoverage
23  * @see ISourceFileCoverage
24  */
25 public interface IPackageCoverage extends ICoverageNode {
26 
27 	/**
28 	 * Returns all classes contained in this package.
29 	 *
30 	 * @return all classes
31 	 */
getClasses()32 	Collection<IClassCoverage> getClasses();
33 
34 	/**
35 	 * Returns all source files in this package.
36 	 *
37 	 * @return all source files
38 	 */
getSourceFiles()39 	Collection<ISourceFileCoverage> getSourceFiles();
40 
41 }
42