1 |
|
|
2 |
|
|
3 |
|
|
4 |
|
|
5 |
|
|
6 |
|
|
7 |
|
|
8 |
|
|
9 |
|
|
10 |
|
|
11 |
|
|
12 |
|
|
13 |
|
|
14 |
|
|
15 |
|
|
16 |
|
|
17 |
|
|
18 |
|
|
19 |
|
|
20 |
|
package com.xpn.xwiki.api; |
21 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (21) |
Complexity: 9 |
Complexity Density: 0.75 |
|
22 |
|
public class DocumentSection |
23 |
|
{ |
24 |
|
private int sectionNumber; |
25 |
|
|
26 |
|
private int sectionIndex; |
27 |
|
|
28 |
|
private String sectionLevel; |
29 |
|
|
30 |
|
private String sectionTitle; |
31 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (4) |
Complexity: 1 |
Complexity Density: 0.25 |
|
32 |
60 |
public DocumentSection(int sectionNumber, int sectionIndex, String sectionLevel,... |
33 |
|
String sectionTitle) |
34 |
|
{ |
35 |
60 |
setSectionNumber(sectionNumber); |
36 |
60 |
setSectionIndex(sectionIndex); |
37 |
60 |
setSectionLevel(sectionLevel); |
38 |
60 |
setSectionTitle(sectionTitle); |
39 |
|
} |
40 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
41 |
11 |
public int getSectionNumber()... |
42 |
|
{ |
43 |
11 |
return this.sectionNumber; |
44 |
|
} |
45 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
46 |
60 |
public void setSectionNumber(int sectionNumber)... |
47 |
|
{ |
48 |
60 |
this.sectionNumber = sectionNumber; |
49 |
|
} |
50 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
51 |
26 |
public int getSectionIndex()... |
52 |
|
{ |
53 |
26 |
return this.sectionIndex; |
54 |
|
} |
55 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
56 |
60 |
public void setSectionIndex(int sectionIndex)... |
57 |
|
{ |
58 |
60 |
this.sectionIndex = sectionIndex; |
59 |
|
} |
60 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
61 |
28 |
public String getSectionLevel()... |
62 |
|
{ |
63 |
28 |
return this.sectionLevel; |
64 |
|
} |
65 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
66 |
60 |
public void setSectionLevel(String sectionLevel)... |
67 |
|
{ |
68 |
60 |
this.sectionLevel = sectionLevel; |
69 |
|
} |
70 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
71 |
16 |
public String getSectionTitle()... |
72 |
|
{ |
73 |
16 |
return this.sectionTitle; |
74 |
|
} |
75 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
76 |
60 |
public void setSectionTitle(String sectionTitle)... |
77 |
|
{ |
78 |
60 |
this.sectionTitle = sectionTitle; |
79 |
|
} |
80 |
|
} |