| Statement Coverage | Branch Coverage | Loop Coverage | Strict Condition Coverage | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| public String loadFile(File file) throws ParserConfigurationException, SAXException, IOException | 2 / 2 | 100 % |
|
1 / 2 | 50 % |
|
0 / 0 | --- | 0 / 1 | 0 % |
|
|
| AppModel.java | ||
|---|---|---|
| 63 | public String loadFile(File file) throws ParserConfigurationException, | |
| 64 | SAXException, IOException { | |
| 65 | if (file == null) { | |
| 66 | throw new NullPointerException("file == null"); | |
| 67 | } | |
| 68 | ||
| 69 | AppFile appFile = AppFile.loadAppFile(file); | |
| 70 | putAppFile(appFile); | |
| 71 | ||
| 72 | return appFile.getId(); | |
| 73 | } | |