com.vladium.emma.report
Interface IItemAttribute

All Known Implementing Classes:
IItemAttribute.Factory.Attribute, IItemAttribute.Factory.FractionAttribute, IItemAttribute.Factory.NameAttribute

public interface IItemAttribute

Author:
Vlad Roubtsov, (C) 2003

Nested Class Summary
static class IItemAttribute.Factory
           
 
Field Summary
static int ATTRIBUTE_BLOCK_COVERAGE_ID
           
static int ATTRIBUTE_CLASS_COVERAGE_ID
           
static int ATTRIBUTE_LINE_COVERAGE_ID
           
static int ATTRIBUTE_METHOD_COVERAGE_ID
           
static int ATTRIBUTE_NAME_ID
           
static int UNITS_COUNT
           
static int UNITS_INSTR
           
 
Method Summary
 java.util.Comparator comparator()
           
 void format(IItem item, java.lang.StringBuffer appendTo)
           
 java.lang.String getName()
           
 boolean passes(IItem item, int criterion)
           
 

Field Detail

ATTRIBUTE_NAME_ID

public static final int ATTRIBUTE_NAME_ID
See Also:
Constant Field Values

ATTRIBUTE_CLASS_COVERAGE_ID

public static final int ATTRIBUTE_CLASS_COVERAGE_ID
See Also:
Constant Field Values

ATTRIBUTE_METHOD_COVERAGE_ID

public static final int ATTRIBUTE_METHOD_COVERAGE_ID
See Also:
Constant Field Values

ATTRIBUTE_BLOCK_COVERAGE_ID

public static final int ATTRIBUTE_BLOCK_COVERAGE_ID
See Also:
Constant Field Values

ATTRIBUTE_LINE_COVERAGE_ID

public static final int ATTRIBUTE_LINE_COVERAGE_ID
See Also:
Constant Field Values

UNITS_COUNT

public static final int UNITS_COUNT
See Also:
Constant Field Values

UNITS_INSTR

public static final int UNITS_INSTR
See Also:
Constant Field Values
Method Detail

comparator

public java.util.Comparator comparator()

getName

public java.lang.String getName()

format

public void format(IItem item,
                   java.lang.StringBuffer appendTo)

passes

public boolean passes(IItem item,
                      int criterion)