Clover coverage report - Drools - 2.0-rc2
Coverage timestamp: Wed May 11 2005 07:12:26 BST
file stats: LOC: 35   Methods: 4
NCLOC: 28   Classes: 1
 
 Source file Conditionals Statements Methods TOTAL
ObjectAssertedEvent.java - 50% 25% 40%
coverage coverage
 1    package org.drools.event;
 2   
 3    import org.drools.FactHandle;
 4    import org.drools.WorkingMemory;
 5   
 6    public class ObjectAssertedEvent extends WorkingMemoryEvent
 7    {
 8    private final FactHandle handle;
 9   
 10    private final Object object;
 11   
 12  103 public ObjectAssertedEvent(WorkingMemory workingMemory,
 13    FactHandle handle,
 14    Object object)
 15    {
 16  103 super( workingMemory );
 17  103 this.handle = handle;
 18  103 this.object = object;
 19    }
 20   
 21  0 public FactHandle getFactHandle()
 22    {
 23  0 return this.handle;
 24    }
 25   
 26  0 public Object getObject()
 27    {
 28  0 return this.object;
 29    }
 30   
 31  0 public String toString()
 32    {
 33  0 return "[ObjectAsserted: handle=" + this.handle + "; object=" + this.object + "]";
 34    }
 35    }