Clover coverage report - Replica - 1.0-Alpha
Coverage timestamp: Dom Fev 1 2004 17:00:58 WET
file stats: LOC: 28   Methods: 3
NCLOC: 22   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
DumpOutputStream.java 0% 0% 0% 0%
coverage
 1   
 package nmp.io;
 2   
 
 3   
 import java.io.*;
 4   
 
 5   
 public class DumpOutputStream
 6   
     extends OutputStream
 7   
 {
 8   
     OutputStream out;
 9   
     boolean toLog;
 10   
 
 11  0
     public DumpOutputStream( OutputStream out) {
 12  0
         this( out, false);
 13   
     }
 14   
     
 15  0
     public DumpOutputStream( OutputStream out, boolean toLog) {
 16  0
         this.out = out;
 17  0
         this.toLog = toLog;
 18   
     }
 19   
     
 20  0
     public void write( int b) throws IOException {
 21  0
         if( toLog)
 22  0
             nmp.util.Log.getWriter().write( b);
 23   
         else
 24  0
             System.out.write( b);
 25  0
         out.write( b);
 26   
     }
 27   
 }
 28