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

COVERAGE SUMMARY FOR SOURCE FILE [HprofThreadData.java]

nameclass, %method, %block, %line, %
HprofThreadData.java100% (1/1)50%  (2/4)29%  (16/56)60%  (6/10)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class HprofThreadData100% (1/1)50%  (2/4)29%  (16/56)60%  (6/10)
id (): long 0%   (0/1)0%   (0/3)0%   (0/1)
toString (): String 0%   (0/1)0%   (0/37)0%   (0/3)
HprofThreadData (String, long, long, String): void 100% (1/1)100% (13/13)100% (5/5)
name (): 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.util.*;
18import java.io.*;
19 
20public class HprofThreadData extends HprofHeapElement {
21  String _name;
22  String _group;
23  long  _id;
24  
25  public HprofThreadData( String n, long id, long object, String group ) {
26        super(object);
27    _name = n;
28    _id   = id;
29    _group  = group;
30  }
31  
32  public String name()  { return _name; }
33  public long id()    { return _id; }
34 
35  public String toString() {
36    StringBuffer p = new StringBuffer();
37    p.append( "THREAD START (obj=" + Long.toHexString(addr()) + ", id = " + _id + ", name=" + _name + ", group=" + _group + ")\n" );
38    return p.toString();
39  }
40}

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