Class CoverageTracingLogger
java.lang.Object
org.eluder.coveralls.maven.plugin.source.ChainingSourceCallback
org.eluder.coveralls.maven.plugin.logging.CoverageTracingLogger
- All Implemented Interfaces:
Logger, SourceCallback
The Class CoverageTracingLogger.
-
Nested Class Summary
Nested classes/interfaces inherited from interface Logger
Logger.Position -
Constructor Summary
ConstructorsConstructorDescriptionCoverageTracingLogger(SourceCallback chained) Instantiates a new coverage tracing logger. -
Method Summary
Modifier and TypeMethodDescriptionfinal longGets the branches.final longGets the covered.final longGets the covered branches.longgetFiles()Gets the files.final longgetLines()Gets the lines.final longGets the missed.final longGets the missed branches.Gets the position.final longGets the relevant.voidlog(org.apache.maven.plugin.logging.Log log) Create the log output.protected voidonSourceInternal(Source source) On source internal.Methods inherited from class ChainingSourceCallback
onBegin, onBeginInternal, onComplete, onCompleteInternal, onSource
-
Constructor Details
-
CoverageTracingLogger
Instantiates a new coverage tracing logger.- Parameters:
chained- the chained
-
-
Method Details
-
getFiles
public long getFiles()Gets the files.- Returns:
- the files
-
getLines
public final long getLines()Gets the lines.- Returns:
- the lines
-
getRelevant
public final long getRelevant()Gets the relevant.- Returns:
- the relevant
-
getCovered
public final long getCovered()Gets the covered.- Returns:
- the covered
-
getMissed
public final long getMissed()Gets the missed.- Returns:
- the missed
-
getBranches
public final long getBranches()Gets the branches.- Returns:
- the branches
-
getCoveredBranches
public final long getCoveredBranches()Gets the covered branches.- Returns:
- the covered branches
-
getMissedBranches
public final long getMissedBranches()Gets the missed branches.- Returns:
- the missed branches
-
getPosition
Description copied from interface:LoggerGets the position.- Specified by:
getPositionin interfaceLogger- Returns:
- the position for log output, before or after the Coveralls data writing
-
log
-
onSourceInternal
Description copied from class:ChainingSourceCallbackOn source internal.- Specified by:
onSourceInternalin classChainingSourceCallback- Parameters:
source- the source file- Throws:
ProcessingException- if further processing of the source failsIOException- if an I/O error occurs- See Also:
-