Clover coverage report - XJavaDoc - 1.1 Coverage timestamp: Sun Oct 3 2004 19:56:54 BST FRAMES NO FRAMES |
file stats: | LOC: | 61 |  | Methods: | 7
| NCLOC: | 40 |  | 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
ConstructorImpl.java | - | 23.1% | 28.6% | 25% |

1 |  |
     /*
2 |  |
      * Copyright (c) 2001-2003 The XDoclet team
3 |  |
      * All rights reserved.
4 |  |
      */
5 |  |
     package xjavadoc;
6 |  |
7 |  |
     import java.util.List;
8 |  |
9 |  |
     /**
10 |  |
      * Describe what this class does
11 |  |
      *
12 |  |
      * @author    Aslak Hellesøy
13 |  |
      * @created   18. januar 2002
14 |  |
      */
15 |  |
     final class ConstructorImpl extends AbstractExecutableMember implements XConstructor
16 |  |
     {
17 |  |
         public static int  instanceCount = 0;
18 |  |
19 | 546 |
         public ConstructorImpl( AbstractClass containingClass, XTagFactory tagFactory  )
20 |  |
         {
21 | 546 |
             super( containingClass, tagFactory );
22 | 546 |
             instanceCount++;
23 |  |
         }
24 |  |
25 | 0 |
         public final boolean isConstructor()
26 |  |
         {
27 | 0 |
             return true;
28 |  |
         }
29 |  |
30 | 0 |
         public XProgramElement getSuperElement()
31 |  |
         {
32 | 0 |
             return getSuperElement( false );
33 |  |
         }
34 |  |
35 | 0 |
         public List getAllSuperElements()
36 |  |
         {
37 | 0 |
             return null;
38 |  |
         }
39 |  |
40 | 546 |
         public String getName()
41 |  |
         {
42 | 546 |
             return getContainingClass().getName();
43 |  |
         }
44 |  |
45 | 0 |
         public final void setName( String name )
46 |  |
         {
47 | 0 |
             throw new UnsupportedOperationException( "Can't set name for constructors" );
48 |  |
         }
49 |  |
50 | 0 |
         protected String buildStringId()
51 |  |
         {
52 | 0 |
             StringBuffer sb = new StringBuffer();
53 |  |
54 | 0 |
             sb = new StringBuffer();
55 | 0 |
             sb.append( getModifiers() );
56 | 0 |
             sb.append( ' ' );
57 | 0 |
             sb.append( getNameWithSignature( false ) );
58 | 0 |
             return sb.toString();
59 |  |
         }
60 |  |
     }
61 |  |