Package: Pair

Pair

nameinstructionbranchcomplexitylinemethod
Pair(Object, Object)
M: 0 C: 9
100%
M: 0 C: 0
100%
M: 0 C: 1
100%
M: 0 C: 4
100%
M: 0 C: 1
100%
getFirst()
M: 0 C: 3
100%
M: 0 C: 0
100%
M: 0 C: 1
100%
M: 0 C: 1
100%
M: 0 C: 1
100%
getSecond()
M: 0 C: 3
100%
M: 0 C: 0
100%
M: 0 C: 1
100%
M: 0 C: 1
100%
M: 0 C: 1
100%
setFirst(Object)
M: 4 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 2 C: 0
0%
M: 1 C: 0
0%
setSecond(Object)
M: 4 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 2 C: 0
0%
M: 1 C: 0
0%
toString()
M: 17 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 1 C: 0
0%
M: 1 C: 0
0%

Coverage

1: package org.overture.codegen.runtime.traces;
2:
3: public class Pair<T1, T2>
4: {
5:         private T1 first;
6:         private T2 second;
7:
8:         public Pair(T1 first, T2 second)
9:         {
10:                 this.first = first;
11:                 this.second = second;
12:         }
13:
14:         public T1 getFirst()
15:         {
16:                 return first;
17:         }
18:
19:         public void setFirst(T1 first)
20:         {
21:                 this.first = first;
22:         }
23:
24:         public T2 getSecond()
25:         {
26:                 return second;
27:         }
28:
29:         public void setSecond(T2 second)
30:         {
31:                 this.second = second;
32:         }
33:
34:         @Override
35:         public String toString()
36:         {
37:                 return "(" + first + ":" + second + ")";
38:         }
39: }