Clover coverage report -
Coverage timestamp: Sun Apr 18 2004 21:32:30 EDT
file stats: LOC: 27   Methods: 2
NCLOC: 13   Classes: 1
 
 Source file Conditionals Statements Methods TOTAL
Debug.java 25% 40% 50% 36.4%
coverage coverage
 1   
 /*
 2   
  * Created on Mar 26, 2004
 3   
  *
 4   
  * To change the template for this generated file go to
 5   
  * Window - Preferences - Java - Code Generation - Code and Comments
 6   
  */
 7   
 
 8   
 /**
 9   
  * @author Rohit Reddy
 10   
  *
 11   
  * To change the template for this generated type comment go to
 12   
  * Window - Preferences - Java - Code Generation - Code and Comments
 13   
  */
 14   
 public class Debug {
 15   
     public static boolean print = true;
 16   
     public static boolean pause = true;
 17  95
     public static void print(String s) {
 18  95
         if ( print )
 19  95
             System.out.println(s);
 20   
     }
 21  0
     public static void pause()  {
 22  0
         if ( pause ) {
 23  0
             try { System.in.read(); } catch (Exception e) {};
 24   
         }
 25   
     }
 26   
 }
 27