Clover coverage report - Model for Example - 0.6
Coverage timestamp: Wed Jun 30 2004 20:08:04 EDT
file stats: LOC: 40   Methods: 1
NCLOC: 9   Classes: 1
 
 Source file Conditionals Statements Methods TOTAL
LineItem.java - 0% 0% 0%
coverage
 1   
 /**
 2   
  * This class is only generated once! It will never be overwritten.
 3   
  * You can (and have to!) safely modify it by hand.
 4   
  */
 5   
 /*
 6   
  * LineItem.java
 7   
  * Copyright 2002-2004 Bill2, Inc.
 8   
  *
 9   
  * Licensed under the Apache License, Version 2.0 (the "License");
 10   
  * you may not use this file except in compliance with the License.
 11   
  * You may obtain a copy of the License at
 12   
  *
 13   
  *     http://www.apache.org/licenses/LICENSE-2.0
 14   
  *
 15   
  * Unless required by applicable law or agreed to in writing, software
 16   
  * distributed under the License is distributed on an "AS IS" BASIS,
 17   
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 18   
  * See the License for the specific language governing permissions and
 19   
  * limitations under the License.
 20   
  */
 21   
 package example.entity;
 22   
 
 23   
 import java.math.BigDecimal;
 24   
 
 25   
 /**
 26   
  * @hibernate.class
 27   
  *       table="LineItem"
 28   
  */
 29   
 public class LineItem
 30   
        extends LineItemBase
 31   
 {
 32   
     // concrete business methods that were declared
 33   
     // abstract in class LineItem ...
 34   
 
 35  0
     public void calculate() {
 36  0
         amount = new BigDecimal(quantity * price.doubleValue()).setScale(2, BigDecimal.ROUND_HALF_UP);
 37   
     }
 38   
 
 39   
 }
 40