| Modifier and Type | Method and Description |
|---|---|
FullBranchInfo |
InstrumentationSession.addBranch(ContextSet context,
SourceInfo region,
boolean instrumented,
int complexity,
LanguageConstruct construct) |
FullStatementInfo |
InstrumentationSession.addStatement(ContextSet context,
SourceInfo region,
int complexity,
LanguageConstruct construct) |
MethodInfo |
InstrumentationSession.enterMethod(ContextSet context,
SourceInfo region,
MethodSignature signature,
boolean isTest,
String staticTestName,
boolean isLambda,
int complexity,
LanguageConstruct construct) |
| Modifier and Type | Method and Description |
|---|---|
ContextSet |
ContextSet.and(ContextSet other) |
ContextSet |
ElementInfo.getContext() |
ContextSet |
HasContextFilter.getContextFilter()
Returns context filter for the entity, i.e set of custom statement/method contexts as well as Clover's built-in
code contexts.
|
ContextSet |
ContextSet.set(int index) |
| Modifier and Type | Method and Description |
|---|---|
ContextSet |
ContextSet.and(ContextSet other) |
boolean |
ContextSet.intersects(ContextSet other) |
boolean |
BranchInfo.isFiltered(ContextSet filter) |
| Modifier and Type | Class and Description |
|---|---|
class |
ContextSet
Set of context filters - immutable
|
| Modifier and Type | Method and Description |
|---|---|
ContextSet |
ContextSet.and(ContextSet other) |
NamedContext[] |
ContextStore.getContexts(ContextSet ctxSet) |
String |
ContextStore.getContextsAsString(ContextSet set) |
boolean |
ContextSet.intersects(ContextSet other) |
| Modifier and Type | Method and Description |
|---|---|
FullBranchInfo |
InstrumentationSessionImpl.addBranch(ContextSet context,
SourceInfo region,
boolean instrumented,
int complexity) |
FullBranchInfo |
InstrumentationSessionImpl.addBranch(ContextSet context,
SourceInfo region,
boolean instrumented,
int complexity,
LanguageConstruct construct) |
FullStatementInfo |
InstrumentationSessionImpl.addStatement(ContextSet context,
SourceInfo region,
int complexity) |
FullStatementInfo |
InstrumentationSessionImpl.addStatement(ContextSet context,
SourceInfo region,
int complexity,
LanguageConstruct construct) |
FullMethodInfo |
InstrumentationSessionImpl.enterMethod(ContextSet context,
SourceInfo region,
MethodSignature signature,
boolean test) |
FullMethodInfo |
InstrumentationSessionImpl.enterMethod(ContextSet context,
SourceInfo region,
MethodSignature signature,
boolean isTest,
int complexity) |
FullMethodInfo |
InstrumentationSessionImpl.enterMethod(ContextSet context,
SourceInfo region,
MethodSignature signature,
boolean isTest,
String staticTestName,
boolean isLambda,
int complexity,
LanguageConstruct construct) |
| Modifier and Type | Method and Description |
|---|---|
org.codehaus.groovy.ast.expr.BooleanExpression |
BranchInstrumenter.transformBranch(SourceInfo srcRegion,
org.codehaus.groovy.ast.expr.BooleanExpression exp,
ContextSet currentMethodContext) |
Pair<org.codehaus.groovy.ast.expr.ElvisOperatorExpression,Boolean> |
OperatorsInstrumenter.transformElvis(org.codehaus.groovy.ast.expr.ElvisOperatorExpression elvis,
ContextSet currentMethodContext) |
Pair<org.codehaus.groovy.ast.expr.AttributeExpression,Boolean> |
OperatorsInstrumenter.transformSafeAttributeExpression(org.codehaus.groovy.ast.expr.AttributeExpression attributeExpression,
org.codehaus.groovy.ast.ClassNode currentClassNode,
ContextSet currentMethodContext) |
Pair<org.codehaus.groovy.ast.expr.MethodCallExpression,Boolean> |
OperatorsInstrumenter.transformSafeMethodCall(org.codehaus.groovy.ast.expr.MethodCallExpression methodCallExpression,
org.codehaus.groovy.ast.ClassNode currentClassNode,
ContextSet currentMethodContext) |
Pair<org.codehaus.groovy.ast.expr.PropertyExpression,Boolean> |
OperatorsInstrumenter.transformSafeProperty(org.codehaus.groovy.ast.expr.PropertyExpression propertyExpression,
org.codehaus.groovy.ast.ClassNode currentClassNode,
ContextSet currentMethodContext) |
org.codehaus.groovy.ast.expr.TernaryExpression |
OperatorsInstrumenter.transformTernary(org.codehaus.groovy.ast.expr.TernaryExpression ternary,
ContextSet currentMethodContext) |
| Modifier and Type | Field and Description |
|---|---|
protected ContextSet |
FullElementInfo.context |
protected ContextSet |
BasePackageInfo.contextFilter |
protected ContextSet |
BaseFileInfo.contextFilter |
protected ContextSet |
BaseClassInfo.contextFilter |
| Modifier and Type | Method and Description |
|---|---|
ContextSet |
FullElementInfo.getContext() |
ContextSet |
BasicElementInfo.getContext() |
ContextSet |
FullMethodInfo.getContextFilter() |
ContextSet |
BasePackageInfo.getContextFilter() |
ContextSet |
BaseFileInfo.getContextFilter() |
ContextSet |
BaseClassInfo.getContextFilter() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
FullElementInfo.isFiltered(ContextSet filter) |
void |
FullElementInfo.setContext(ContextSet context) |
| Constructor and Description |
|---|
FullBranchInfo(FullMethodInfo containingMethod,
int relativeDataIndex,
ContextSet context,
SourceInfo region,
int complexity,
boolean instrumented) |
FullBranchInfo(FullMethodInfo containingMethod,
int relativeDataIndex,
ContextSet context,
SourceInfo region,
int complexity,
boolean instrumented,
LanguageConstruct construct) |
FullElementInfo(ContextSet context,
T sharedInfo) |
FullMethodInfo(FullClassInfo containingClass,
ContextSet context,
BasicMethodInfo methodInfo)
For method-in-class
|
FullMethodInfo(FullClassInfo containingClass,
int relativeDataIndex,
ContextSet context,
SourceInfo region,
MethodSignature signature,
boolean isTest,
String staticTestName,
boolean isLambda,
int complexity) |
FullMethodInfo(FullClassInfo containingClass,
int relativeDataIndex,
ContextSet context,
SourceInfo region,
MethodSignature signature,
boolean isTest,
String staticTestName,
boolean isLambda,
int complexity,
LanguageConstruct construct) |
FullMethodInfo(FullFileInfo containingFile,
ContextSet context,
BasicMethodInfo methodInfo)
For method-in-file
|
FullMethodInfo(FullMethodInfo containingMethod,
ContextSet context,
BasicMethodInfo methodInfo)
For method-in-method
|
FullStatementInfo(FullClassInfo containingClass,
ContextSet context,
BasicElementInfo sharedInfo)
Constructor when class is a statement's parent
|
FullStatementInfo(FullFileInfo containingFile,
ContextSet context,
BasicElementInfo sharedInfo)
Constructor when file is a statement's parent
|
FullStatementInfo(FullMethodInfo containingMethod,
ContextSet context,
BasicElementInfo sharedInfo)
Constructor when method is a statement's parent
|
FullStatementInfo(FullMethodInfo containingMethod,
int relativeDataIndex,
ContextSet context,
SourceInfo region,
int complexity) |
FullStatementInfo(FullMethodInfo containingMethod,
int relativeDataIndex,
ContextSet context,
SourceInfo region,
int complexity,
LanguageConstruct construct) |
| Modifier and Type | Method and Description |
|---|---|
LineRenderInfo[] |
SourceRenderHelper.gatherSrcRenderInfo(clover.org.apache.velocity.VelocityContext vc,
FullFileInfo finfo,
ContextSet contextSet,
String emptyCoverageChar,
List<TestCaseInfo>[] testLineInfo)
WARN: the FullFileInfo object passed here will have another data provider set on it.
|
void |
SourceRenderHelper.insertLineInfosForFile(FullFileInfo fileInfo,
clover.org.apache.velocity.VelocityContext context,
ContextSet contextSet,
String emptyChar,
List[] testLineInfo) |
Copyright © 2024 OpenClover.org. All rights reserved.