Clover coverage report - brownies library - 1.0-beta-1
Coverage timestamp: 月 8 16 2004 17:14:42 GMT+09:00
file stats: LOC: 91   Methods: 10
NCLOC: 38   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
Elements.java - 54.5% 50% 52.4%
coverage coverage
 1   
 /*
 2   
  * Joey and its relative products are published under the terms
 3   
  * of the Apache Software License.
 4   
  */
 5   
 /*
 6   
  * Created on 2004/02/21
 7   
  */
 8   
 package org.asyrinx.brownie.core.sql;
 9   
 
 10   
 import java.util.ArrayList;
 11   
 import java.util.Iterator;
 12   
 import java.util.List;
 13   
 
 14   
 /**
 15   
  * @author akima
 16   
  */
 17   
 public class Elements {
 18   
 
 19   
     /**
 20   
      *  
 21   
      */
 22  20
     public Elements(IBuilder builder) {
 23  20
         super();
 24  20
         this.builder = builder;
 25   
     }
 26   
 
 27   
     protected final IBuilder builder;
 28   
 
 29   
     protected final List elementList = new ArrayList();
 30   
 
 31  17
     protected void addImpl(String element) {
 32  17
         elementList.add(element);
 33   
     }
 34   
 
 35  2
     protected void addImpl(Elements elements) {
 36  2
         elementList.add(elements);
 37   
     }
 38   
 
 39   
     /**
 40   
      *  
 41   
      */
 42  0
     public void clear() {
 43  0
         elementList.clear();
 44   
     }
 45   
 
 46   
     /**
 47   
      * @param o
 48   
      * @return
 49   
      */
 50  0
     public boolean contains(Object o) {
 51  0
         return elementList.contains(o);
 52   
     }
 53   
 
 54   
     /**
 55   
      * @param o
 56   
      * @return
 57   
      */
 58  0
     public int indexOf(Object o) {
 59  0
         return elementList.indexOf(o);
 60   
     }
 61   
 
 62   
     /**
 63   
      * @return
 64   
      */
 65  18
     public boolean isEmpty() {
 66  18
         return elementList.isEmpty();
 67   
     }
 68   
 
 69   
     /**
 70   
      * @return
 71   
      */
 72  10
     public Iterator iterator() {
 73  10
         return elementList.iterator();
 74   
     }
 75   
 
 76   
     /**
 77   
      * @param o
 78   
      * @return
 79   
      */
 80  0
     public boolean remove(Object o) {
 81  0
         return elementList.remove(o);
 82   
     }
 83   
 
 84   
     /**
 85   
      * @return
 86   
      */
 87  0
     public int size() {
 88  0
         return elementList.size();
 89   
     }
 90   
 
 91   
 }