Clover coverage report -
Coverage timestamp: Thu Jul 5 2007 20:02:32 EDT
file stats: LOC: 81   Methods: 10
NCLOC: 52   Classes: 1
 
 Source file Conditionals Statements Methods TOTAL
SpecialSerializedAddress.java - 30% 30% 30%
coverage coverage
 1    /*
 2    * JBoss, Home of Professional Open Source
 3    *
 4    * Distributable under LGPL license.
 5    * See terms of license at gnu.org.
 6    */
 7   
 8    package org.jboss.cache.pojo.test;
 9   
 10    import java.io.Serializable;
 11    import java.util.ArrayList;
 12    import java.util.List;
 13   
 14    /**
 15    * Test class for PojoCache.
 16    *
 17    * @version $Revision: 1.1 $
 18    */
 19    @org.jboss.cache.pojo.annotation.Replicable
 20    public class SpecialSerializedAddress implements Serializable
 21    {
 22    String street = null;
 23    String city = null;
 24    int zip = 0;
 25   
 26    List residents = new ArrayList();
 27   
 28  0 public List getResidents()
 29    {
 30  0 return residents;
 31    }
 32   
 33  0 public void setResidents(List residents)
 34    {
 35  0 this.residents = residents;
 36    }
 37   
 38  2 public void addResidents(String name)
 39    {
 40  2 residents.add(name);
 41    }
 42   
 43  0 public String getStreet()
 44    {
 45  0 return street;
 46    }
 47   
 48  0 public void setStreet(String street)
 49    {
 50  0 this.street = street;
 51    }
 52   
 53  0 public String getCity()
 54    {
 55  0 return city;
 56    }
 57   
 58  0 public void setCity(String city)
 59    {
 60  0 this.city = city;
 61    }
 62   
 63  1 public int getZip()
 64    {
 65  1 return zip;
 66    }
 67   
 68  1 public void setZip(int zip)
 69    {
 70  1 this.zip = zip;
 71    }
 72   
 73  0 public String toString()
 74    {
 75  0 return "street=" + getStreet() + ", city=" + getCity() + ", zip=" + getZip();
 76    }
 77   
 78    // public Object writeReplace() {
 79    // return this;
 80    // }
 81    }