Clover coverage report -
Coverage timestamp: Thu Jul 5 2007 20:02:32 EDT
file stats: LOC: 62   Methods: 7
NCLOC: 40   Classes: 1
 
 Source file Conditionals Statements Methods TOTAL
Gadget.java - 85.7% 85.7% 85.7%
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 org.jboss.cache.pojo.annotation.Serializable;
 11    import org.jboss.cache.pojo.annotation.Transient;
 12   
 13    /**
 14    * Test class for PojoCache using annotation. This object consists of sub-objects
 15    * that has special annotation.
 16    *
 17    * @version $Revision: 1.1 $
 18    */
 19    @org.jboss.cache.pojo.annotation.Replicable
 20    public class Gadget
 21    {
 22    String name;
 23    @Transient
 24    Resource resource;
 25    @Serializable
 26    SpecialAddress addr;
 27   
 28  4 public String getName()
 29    {
 30  4 return name;
 31    }
 32   
 33  2 public void setName(String name)
 34    {
 35  2 this.name = name;
 36    }
 37   
 38  2 public Resource getResource()
 39    {
 40  2 return resource;
 41    }
 42   
 43  1 public void setResource(Resource resource)
 44    {
 45  1 this.resource = resource;
 46    }
 47   
 48  3 public SpecialAddress getAddr()
 49    {
 50  3 return addr;
 51    }
 52   
 53  2 public void setAddr(SpecialAddress addr)
 54    {
 55  2 this.addr = addr;
 56    }
 57   
 58  0 public String toString()
 59    {
 60  0 return "name=" + getName() + ", resource=" + getResource() + ", SepcialAddress: " + getAddr();
 61    }
 62    }