net.sourceforge.groboutils.codecoverage.v2.logger
Class StdoutChannelLogger
java.lang.Object
net.sourceforge.groboutils.codecoverage.v2.logger.StdoutChannelLogger
- All Implemented Interfaces:
- IChannelLogger
- public class StdoutChannelLogger
- extends java.lang.Object
- implements IChannelLogger
Logs coverage reports to a directory of logs. The directories are split
by the channel index, and the directory contains one log per class file
analyzed. The contents are in CSV format:
method index , mark index EOL
- Since:
- May 11, 2004
- Version:
- $Date: 2004/05/11 23:22:33 $
- Author:
- Matt Albrecht groboclown@users.sourceforge.net
Method Summary |
void |
cover(java.lang.String classSignature,
short methodIndex,
short markIndex)
Records a coverage of a marked bytecode instruction. |
protected java.lang.String |
createCoverString(java.lang.String classSig,
short methodIndex,
short markIndex)
Make static final so that the invocation time is minimized. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StdoutChannelLogger
public StdoutChannelLogger(short index)
cover
public void cover(java.lang.String classSignature,
short methodIndex,
short markIndex)
- Records a coverage of a marked bytecode instruction. This method should
never throw an exception.
- Specified by:
cover
in interface IChannelLogger
- Parameters:
classSignature
- a signature of the class file being covered.
this signature includes the fully-qualified name of the class,
along with a checksum to uniquely identify it.methodIndex
- index for a method within the class. The meta-data
store will know how to translate the index to a method signature.markIndex
- the index of the bytecode instruction mark for this
particular channel.
createCoverString
protected final java.lang.String createCoverString(java.lang.String classSig,
short methodIndex,
short markIndex)
- Make static final so that the invocation time is minimized.
Copyright © 2001-2003 by The GroboUtils Project