Clover coverage report - Replica - 1.0-Alpha
Coverage timestamp: Dom Fev 1 2004 17:00:58 WET
file stats: LOC: 26   Methods: 1
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
LogExecute.java 0% 0% 0% 0%
coverage
 1   
 package nmp.file_utils;
 2   
 
 3   
 import java.io.*;
 4   
 import java.lang.reflect.*;
 5   
 
 6   
 
 7   
 public class LogExecute
 8   
 {
 9  0
     public static void main( String[] args) {
 10  0
         try {
 11  0
             String[] newargs = new String[args.length - 3];
 12  0
             for( int i = 3; i < args.length; i++)
 13  0
                 newargs[i-3] = args[i];
 14  0
             System.setOut( new PrintStream( new FileOutputStream( args[0])));
 15  0
             System.setErr( new PrintStream( new FileOutputStream( args[1])));
 16  0
             Class cl = Class.forName( args[2]);
 17  0
             Class[] argsT = { args.getClass()};
 18  0
             Method met = cl.getMethod( "main", argsT);
 19  0
             Object[] objs = { newargs};
 20  0
             met.invoke( null, objs);
 21   
         } catch( Throwable th) {
 22  0
             th.printStackTrace();
 23   
         }
 24   
     }
 25   
 }
 26