Clover coverage report - PicoContainer - 1.0
Coverage timestamp: Sat Jun 5 2004 21:34:14 EDT
file stats: LOC: 42   Methods: 5
NCLOC: 21   Classes: 1
30 day Evaluation Version distributed via the Maven Jar Repository. Clover is not free. You have 30 days to evaluate it. Please visit http://www.thecortex.net/clover to obtain a licensed version of Clover
 
 Source file Conditionals Statements Methods TOTAL
SynchronizedComponentAdapter.java - 60% 60% 60%
coverage coverage
 1   
 /*****************************************************************************
 2   
  * Copyright (C) PicoContainer Organization. All rights reserved.            *
 3   
  * ------------------------------------------------------------------------- *
 4   
  * The software in this package is published under the terms of the BSD      *
 5   
  * style license a copy of which has been included with this distribution in *
 6   
  * the LICENSE.txt file.                                                     *
 7   
  *                                                                           *
 8   
  * Original code by                                                          *
 9   
  *****************************************************************************/
 10   
 package org.picocontainer.defaults;
 11   
 
 12   
 
 13   
 import org.picocontainer.ComponentAdapter;
 14   
 import org.picocontainer.PicoInitializationException;
 15   
 import org.picocontainer.PicoIntrospectionException;
 16   
 
 17   
 /**
 18   
  * @author Aslak Hellesøy
 19   
  * @version $Revision: 1.3 $
 20   
  */
 21   
 public class SynchronizedComponentAdapter extends DecoratingComponentAdapter {
 22  1
     public SynchronizedComponentAdapter(ComponentAdapter delegate) {
 23  1
         super(delegate);
 24   
     }
 25   
 
 26  1
     public synchronized Object getComponentKey() {
 27  1
         return super.getComponentKey();
 28   
     }
 29   
 
 30  0
     public synchronized Class getComponentImplementation() {
 31  0
         return super.getComponentImplementation();
 32   
     }
 33   
 
 34  2
     public synchronized Object getComponentInstance() throws PicoInitializationException, PicoIntrospectionException {
 35  2
         return super.getComponentInstance();
 36   
     }
 37   
 
 38  0
     public synchronized void verify() throws UnsatisfiableDependenciesException {
 39  0
         super.verify();
 40   
     }
 41   
 }
 42