EMMA Coverage Report (generated Wed Dec 16 17:19:59 CET 2009) |
---|
[all classes][org.sourceforge.xradar.results] |
name | class, % | method, % | block, % | line, % |
---|---|---|---|---|
Rule.java | 100% (1/1) | 60% (6/10) | 36% (20/56) | 57% (8/14) |
name | class, % | method, % | block, % | line, % |
---|---|---|---|---|
class Rule | 100% (1/1) | 60% (6/10) | 36% (20/56) | 57% (8/14) |
getFile (): String | 0% (0/1) | 0% (0/3) | 0% (0/1) | |
setFile (String): void | 0% (0/1) | 0% (0/4) | 0% (0/2) | |
setQuery (String): void | 0% (0/1) | 0% (0/4) | 0% (0/2) | |
toString (): String | 0% (0/1) | 0% (0/25) | 0% (0/1) | |
Rule (): void | 100% (1/1) | 100% (3/3) | 100% (1/1) | |
getName (): String | 100% (1/1) | 100% (3/3) | 100% (1/1) | |
getQuery (): String | 100% (1/1) | 100% (3/3) | 100% (1/1) | |
getType (): String | 100% (1/1) | 100% (3/3) | 100% (1/1) | |
setName (String): void | 100% (1/1) | 100% (4/4) | 100% (2/2) | |
setType (String): void | 100% (1/1) | 100% (4/4) | 100% (2/2) |
1 | /** |
2 | * BSD-style license; for more info see http://xradar.sourceforge.net/license.html |
3 | */ |
4 | package org.sourceforge.xradar.results; |
5 | |
6 | /** |
7 | * @author Romain PELISSE <belaran@gmail.com> |
8 | * |
9 | */ |
10 | public class Rule { |
11 | |
12 | private String name; |
13 | private String type; |
14 | private String query; |
15 | private String file; |
16 | |
17 | public String getFile() { |
18 | return file; |
19 | } |
20 | |
21 | public void setFile(String file) { |
22 | this.file = file; |
23 | } |
24 | |
25 | public String getName() { |
26 | return name; |
27 | } |
28 | |
29 | public void setName(String name) { |
30 | this.name = name; |
31 | } |
32 | |
33 | public String getType() { |
34 | return type; |
35 | } |
36 | |
37 | public void setType(String type) { |
38 | this.type = type; |
39 | } |
40 | |
41 | public String getQuery() { |
42 | return query; |
43 | } |
44 | |
45 | public void setQuery(String query) { |
46 | this.query = query; |
47 | } |
48 | |
49 | @Override |
50 | public String toString() { |
51 | return "[Rule:" + this.name + "(" + this.type + ":" + this.query + ") on" + this.file; |
52 | } |
53 | } |
[all classes][org.sourceforge.xradar.results] |
EMMA 2.0.5312 (C) Vladimir Roubtsov |