| Modifier and Type | Method and Description |
|---|---|
Map<TestCaseInfo,BitSet> |
CoverageData.mapTestsAndCoverageForFile(FullFileInfo fileInfo) |
Map<TestCaseInfo,BitSet> |
CloverDatabase.mapTestsAndCoverageForFile(FullFileInfo fileInfo) |
| Modifier and Type | Method and Description |
|---|---|
void |
ContextStore.ContextMapper.applyContextMapping(CloverDatabase db,
FullFileInfo finfo) |
| Modifier and Type | Method and Description |
|---|---|
FullFileInfo |
InstrumentationSessionImpl.enterFile(String packageName,
File file,
int lineCount,
int ncLineCount,
long timestamp,
long filesize,
long checksum) |
FullFileInfo |
InstrumentationSessionImpl.getCurrentFile() |
| Modifier and Type | Method and Description |
|---|---|
List<FullFileInfo> |
InstrumentationSessionImpl.Update.getFileInfos() |
| Modifier and Type | Method and Description |
|---|---|
void |
InstrumentationSessionImpl.SessionPackageInfo.addFile(FullFileInfo currentFile) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
Grover.addHelperFieldsAndMethods(FullFileInfo fileInfo,
Map<org.codehaus.groovy.ast.ClassNode,com.atlassian.clover.instr.groovy.Grover.GroovyInstrumentationResult> flagsForInstrumentedClasses)
Based on flags from first instrumentation pass enhance instrumented classes by adding extra fields and methods,
such as:
$CLV_R$ field and $CLV_R$() getter for CoverageRecorder
elvis operator
boolean expression
safe evalation
test result recording
|
| Modifier and Type | Method and Description |
|---|---|
FullFileInfo |
InstrumentationState.getFileInfo() |
| Modifier and Type | Method and Description |
|---|---|
void |
CloverTokenStreamFilter.instrument(FileStructureInfo structure,
FullFileInfo fileInfo,
InstrumentationSession session,
JavaInstrumentationConfig cfg)
process directives, set final emitter state.
|
| Constructor and Description |
|---|
InstrumentationState(InstrumentationSession session,
FullFileInfo fileInfo,
FileStructureInfo structure,
JavaInstrumentationConfig cfg) |
| Modifier and Type | Method and Description |
|---|---|
Map<TestCaseInfo,BitSet> |
SamplingPerTestCoverage.mapTestsAndCoverageForFile(FullFileInfo fileInfo) |
Map<TestCaseInfo,BitSet> |
PerTestCoverage.mapTestsAndCoverageForFile(FullFileInfo fileInfo) |
Map<TestCaseInfo,BitSet> |
InMemPerTestCoverage.mapTestsAndCoverageForFile(FullFileInfo fileInfo) |
| Modifier and Type | Method and Description |
|---|---|
List<FullFileInfo> |
RegistryUpdate.getFileInfos() |
List<FullFileInfo> |
FullProjectUpdate.getFileInfos() |
List<FullFileInfo> |
EmptyProjectUpdate.getFileInfos() |
| Modifier and Type | Method and Description |
|---|---|
FullFileInfo |
FullFileInfo.copy(FullPackageInfo pkg,
HasMetricsFilter filter) |
FullFileInfo |
StackTraceInfo.TraceEntry.getContainingFile() |
static FullFileInfo |
FullFileInfo.read(TaggedDataInput in) |
| Modifier and Type | Method and Description |
|---|---|
FullStatementInfo |
FullStatementInfo.copy(FullFileInfo parentFile) |
FullMethodInfo |
FullMethodInfo.copy(FullFileInfo fileAsParent) |
FullClassInfo |
FullClassInfo.copy(FullFileInfo newParent,
HasMetricsFilter filter) |
void |
ParentEntity.setContainingFile(FullFileInfo fileInfo) |
protected void |
FullStatementInfo.setContainingFile(FullFileInfo containingFile) |
protected void |
FullMethodInfo.setContainingFile(FullFileInfo fileInfo) |
void |
FullClassInfo.setContainingFile(FullFileInfo fileInfo) |
| Constructor and Description |
|---|
FullClassInfo(FullPackageInfo packageInfo,
FullFileInfo parentFile,
int dataIndex,
String name,
SourceInfo region,
Modifiers modifiers,
boolean typeInterface,
boolean typeEnum,
boolean typeAnnotation) |
FullMethodInfo(FullFileInfo containingFile,
ContextSet context,
BasicMethodInfo methodInfo)
For method-in-file
|
FullStatementInfo(FullFileInfo containingFile,
ContextSet context,
BasicElementInfo sharedInfo)
Constructor when file is a statement's parent
|
| Modifier and Type | Method and Description |
|---|---|
FullFileInfo |
FileInfoRecord.getFileInfo() |
| Modifier and Type | Method and Description |
|---|---|
protected List<FileInfoRecord> |
RegFile.toRecords(Iterable<FullFileInfo> fileInfos) |
| Constructor and Description |
|---|
FileInfoRecord(FullFileInfo fileInfo) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
ConsoleReporter.reportBranchesForLine(PrintWriter out,
FullFileInfo fInfo,
LineInfo info) |
protected void |
ConsoleReporter.reportMethodsForLine(PrintWriter out,
FullFileInfo fInfo,
LineInfo info) |
protected void |
ConsoleReporter.reportStatementsForLine(PrintWriter out,
FullFileInfo fInfo,
LineInfo info) |
| Modifier and Type | Field and Description |
|---|---|
protected FullFileInfo |
RenderFileAction.fileInfo |
| Modifier and Type | Method and Description |
|---|---|
FullFileInfo |
RenderFileAction.insertSrcFileProperties() |
| Modifier and Type | Method and Description |
|---|---|
String |
HtmlRenderingSupportImpl.getFileIdentifier(FullFileInfo aFile) |
static JSONObject |
JSONObjectFactory.getJSONPageData(FullFileInfo fileInfo) |
| Constructor and Description |
|---|
RenderFileAction(FullFileInfo fileInfo,
HtmlRenderingSupportImpl renderingHelper,
Current report,
clover.org.apache.velocity.VelocityContext velocity,
CloverDatabase database,
FullProjectInfo fullModel,
Map<Integer,CloverChartFactory.ChartInfo> charts) |
| 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.
|
static List<String> |
SourceRenderHelper.getSrcLines(FullFileInfo finfo) |
void |
SourceRenderHelper.insertLineInfosForFile(FullFileInfo fileInfo,
clover.org.apache.velocity.VelocityContext context,
ContextSet contextSet,
String emptyChar,
List[] testLineInfo) |
void |
PlaintextSourceRenderer.render(List<LineRenderInfo> linesToRender,
Reader sourceReader,
FullFileInfo finfo,
HtmlRenderingSupport renderingHelper,
String emptyCoverageMsg,
String tabString,
String spaceString) |
void |
SourceTraverser.traverse(Reader sourceReader,
FullFileInfo fileInfo,
L listener) |
void |
PlaintextLineTraverser.traverse(Reader sourceReader,
FullFileInfo fileInfo,
L listener) |
| Modifier and Type | Method and Description |
|---|---|
void |
GroovySourceRenderer.render(List<LineRenderInfo> linesToRender,
Reader sourceReader,
FullFileInfo finfo,
HtmlRenderingSupport renderingHelper,
String emptyCoverageMsg,
String tabString,
String spaceString) |
void |
GroovySourceTraverser.traverse(Reader reader,
FullFileInfo fileInfo,
SourceListener sourceListener)
Traverses Groovy code token by token informing the listener on certain interesting elements.
|
| Constructor and Description |
|---|
GroovyHtmlSourceRenderer(FullFileInfo fileInfo,
List<LineRenderInfo> lineInfo,
HtmlRenderingSupport renderingHelper,
String emptyCoverageMsg,
String tab,
String space) |
| Modifier and Type | Method and Description |
|---|---|
void |
JavaSourceRenderer.render(List<LineRenderInfo> linesToRender,
Reader sourceReader,
FullFileInfo finfo,
HtmlRenderingSupport renderingHelper,
String emptyCoverageMsg,
String tabString,
String spaceString) |
void |
JavaTokenTraverser.traverse(Reader sourceReader,
FullFileInfo fileInfo,
JavaSourceListener listener) |
| Constructor and Description |
|---|
JavaHtmlSourceRenderer(FullFileInfo fileInfo,
List<LineRenderInfo> lineInfo,
HtmlRenderingSupport renderingHelper,
String emptyCoverageMsg,
String tab,
String space) |
| Constructor and Description |
|---|
RenderFileJSONAction(FullFileInfo fileInfo,
HtmlRenderingSupportImpl renderingHelper,
Current report,
clover.org.apache.velocity.VelocityContext velocity,
CloverDatabase database,
FullProjectInfo fullModel) |
| Modifier and Type | Method and Description |
|---|---|
static CloverChartFactory.ChartInfo |
CloverChartFactory.getChartForFile(FullFileInfo fileInfo,
Map<Integer,CloverChartFactory.ChartInfo> charts) |
| Modifier and Type | Method and Description |
|---|---|
void |
SourceRenderer.render(List<LineRenderInfo> linesToRender,
Reader sourceReader,
FullFileInfo finfo,
HtmlRenderingSupport renderingHelper,
String emptyCoverageMsg,
String tabString,
String spaceString) |
| Modifier and Type | Method and Description |
|---|---|
static File |
CloverUtils.createOutFile(FullFileInfo finfo,
String outname,
File baseDir) |
Copyright © 2024 OpenClover.org. All rights reserved.