Clover coverage report - Java Language Levels Test Coverage (javalanglevels-20120305-r5436)
Coverage timestamp: Sun Mar 4 2012 22:02:46 CST
file stats: LOC: 39   Methods: 3
NCLOC: 23   Classes: 1
 
 Source file Conditionals Statements Methods TOTAL
BinaryExpression.java 50% 77.8% 100% 75%
coverage coverage
 1    package edu.rice.cs.javalanglevels.tree;
 2   
 3    import edu.rice.cs.javalanglevels.SourceInfo;
 4   
 5    /**
 6    * Class BinaryExpression, a component of the JExpressionIF composite hierarchy.
 7    * Note: null is not allowed as a value for any field.
 8    * @version Generated automatically by ASTGen at Sun Mar 04 22:01:28 CST 2012
 9    */
 10    public abstract class BinaryExpression extends Expression {
 11    private final Expression _left;
 12    private final Expression _right;
 13   
 14    /**
 15    * Constructs a BinaryExpression.
 16    * @throws java.lang.IllegalArgumentException If any parameter to the constructor is null.
 17    */
 18  143 public BinaryExpression(SourceInfo in_sourceInfo, Expression in_left, Expression in_right) {
 19  143 super(in_sourceInfo);
 20   
 21  143 if (in_left == null) {
 22  0 throw new java.lang.IllegalArgumentException("Parameter 'left' to the BinaryExpression constructor was null. This class may not have null field values.");
 23    }
 24  143 _left = in_left;
 25   
 26  143 if (in_right == null) {
 27  0 throw new java.lang.IllegalArgumentException("Parameter 'right' to the BinaryExpression constructor was null. This class may not have null field values.");
 28    }
 29  143 _right = in_right;
 30    }
 31   
 32  261 public Expression getLeft() { return _left; }
 33  261 public Expression getRight() { return _right; }
 34   
 35    public abstract <RetType> RetType visit(JExpressionIFVisitor<RetType> visitor);
 36    public abstract void visit(JExpressionIFVisitor_void visitor);
 37    public abstract void outputHelp(TabPrintWriter writer);
 38    protected abstract int generateHashCode();
 39    }