Statement Coverage | Branch Coverage | Loop Coverage | Strict Condition Coverage | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
public Book(String id) | 1 / 1 | 100 % |
|
0 / 0 | --- | 0 / 0 | --- | 0 / 0 | --- | |||
public Book() | 1 / 1 | 100 % |
|
0 / 0 | --- | 0 / 0 | --- | 0 / 0 | --- | |||
public String getId() | 0 / 0 | --- | 0 / 0 | --- | 0 / 0 | --- | 0 / 0 | --- | ||||
public String getName() | 0 / 0 | --- | 0 / 0 | --- | 0 / 0 | --- | 0 / 0 | --- | ||||
public String getAuthor() | 0 / 0 | --- | 0 / 0 | --- | 0 / 0 | --- | 0 / 0 | --- | ||||
public int getYear() | 0 / 0 | --- | 0 / 0 | --- | 0 / 0 | --- | 0 / 0 | --- | ||||
public String getIsbn() | 0 / 0 | --- | 0 / 0 | --- | 0 / 0 | --- | 0 / 0 | --- | ||||
public void setName(String name) | 2 / 2 | 100 % |
|
0 / 0 | --- | 0 / 0 | --- | 0 / 0 | --- | |||
public void setAuthor(String author) | 2 / 2 | 100 % |
|
0 / 0 | --- | 0 / 0 | --- | 0 / 0 | --- | |||
public void setYear(int year) | 2 / 2 | 100 % |
|
0 / 0 | --- | 0 / 0 | --- | 0 / 0 | --- | |||
public void setIsbn(String isbn) | 2 / 2 | 100 % |
|
0 / 0 | --- | 0 / 0 | --- | 0 / 0 | --- | |||
private void notifiyChange() | 1 / 1 | 100 % |
|
2 / 2 | 100 % |
|
0 / 0 | --- | 1 / 1 | 100 % |
|
|
public void setBookModifyListener(BookModifyListener listener) | 1 / 1 | 100 % |
|
0 / 0 | --- | 0 / 0 | --- | 0 / 0 | --- | |||
public Element getXMLRepresentation(Document xmlDoc) | 6 / 6 | 100 % |
|
1 / 2 | 50 % |
|
0 / 0 | --- | 0 / 1 | 0 % |
|
|
public static Book getBookFromXML(Element element) | 10 / 10 | 100 % |
|
0 / 0 | --- | 0 / 0 | --- | 0 / 0 | --- | |||
BookModifyListener | 0 / 0 | --- | 0 / 0 | --- | 0 / 0 | --- | 0 / 0 | --- |