Clover coverage report - Diasparsoft Toolkit - 0.22
Coverage timestamp: Tue Jun 8 2004 12:41:26 EDT
file stats: LOC: 43   Methods: 5
NCLOC: 34   Classes: 1
30 day Evaluation Version distributed via the Maven Jar Repository. Clover is not free. You have 30 days to evaluate it. Please visit http://www.thecortex.net/clover to obtain a licensed version of Clover
 
 Source file Conditionals Statements Methods TOTAL
PreparedStatementData.java 0% 40% 40% 35.3%
coverage coverage
 1   
 package com.diasparsoftware.java.sql;
 2   
 
 3   
 import java.util.*;
 4   
 
 5   
 public class PreparedStatementData {
 6   
     public String sqlString;
 7   
     public List parameters;
 8   
 
 9  11
     public PreparedStatementData() {
 10  11
         this.sqlString = "";
 11  11
         this.parameters = Collections.EMPTY_LIST;
 12   
     }
 13   
     
 14  33
     public PreparedStatementData(String sqlString, List parameters) {
 15  33
         this.sqlString = sqlString;
 16  33
         this.parameters = parameters;
 17   
     }
 18   
 
 19  0
     public boolean equals(Object other) {
 20  0
         if (other instanceof PreparedStatementData) {
 21  0
             PreparedStatementData that = (PreparedStatementData) other;
 22  0
             return this.sqlString.equals(that.sqlString)
 23   
                 && this.parameters.equals(that.parameters);
 24   
         }
 25   
         else {
 26  0
             return false;
 27   
         }
 28   
     }
 29   
 
 30  0
     public int hashCode() {
 31  0
         return 0;
 32   
     }
 33   
 
 34  0
     public String toString() {
 35  0
         return "PreparedStatementData["
 36   
             + sqlString
 37   
             + " with parameters "
 38   
             + parameters
 39   
             + "]";
 40   
     }
 41   
 
 42   
 }
 43