diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/rebar_prv_cover.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rebar_prv_cover.erl b/src/rebar_prv_cover.erl index 2e2c882..c890452 100644 --- a/src/rebar_prv_cover.erl +++ b/src/rebar_prv_cover.erl @@ -248,7 +248,7 @@ calculate_total(Stats) -> Stats )). -percentage({0, 0}) -> "0%"; +percentage({_, 0}) -> "100%"; percentage({Cov, Not}) -> integer_to_list(trunc((Cov / (Cov + Not)) * 100)) ++ "%". write_index(State, Coverage) -> |