diff options
Diffstat (limited to 'org.jacoco.core/src/org/jacoco/core/analysis/ICounter.java')
-rw-r--r-- | org.jacoco.core/src/org/jacoco/core/analysis/ICounter.java | 29 |
1 files changed, 15 insertions, 14 deletions
diff --git a/org.jacoco.core/src/org/jacoco/core/analysis/ICounter.java b/org.jacoco.core/src/org/jacoco/core/analysis/ICounter.java index 60c8dcc5..f7e6adb0 100644 --- a/org.jacoco.core/src/org/jacoco/core/analysis/ICounter.java +++ b/org.jacoco.core/src/org/jacoco/core/analysis/ICounter.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; @@ -60,7 +61,7 @@ public interface ICounter { /** * Returns the counter value of the given type. - * + * * @param value * value type to return * @return counter value @@ -69,21 +70,21 @@ public interface ICounter { /** * Returns the total count of items. - * + * * @return total count of items */ int getTotalCount(); /** * Returns the count of covered items. - * + * * @return count of covered items */ int getCoveredCount(); /** * Returns the count of missed items. - * + * * @return count of missed items */ int getMissedCount(); @@ -91,7 +92,7 @@ public interface ICounter { /** * Calculates the ratio of covered to total count items. If total count * items is 0 this method returns NaN. - * + * * @return ratio of covered to total count items */ double getCoveredRatio(); @@ -99,19 +100,19 @@ public interface ICounter { /** * Calculates the ratio of missed to total count items. If total count items * is 0 this method returns NaN. - * + * * @return ratio of missed to total count items */ double getMissedRatio(); /** * Returns the coverage status of this counter. - * + * * @see ICounter#EMPTY * @see ICounter#NOT_COVERED * @see ICounter#PARTLY_COVERED * @see ICounter#FULLY_COVERED - * + * * @return status of this line */ int getStatus(); |