Skip to content

Commit

Permalink
added -spec for module_summary_file
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Mullis committed Mar 26, 2010
1 parent 66356af commit 33638c7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/coverize.erl
Original file line number Diff line number Diff line change
Expand Up @@ -95,5 +95,6 @@ calc_percentage(_,0) -> 100;
calc_percentage(CoveredLines,UncoveredLines) ->
round((CoveredLines / (CoveredLines+UncoveredLines)) * 100).

-spec module_summary_file(atom()) -> string().
module_summary_file(ModuleName) ->
atom_to_list(ModuleName) ++ ".COVER.html".

0 comments on commit 33638c7

Please sign in to comment.