EMMA Coverage Report (generated Wed Dec 16 17:19:59 CET 2009) |
---|
[all classes][org.sourceforge.xradar.results] |
name | class, % | method, % | block, % | line, % |
---|---|---|---|---|
Violation.java | 100% (1/1) | 50% (3/6) | 33% (10/30) | 50% (4/8) |
name | class, % | method, % | block, % | line, % |
---|---|---|---|---|
class Violation | 100% (1/1) | 50% (3/6) | 33% (10/30) | 50% (4/8) |
getRule (): Rule | 0% (0/1) | 0% (0/3) | 0% (0/1) | |
setRule (Rule): void | 0% (0/1) | 0% (0/4) | 0% (0/2) | |
toString (): String | 0% (0/1) | 0% (0/13) | 0% (0/1) | |
Violation (): void | 100% (1/1) | 100% (3/3) | 100% (1/1) | |
getName (): String | 100% (1/1) | 100% (3/3) | 100% (1/1) | |
setName (String): void | 100% (1/1) | 100% (4/4) | 100% (2/2) |
1 | /** |
2 | * |
3 | */ |
4 | package org.sourceforge.xradar.results; |
5 | |
6 | /** |
7 | * |
8 | * @author Romain PELISSE, <belaran@gmail.com> |
9 | * |
10 | */ |
11 | public class Violation { |
12 | |
13 | private String name; |
14 | private Rule rule; |
15 | |
16 | public Rule getRule() { |
17 | return rule; |
18 | } |
19 | |
20 | public void setRule(Rule rule) { |
21 | this.rule = rule; |
22 | } |
23 | |
24 | public String getName() { |
25 | return name; |
26 | } |
27 | |
28 | public void setName(String name) { |
29 | this.name = name; |
30 | } |
31 | |
32 | @Override |
33 | public String toString() { |
34 | return this.name + ":" + this.getRule(); |
35 | } |
36 | } |
[all classes][org.sourceforge.xradar.results] |
EMMA 2.0.5312 (C) Vladimir Roubtsov |