Statement Coverage | Branch Coverage | Loop Coverage | Strict Condition Coverage | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
private void updateTitle(boolean modified) | 3 / 3 | 100 % |
|
2 / 2 | 100 % |
|
0 / 0 | --- | 1 / 1 | 100 % |
|
FrameMain.java | ||
---|---|---|
257 | private void updateTitle(boolean modified) { | |
258 | String title = (model.getPathOfFile(this.fileId) == null ? "Untitled" | |
259 | : model.getPathOfFile(this.fileId)); | |
260 | ||
261 | if (modified) { | |
262 | title += "*"; | |
263 | } | |
264 | ||
265 | setTitle(title); | |
266 | } |