Clover coverage report -
Coverage timestamp: Sat Jul 7 2007 16:41:13 CEST
file stats: LOC: 47   Methods: 6
NCLOC: 23   Classes: 1
 
 Source file Conditionals Statements Methods TOTAL
Node.java - 100% 100% 100%
coverage
 1    /*
 2    * JTRunner is free software; you can redistribute it and/or modify it under the
 3    * terms of the GNU General Public License as published by the Free Software
 4    * Foundation; either version 2, or (at your option) any later version.
 5    */
 6   
 7    package jtr.config.remote;
 8   
 9    import java.io.Serializable;
 10   
 11    /**
 12    * This class maps the <code>node</code> element of a JTR configuration file.
 13    * @author frusso
 14    * @version 4.0
 15    * @since 4.0
 16    */
 17    public class Node implements Serializable {
 18   
 19    /**
 20    * Creates a new instance of Node
 21    */
 22  9 public Node() {
 23    }
 24   
 25  10 public void setHost(String h) {
 26  10 host = h;
 27    }
 28   
 29  46799 public String getHost() {
 30  46799 return host;
 31    }
 32   
 33  10 public void setPort(int p) {
 34  10 port = p;
 35    }
 36   
 37  71036 public int getPort() {
 38  71036 return port;
 39    }
 40   
 41  1 public String toString() {
 42  1 return host+":"+port;
 43    }
 44   
 45    private String host;
 46    private int port;
 47    }