Clover coverage report - Replica - 1.0-Alpha
Coverage timestamp: Dom Fev 1 2004 17:00:58 WET
file stats: LOC: 35   Methods: 2
NCLOC: 12   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
QueryDbCommand.java - 50% 50% 50%
coverage coverage
 1   
 /*
 2   
  * Replica is published under the terms
 3   
  * of the Apache Software License.
 4   
  */
 5   
 package replica.database.commands.sql;
 6   
 
 7   
 import java.sql.SQLException;
 8   
 import java.sql.Statement;
 9   
 
 10   
 import replica.database.commands.StatementDbCommand;
 11   
 
 12   
 /**
 13   
  * 
 14   
  * @author Pedro Costa
 15   
  * @author Helder Silva
 16   
  * @since 20/Jan/2004
 17   
  */
 18   
 public class QueryDbCommand extends StatementDbCommand {
 19   
 
 20   
     /**
 21   
      * 
 22   
      */
 23  3
     public QueryDbCommand() {
 24  3
         super();
 25   
     }
 26   
 
 27   
     /* (non-Javadoc)
 28   
      * @see replica.database.commands.DatabaseCommand#execute(java.sql.Statement, java.lang.String)
 29   
      */
 30  0
     protected Object execute(Statement st, String command) throws SQLException{
 31  0
         return st.executeQuery( command );
 32   
     }
 33   
 
 34   
 }
 35