Statement Coverage | Branch Coverage | Loop Coverage | Strict Condition Coverage | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
public static AppController getInstance() | 0 / 1 | 0 % |
|
0 / 2 | 0 % |
|
0 / 0 | --- | 0 / 1 | 0 % |
|
|
private AppController() | 0 / 1 | 0 % |
|
0 / 0 | --- | 0 / 0 | --- | 0 / 0 | --- | |||
public static void initialize() | 0 / 2 | 0 % |
|
0 / 0 | --- | 0 / 0 | --- | 0 / 0 | --- | |||
private void onOpenNewWindow() | 2 / 2 | 100 % |
|
0 / 0 | --- | 0 / 0 | --- | 0 / 0 | --- | |||
private void onNewBook(String fileId) | 2 / 2 | 100 % |
|
0 / 0 | --- | 0 / 0 | --- | 0 / 0 | --- | |||
private boolean onCloseWindow(String fileId) | 5 / 5 | 100 % |
|
5 / 8 | 62 % |
|
0 / 0 | --- | 0 / 2 | 0 % |
|
|
private void onDelete(String fileId, String[] bookIds) | 3 / 3 | 100 % |
|
5 / 6 | 83 % |
|
1 / 3 | 33 % |
|
0 / 1 | 0 % |
|
private void onOpen(String fileId) | 4 / 10 | 40 % |
|
3 / 14 | 21 % |
|
0 / 0 | --- | 0 / 3 | 0 % |
|
|
private void onQuit(String fileId, String[] allFileIds) | 0 / 1 | 0 % |
|
0 / 2 | 0 % |
|
0 / 3 | 0 % |
|
0 / 1 | 0 % |
|
private boolean onSave(String fileId) | 2 / 2 | 100 % |
|
2 / 2 | 100 % |
|
0 / 0 | --- | 1 / 1 | 100 % |
|
|
private boolean onSaveAs(String fileId) | 2 / 2 | 100 % |
|
1 / 2 | 50 % |
|
0 / 0 | --- | 0 / 1 | 0 % |
|
|
private void save(String fileId, File file) | 1 / 4 | 25 % |
|
1 / 4 | 25 % |
|
0 / 0 | --- | 0 / 0 | --- | ||
AppViewListener | 12 / 16 | 75 % |
|
6 / 9 | 66 % |
|
0 / 0 | --- | 0 / 0 | --- |