EMMA Coverage Report (generated Sat Jun 02 16:47:50 EDT 2012)
[all classes][net.sf.madmap]

COVERAGE SUMMARY FOR SOURCE FILE [HprofRoot.java]

nameclass, %method, %block, %line, %
HprofRoot.java100% (1/1)67%  (2/3)27%  (10/37)57%  (4/7)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class HprofRoot100% (1/1)67%  (2/3)27%  (10/37)57%  (4/7)
toString (): String 0%   (0/1)0%   (0/27)0%   (0/3)
HprofRoot (long, String): void 100% (1/1)100% (7/7)100% (3/3)
rootType (): String 100% (1/1)100% (3/3)100% (1/1)

1/*
2 * Copyright 2008 Eric Caspole
3 * 
4 * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this
5 * file except in compliance with the License. You may obtain a copy of the License at
6 * 
7 * http://www.apache.org/licenses/LICENSE-2.0
8 * 
9 * Unless required by applicable law or agreed to in writing, software distributed under
10 * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
11 * KIND, either express or implied. See the License for the specific language governing
12 * permissions and limitations under the License.
13 */
14 
15package net.sf.madmap;
16 
17import java.io.*;
18import java.util.*;
19 
20public class HprofRoot extends HprofHeapElement {
21  String    _kind;
22  
23/*
24    if ( kindstr.equals("<JNI global ref>") ) {
25    } else if ( kindstr.equals("<unknown>") ) {
26    } else if ( kindstr.equals("<Java stack>") ) {
27    } else if ( kindstr.equals("<thread block>") ) {
28    } else if ( kindstr.equals("<JNI local ref>") ) {
29    } else if ( kindstr.equals("<thread>") ) {
30    } else if ( kindstr.equals("<busy monitor>") ) {
31    } else if ( kindstr.equals("<native stack>") ) {
32    } else if ( kindstr.equals("<system class>") ) {
33*/  
34  
35  public HprofRoot( long o, String k ) {
36    super( o );
37    _kind   = k;
38  }
39 
40  public String rootType() {
41    return _kind;
42  }
43  
44  public String toString() {
45    StringBuffer p = new StringBuffer();
46  
47    p.append( "ROOT " + Long.toHexString(addr()) + " (kind=" + _kind + ")");
48    return p.toString();
49  }
50  
51}

[all classes][net.sf.madmap]
EMMA 2.0.5312 (C) Vladimir Roubtsov