diff options
author | Allen Hair <allenhair@google.com> | 2022-03-01 02:18:00 +0000 |
---|---|---|
committer | Allen Hair <allenhair@google.com> | 2022-03-17 23:25:07 +0000 |
commit | 57f9fdd3381050da63e88482a103acea86b74dd7 (patch) | |
tree | e68ce50b1fc964c12a1eb020ca8b2483ff2955d4 /org.jacoco.core/src/org/jacoco/core/analysis/ICoverageNode.java | |
parent | 473f391baad0c5c25a5d82ccda0b31825b11d7be (diff) | |
parent | d19ea595a67af6f16d76b49ccdc12858c3570298 (diff) | |
download | jacoco-57f9fdd3381050da63e88482a103acea86b74dd7.tar.gz |
Update jacoco to 0.8.7.
Bug: 194725917
Bug: 221938918
Bug: 206647174
Test: EMMA_INSTRUMENT=true EMMA_INSTRUMENT_FRAMEWORK=true m
Change-Id: I955b068b3e35d68460a633d0fe606218bdcb9391
Diffstat (limited to 'org.jacoco.core/src/org/jacoco/core/analysis/ICoverageNode.java')
-rw-r--r-- | org.jacoco.core/src/org/jacoco/core/analysis/ICoverageNode.java | 36 |
1 files changed, 19 insertions, 17 deletions
diff --git a/org.jacoco.core/src/org/jacoco/core/analysis/ICoverageNode.java b/org.jacoco.core/src/org/jacoco/core/analysis/ICoverageNode.java index 20b107d4..ddb765a3 100644 --- a/org.jacoco.core/src/org/jacoco/core/analysis/ICoverageNode.java +++ b/org.jacoco.core/src/org/jacoco/core/analysis/ICoverageNode.java @@ -1,13 +1,14 @@ /******************************************************************************* - * Copyright (c) 2009, 2019 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 + * Copyright (c) 2009, 2021 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 - * + * *******************************************************************************/ package org.jacoco.core.analysis; @@ -68,63 +69,63 @@ public interface ICoverageNode { /** * Returns the type of element represented by this node. - * + * * @return type of this node */ ElementType getElementType(); /** * Returns the name of this node. - * + * * @return name of this node */ String getName(); /** * Returns the counter for byte code instructions. - * + * * @return counter for instructions */ ICounter getInstructionCounter(); /** * Returns the counter for branches. - * + * * @return counter for branches */ ICounter getBranchCounter(); /** * Returns the counter for lines. - * + * * @return counter for lines */ ICounter getLineCounter(); /** * Returns the counter for cyclomatic complexity. - * + * * @return counter for complexity */ ICounter getComplexityCounter(); /** * Returns the counter for methods. - * + * * @return counter for methods */ ICounter getMethodCounter(); /** * Returns the counter for classes. - * + * * @return counter for classes */ ICounter getClassCounter(); /** * Generic access to the the counters. - * + * * @param entity * entity we're we want to have the counter for * @return counter for the given entity @@ -134,7 +135,8 @@ public interface ICoverageNode { /** * Checks whether this node contains code relevant for code coverage. * - * @return <code>true</code> if this node contains code relevant for code coverage + * @return <code>true</code> if this node contains code relevant for code + * coverage */ boolean containsCode(); @@ -143,7 +145,7 @@ public interface ICoverageNode { * implementations may contain heavy data structures, the copy returned by * this method is reduced to the counters only. This helps to save memory * while processing huge structures. - * + * * @return copy with counters only */ ICoverageNode getPlainCopy(); |