Clover coverage report - Replica - 1.0-Alpha
Coverage timestamp: Dom Fev 1 2004 17:00:58 WET
file stats: LOC: 45   Methods: 3
NCLOC: 16   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
DatabaseCommand.java - 33,3% 33,3% 33,3%
coverage coverage
 1   
 /*
 2   
  * Replica is published under the terms
 3   
  * of the Apache Software License.
 4   
  */
 5   
 package replica.database.commands;
 6   
 
 7   
 import java.util.logging.Logger;
 8   
 
 9   
 import replica.command.Command;
 10   
 
 11   
 /**
 12   
  * 
 13   
  * @author Pedro Costa
 14   
  * @author Helder Silva
 15   
  * @since 19/Jan/2004
 16   
  */
 17   
 public abstract class DatabaseCommand implements Command {
 18   
     
 19   
     static Logger logger = Logger.getLogger(DatabaseCommand.class.getName());
 20   
 
 21   
     /**
 22   
      * 
 23   
      */
 24  8
     public DatabaseCommand() {
 25  8
         super();
 26   
     }
 27   
 
 28   
     /* (non-Javadoc)
 29   
      * @see replica.command.Command#execute(java.lang.Object)
 30   
      */
 31  0
     public Object execute(Object arg) {
 32  0
         return execute((DatabaseCommandVO)arg);
 33   
     }
 34   
     
 35   
     abstract protected Object execute(DatabaseCommandVO c);
 36   
     
 37   
     /**
 38   
      * @return
 39   
      */
 40  0
     protected static Logger getLogger() {
 41  0
         return logger;
 42   
     }
 43   
     
 44   
 }
 45