1 |
|
|
2 |
|
|
3 |
|
|
4 |
|
|
5 |
|
|
6 |
|
|
7 |
|
|
8 |
|
|
9 |
|
|
10 |
|
|
11 |
|
|
12 |
|
|
13 |
|
|
14 |
|
|
15 |
|
|
16 |
|
package org.kuali.student.common_test_tester.support; |
17 |
|
|
18 |
|
import org.springframework.transaction.annotation.Transactional; |
19 |
|
|
20 |
|
@Transactional |
|
|
| 0% |
Uncovered Elements: 16 (16) |
Complexity: 6 |
Complexity Density: 0.67 |
|
21 |
|
public class MyBusinessClassImpl implements MyBusinessClass{ |
22 |
|
private MyDao myDao; |
23 |
|
private OtherDao otherDao; |
24 |
|
|
|
|
| 0% |
Uncovered Elements: 7 (7) |
Complexity: 2 |
Complexity Density: 0.4 |
|
25 |
0
|
public int doBusinessThing(){... |
26 |
0
|
myDao.createValue(new Value("lalala")); |
27 |
0
|
otherDao.foo(); |
28 |
0
|
if(myDao.findValueFromValue("Value Number One")!=null){ |
29 |
0
|
return 1; |
30 |
|
} |
31 |
0
|
return 0; |
32 |
|
} |
33 |
|
|
34 |
|
|
35 |
|
@return |
36 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
37 |
0
|
public MyDao getMyDao() {... |
38 |
0
|
return myDao; |
39 |
|
} |
40 |
|
|
41 |
|
@param |
42 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
43 |
0
|
public void setMyDao(MyDao myDao) {... |
44 |
0
|
this.myDao = myDao; |
45 |
|
} |
46 |
|
|
47 |
|
@return |
48 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
49 |
0
|
public OtherDao getOtherDao() {... |
50 |
0
|
return otherDao; |
51 |
|
} |
52 |
|
|
53 |
|
@param |
54 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
55 |
0
|
public void setOtherDao(OtherDao otherDao) {... |
56 |
0
|
this.otherDao = otherDao; |
57 |
|
} |
58 |
|
} |