Clover coverage report - XJavaDoc - 1.1 Coverage timestamp: Sun Oct 3 2004 19:56:54 BST FRAMES NO FRAMES |
file stats: | LOC: | 29 |  | Methods: | 1
| NCLOC: | 15 |  | 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
AbstractType.java | 50% | 83.3% | 100% | 77.8% |

1 |  |
     /*
2 |  |
      * Copyright (c) 2001-2003 The XDoclet team
3 |  |
      * All rights reserved.
4 |  |
      */
5 |  |
     package xjavadoc;
6 |  |
7 |  |
     /**
8 |  |
      * Base class for Type.
9 |  |
      *
10 |  |
      * @author    Aslak Hellesøy
11 |  |
      * @created   25. mars 2003
12 |  |
      * @version   Revision: 1.0 $
13 |  |
      */
14 |  |
     abstract class AbstractType implements Type
15 |  |
     {
16 | 4 |
         public boolean equals( Object o )
17 |  |
         {
18 | 4 |
             if( ( o instanceof Type ) )
19 |  |
             {
20 | 4 |
                 Type other = ( Type ) o;
21 | 4 |
                 boolean typeEqual = getType().equals( other.getType() );
22 | 4 |
                 boolean dimensionEqual = getDimension() == other.getDimension();
23 |  |
24 | 4 |
                 return typeEqual && dimensionEqual;
25 |  |
             }
26 | 0 |
             return false;
27 |  |
         }
28 |  |
     }
29 |  |