Clover coverage report - Replica - 1.0-Alpha
Coverage timestamp: Dom Fev 1 2004 17:00:58 WET
file stats: LOC: 54   Methods: 4
NCLOC: 19   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
ReplicatedCommand.java - 40% 50% 44,4%
coverage coverage
 1   
 /*
 2   
  * Replica is published under the terms
 3   
  * of the Apache Software License.
 4   
  */
 5   
 package replica.server.commands.sql;
 6   
 
 7   
 import replica.core.ApplicationMessage;
 8   
 import replica.group.GroupManager;
 9   
 
 10   
 /**
 11   
  * Generic command action for all commands that are replicated to the
 12   
  * all group.
 13   
  * 
 14   
  * @author Pedro Costa
 15   
  * @author Helder Silva
 16   
  * @since 20/Jan/2004
 17   
  */
 18   
 public class ReplicatedCommand extends SqlCommand {
 19   
     
 20   
     GroupManager groupManager;
 21   
 
 22   
     /**
 23   
      * 
 24   
      */
 25  3
     public ReplicatedCommand() {
 26  3
         super();
 27   
     }
 28   
 
 29   
     /* (non-Javadoc)
 30   
      * @see replica.server.commands.LoggedInCommand#internalExecute(replica.server.ServerCommandVO)
 31   
      */
 32  0
     protected Object internalExecute(ApplicationMessage arg) {
 33   
         
 34  0
         getGroupManager().sendMessage( arg);
 35   
         
 36  0
         return null;
 37   
     }
 38   
 
 39   
     /**
 40   
      * @return
 41   
      */
 42  0
     public GroupManager getGroupManager() {
 43  0
         return groupManager;
 44   
     }
 45   
 
 46   
     /**
 47   
      * @param manager
 48   
      */
 49  3
     public void setGroupManager(GroupManager manager) {
 50  3
         groupManager = manager;
 51   
     }
 52   
 
 53   
 }
 54