net.sourceforge.groboutils.codecoverage.v2
Interface IAnalysisMetaData

All Known Implementing Classes:
DefaultAnalysisMetaData

public interface IAnalysisMetaData

Contains data necessary for storing the meta-data associated with a specific marked bytecode instruction.

There is an optional "weight" value which can associate a number from -128 to 127 for this particular instruction. This will create a weighted coverage value to indicate on each summary level how important it is for this particular bytecode to be executed. If the analysis module doesn't use weights, then this should return the same value for all instructions.

Since:
December 15, 2002
Version:
$Date: 2003/02/10 22:51:25 $
Author:
Matt Albrecht groboclown@users.sourceforge.net

Method Summary
 java.lang.String getCoveredFormattedText()
          Returns the formatted, localized text for a report on this instruction if it was covered during the runtime execution.
 byte getInstructionWeight()
          Returns any value in the range of a byte that assigns an importance "weight" to this instruction.
 java.lang.String getNotCoveredFormattedText()
          Returns the formatted, localized text for a report on this instruction if it was not covered during the runtime execution.
 

Method Detail

getCoveredFormattedText

public java.lang.String getCoveredFormattedText()
Returns the formatted, localized text for a report on this instruction if it was covered during the runtime execution.

Returns:
formatted, localized, human-readable report

getNotCoveredFormattedText

public java.lang.String getNotCoveredFormattedText()
Returns the formatted, localized text for a report on this instruction if it was not covered during the runtime execution.

Returns:
formatted, localized, human-readable report

getInstructionWeight

public byte getInstructionWeight()
Returns any value in the range of a byte that assigns an importance "weight" to this instruction. If weights are not used by the analysis module, then this needs to return the same value for every instruction.

Returns:
an instruction weight value.


Copyright © 2001-2003 by The GroboUtils Project