Clover coverage report - Replica - 1.0-Alpha
Coverage timestamp: Dom Fev 1 2004 17:00:58 WET
file stats: LOC: 50   Methods: 5
NCLOC: 26   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
MSQLTFunNotify.java 0% 0% 0% 0%
coverage
 1   
 package mobisnap.mobile_trx;
 2   
 
 3   
 import mobisnap.*;
 4   
 
 5   
 /**
 6   
  * Used to represent the notify funtion internally
 7   
  */
 8   
 public class MSQLTFunNotify
 9   
     implements MSQLTFunction
 10   
 {
 11  0
     public MSQLTFunNotify() {
 12   
         // do nothing
 13   
     }
 14   
 
 15   
     /**
 16   
      * Returns the value of the variable
 17   
      */
 18  0
     public Object getValue() throws Exception {
 19  0
         throw new mobisnap.MobisnapException( "Notify: getValue requires 3 parameters");
 20   
     }
 21   
     
 22   
     /**
 23   
      * Returns the value of the function / executes subroutine
 24   
      */
 25  0
     public Object getValue( Object[] params) throws Exception {
 26  0
         System.out.println( "Notify not supported");
 27  0
         return null;
 28   
     }
 29   
     
 30   
     /**
 31   
      * Sets the value of the given variable
 32   
      */
 33  0
     public void setValue( Object obj) throws Exception {
 34  0
         throw new mobisnap.MobisnapException( "setValue can not be applied to functions");
 35   
     }
 36   
 
 37   
     /**
 38   
      * Returns true if the following parameters can be the parameters of
 39   
      * the function
 40   
      */
 41  0
     public boolean parametersOK( Object[] params) {
 42  0
         if( params == null || params.length != 3)
 43  0
             return false;
 44  0
         for( int i = 0; i < 3; i++)
 45  0
             if( ! ( params[i] instanceof String))
 46  0
                 return false;
 47  0
         return true;
 48   
     }
 49   
 }
 50