Clover coverage report - DynamicJava Test Coverage (dynamicjava-20120303-r5436)
Coverage timestamp: Sat Mar 3 2012 03:02:19 CST
file stats: LOC: 148   Methods: 33
NCLOC: 102   Classes: 1
 
 Source file Conditionals Statements Methods TOTAL
TypeAbstractVisitor_void.java - 50% 51.5% 50.8%
coverage coverage
 1    package edu.rice.cs.dynamicjava.symbol.type;
 2   
 3    import edu.rice.cs.dynamicjava.symbol.*;
 4   
 5    /** An abstract implementation of a visitor over Type that does not return a value.
 6    ** This visitor implements the visitor interface with methods that each
 7    ** delegate to a case representing their superclass. At the top of this
 8    ** delegation tree is the method defaultCase(), which (unless overridden)
 9    ** is a no-op.
 10    **/
 11    @SuppressWarnings("unused")
 12    public class TypeAbstractVisitor_void extends TypeVisitorRunnable1 {
 13    /**
 14    * This method is run for all cases that are not handled elsewhere.
 15    * By default, it is a no-op; subclasses may override this behavior.
 16    **/
 17  12 public void defaultCase(Type that) {}
 18   
 19    /* Methods to visit an item. */
 20  141 public void forType(Type that) {
 21  141 defaultCase(that);
 22    }
 23   
 24  129 public void forValidType(ValidType that) {
 25  129 forType(that);
 26    }
 27   
 28  0 public void forPrimitiveType(PrimitiveType that) {
 29  0 forValidType(that);
 30    }
 31   
 32  0 public void forBooleanType(BooleanType that) {
 33  0 forPrimitiveType(that);
 34    }
 35   
 36  42 public void forNumericType(NumericType that) {
 37  42 forPrimitiveType(that);
 38    }
 39   
 40  42 public void forIntegralType(IntegralType that) {
 41  42 forNumericType(that);
 42    }
 43   
 44  0 public void forCharType(CharType that) {
 45  0 forIntegralType(that);
 46    }
 47   
 48  42 public void forIntegerType(IntegerType that) {
 49  42 forIntegralType(that);
 50    }
 51   
 52  0 public void forByteType(ByteType that) {
 53  0 forIntegerType(that);
 54    }
 55   
 56  0 public void forShortType(ShortType that) {
 57  0 forIntegerType(that);
 58    }
 59   
 60  42 public void forIntType(IntType that) {
 61  42 forIntegerType(that);
 62    }
 63   
 64  0 public void forLongType(LongType that) {
 65  0 forIntegerType(that);
 66    }
 67   
 68  0 public void forFloatingPointType(FloatingPointType that) {
 69  0 forNumericType(that);
 70    }
 71   
 72  0 public void forFloatType(FloatType that) {
 73  0 forFloatingPointType(that);
 74    }
 75   
 76  0 public void forDoubleType(DoubleType that) {
 77  0 forFloatingPointType(that);
 78    }
 79   
 80  102 public void forReferenceType(ReferenceType that) {
 81  102 forValidType(that);
 82    }
 83   
 84  0 public void forNullType(NullType that) {
 85  0 forReferenceType(that);
 86    }
 87   
 88  84 public void forArrayType(ArrayType that) {
 89  84 forReferenceType(that);
 90    }
 91   
 92  84 public void forSimpleArrayType(SimpleArrayType that) {
 93  84 forArrayType(that);
 94    }
 95   
 96  168 public void forVarargArrayType(VarargArrayType that) {
 97  168 forArrayType(that);
 98    }
 99   
 100  76 public void forClassType(ClassType that) {
 101  76 forReferenceType(that);
 102    }
 103   
 104  435 public void forSimpleClassType(SimpleClassType that) {
 105  435 forClassType(that);
 106    }
 107   
 108  16 public void forRawClassType(RawClassType that) {
 109  16 forClassType(that);
 110    }
 111   
 112  4 public void forParameterizedClassType(ParameterizedClassType that) {
 113  4 forClassType(that);
 114    }
 115   
 116  0 public void forBoundType(BoundType that) {
 117  0 forValidType(that);
 118    }
 119   
 120  0 public void forIntersectionType(IntersectionType that) {
 121  0 forBoundType(that);
 122    }
 123   
 124  0 public void forUnionType(UnionType that) {
 125  0 forBoundType(that);
 126    }
 127   
 128  27 public void forVariableType(VariableType that) {
 129  27 forValidType(that);
 130    }
 131   
 132  0 public void forTopType(TopType that) {
 133  0 forValidType(that);
 134    }
 135   
 136  0 public void forBottomType(BottomType that) {
 137  0 forValidType(that);
 138    }
 139   
 140  12 public void forVoidType(VoidType that) {
 141  12 forType(that);
 142    }
 143   
 144  0 public void forWildcard(Wildcard that) {
 145  0 forType(that);
 146    }
 147   
 148    }