Class CoverageTracingLogger

java.lang.Object
org.eluder.coveralls.maven.plugin.source.ChainingSourceCallback
org.eluder.coveralls.maven.plugin.logging.CoverageTracingLogger
All Implemented Interfaces:
Logger, SourceCallback

public class CoverageTracingLogger extends ChainingSourceCallback implements Logger
The Class CoverageTracingLogger.
  • Constructor Details

    • CoverageTracingLogger

      public CoverageTracingLogger(SourceCallback chained)
      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

      public Logger.Position getPosition()
      Description copied from interface: Logger
      Gets the position.
      Specified by:
      getPosition in interface Logger
      Returns:
      the position for log output, before or after the Coveralls data writing
    • log

      public void log(org.apache.maven.plugin.logging.Log log)
      Description copied from interface: Logger
      Create the log output.
      Specified by:
      log in interface Logger
      Parameters:
      log - the logger to output
    • onSourceInternal

      protected void onSourceInternal(Source source) throws ProcessingException, IOException
      Description copied from class: ChainingSourceCallback
      On source internal.
      Specified by:
      onSourceInternal in class ChainingSourceCallback
      Parameters:
      source - the source file
      Throws:
      ProcessingException - if further processing of the source fails
      IOException - if an I/O error occurs
      See Also: