Clover coverage report - Replica - 1.0-Alpha
Coverage timestamp: Dom Fev 1 2004 17:00:58 WET
file stats: LOC: 51   Methods: 7
NCLOC: 35   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
ASTUpdateSnapshot.java 0% 0% 0% 0%
coverage
 1   
 /* JJT:    0.2.2 */
 2   
 
 3   
 package    mobisnap.mobile_trx;
 4   
 
 5   
 /**
 6   
  * Creates snapshot
 7   
  * 
 8   
  */
 9   
 public class ASTUpdateSnapshot extends mobisnap.mobile_trx.SimpleNode {
 10   
     ASTTableReference tablename;
 11   
     ASTQueryStatement query;
 12   
 
 13  0
     public ASTUpdateSnapshot(int id) {
 14  0
         super(id);
 15   
     }
 16   
 
 17  0
     public ASTUpdateSnapshot( MobisnapSQL p, int i) {
 18  0
         super( p, i);
 19  0
         id = i;
 20   
     }
 21   
 
 22   
     /** Accept the visitor. **/
 23  0
     public Object jjtAccept(MobisnapSQLVisitor visitor, Object data) {
 24  0
         return visitor.visit(this, data);
 25   
     }
 26   
     
 27  0
     public void    process( int msql_type) throws Exception {
 28  0
         throw new mobisnap.MobisnapException( "Not defined");
 29   
     }
 30   
     
 31  0
     public String snapshotName( int msql_type) throws Exception {
 32  0
         StringBuffer buffer = new StringBuffer();
 33  0
         tablename.sourceCode( msql_type, buffer);
 34  0
         return buffer.toString().trim();
 35   
     }
 36   
     
 37  0
     public String queryStatement( int msql_type) throws Exception {
 38  0
         StringBuffer buffer = new StringBuffer();
 39  0
         query.sourceCode( msql_type, buffer);
 40  0
         return buffer.toString().trim();
 41   
     }
 42   
     
 43  0
     public String whereQueryExpression( int msql_type) throws Exception {
 44  0
         StringBuffer buffer = new StringBuffer();
 45  0
         if (query.where == null)
 46  0
             return null;
 47  0
         query.where.sourceCode( msql_type, buffer);
 48  0
         return buffer.toString().trim();
 49   
     }
 50   
 }
 51