| Statement Coverage | Branch Coverage | Loop Coverage | Strict Condition Coverage | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| private AppFile() | 4 / 4 | 100 % | 
                         |    
                               0 / 0 | --- | 0 / 0 | --- | 0 / 0 | --- | |||
| static AppFile newFile() | 0 / 0 | --- | 0 / 0 | --- | 0 / 0 | --- | 0 / 0 | --- | ||||
| List<Book> getBooks() | 0 / 0 | --- | 0 / 0 | --- | 0 / 0 | --- | 0 / 0 | --- | ||||
| Book getBook(String id) | 0 / 0 | --- | 0 / 0 | --- | 0 / 0 | --- | 0 / 0 | --- | ||||
| void addBook(Book book) | 3 / 3 | 100 % | 
                         |    
                               0 / 0 | --- | 0 / 0 | --- | 0 / 0 | --- | |||
| void removeBook(String bookId) | 2 / 2 | 100 % | 
                         |    
                               0 / 0 | --- | 0 / 0 | --- | 0 / 0 | --- | |||
| String getId() | 0 / 0 | --- | 0 / 0 | --- | 0 / 0 | --- | 0 / 0 | --- | ||||
| boolean isModified() | 0 / 0 | --- | 0 / 0 | --- | 0 / 0 | --- | 0 / 0 | --- | ||||
| void setModified(boolean modified) | 2 / 2 | 100 % | 
                         |    
                               0 / 0 | --- | 0 / 0 | --- | 0 / 0 | --- | |||
| void addAppModelModifyListener(AppModelModifyListener listener) | 1 / 1 | 100 % | 
                         |    
                               0 / 0 | --- | 0 / 0 | --- | 0 / 0 | --- | |||
| void removeAppModelModifyListener(AppModelModifyListener listener) | 1 / 1 | 100 % | 
                         |    
                               0 / 0 | --- | 0 / 0 | --- | 0 / 0 | --- | |||
| private void notifyListeners() | 1 / 1 | 100 % | 
                         |    
                               0 / 0 | --- | 2 / 3 | 66 % | 
                         |    
                               0 / 0 | --- | ||
| private void setPath(String path) | 2 / 2 | 100 % | 
                         |    
                               0 / 0 | --- | 0 / 0 | --- | 0 / 0 | --- | |||
| String getPath() | 0 / 0 | --- | 0 / 0 | --- | 0 / 0 | --- | 0 / 0 | --- | ||||
| void saveAppFile(File file) throws ParserConfigurationException, TransformerException, IOException | 22 / 22 | 100 % | 
                         |    
                                   2 / 3 | 66 % | 
                         |    
                                   1 / 3 | 33 % | 
                         |    
                                   0 / 1 | 0 % | 
                         |    
                    
| static AppFile loadAppFile(File file) throws ParserConfigurationException, SAXException, IOException | 10 / 10 | 100 % | 
                         |    
                               0 / 0 | --- | 2 / 6 | 33 % | 
                         |    
                               0 / 0 | --- | ||
| NodeListIterable | 2 / 2 | 100 % | 
                         |    
                               0 / 0 | --- | 2 / 3 | 66 % | 
                         |    
                                   1 / 1 | 100 % | 
                         |    
                    |
| BookListener | 1 / 1 | 100 % | 
                         |    
                               0 / 0 | --- | 0 / 0 | --- | 0 / 0 | --- | |||