Clover coverage report - Drools - 2.0-rc2
Coverage timestamp: Wed May 11 2005 07:12:26 BST
file stats: LOC: 25   Methods: 2
NCLOC: 18   Classes: 1
 
 Source file Conditionals Statements Methods TOTAL
DefaultFactHandleFactory.java - 100% 100% 100%
coverage
 1    package org.drools.reteoo;
 2   
 3    import org.drools.FactHandle;
 4   
 5    public class DefaultFactHandleFactory
 6    implements
 7    FactHandleFactory
 8    {
 9    /** The fact id. */
 10    private long id;
 11   
 12    /** The number of facts created - used for recency. */
 13    private long counter;
 14   
 15  107 public final FactHandle newFactHandle()
 16    {
 17  107 return newFactHandle( ++id );
 18    }
 19   
 20  107 public final FactHandle newFactHandle(long id)
 21    {
 22  107 return new FactHandleImpl( id,
 23    ++counter );
 24    }
 25    }