42 return total > 0 ? 100*active/total : 0; |
42 return total > 0 ? 100*active/total : 0; |
43 } |
43 } |
44 |
44 |
45 public int getDonePercent() { |
45 public int getDonePercent() { |
46 int total = getTotal(); |
46 int total = getTotal(); |
47 return total > 0 ? 100*done/total : 0; |
47 return total > 0 ? 100*done/total : 100; |
48 } |
48 } |
49 |
49 |
50 /** |
50 /** |
51 * Adds the specified issue to the summary by increming the respective counter. |
51 * Adds the specified issue to the summary by increming the respective counter. |
52 * @param issue the issue |
52 * @param issue the issue |