Clover coverage report -
Coverage timestamp: Thu Jul 5 2007 20:02:32 EDT
file stats: LOC: 32   Methods: 3
NCLOC: 18   Classes: 1
 
 Source file Conditionals Statements Methods TOTAL
ElementSizePolicy.java - 100% 100% 100%
coverage
 1    /*
 2    * JBoss, the OpenSource J2EE webOS
 3    *
 4    * Distributable under LGPL license.
 5    * See terms of license at gnu.org.
 6    */
 7    package org.jboss.cache.eviction;
 8   
 9    /**
 10    * @author Daniel Huang
 11    * @version $Revison: $
 12    */
 13    public class ElementSizePolicy extends BaseEvictionPolicy implements EvictionPolicy
 14    {
 15    private ElementSizeAlgorithm algorithm;
 16   
 17  28 public ElementSizePolicy()
 18    {
 19  28 super();
 20  28 algorithm = new ElementSizeAlgorithm();
 21    }
 22   
 23  28 public EvictionAlgorithm getEvictionAlgorithm()
 24    {
 25  28 return this.algorithm;
 26    }
 27   
 28  12 public Class<ElementSizeConfiguration> getEvictionConfigurationClass()
 29    {
 30  12 return ElementSizeConfiguration.class;
 31    }
 32    }