Statement Coverage | Branch Coverage | Loop Coverage | Strict Condition Coverage | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
private void save(String fileId, File file) | 1 / 4 | 25 % |
|
1 / 4 | 25 % |
|
0 / 0 | --- | 0 / 0 | --- |
AppController.java | ||
---|---|---|
183 | private void save(String fileId, File file) { | |
184 | try { | |
185 | model.saveFile(fileId, file); | |
186 | } catch (ParserConfigurationException e) { | |
187 | view.showErrorDialog("Error saving file", fileId); | |
188 | } catch (TransformerException e) { | |
189 | view.showErrorDialog("Error saving file", fileId); | |
190 | } catch (IOException e) { | |
191 | view.showErrorDialog("Error saving file", fileId); | |
192 | } | |
193 | } |