anchor.diff:                    [], Modules),
       IndexFilename = filename:join([CoverBase, "index.html"]),
       {ok, Index} = file:open(IndexFilename, [write]),
  -    {LineTotal, CoverTotal} = 
  +    {LineTotal, CoverTotal} =
           lists:foldl(fun({_,_,Lines,Covered}, {LineAcc, CovAcc}) ->
                               {LineAcc+Lines, CovAcc+Covered}
                       end, {0,0}, Coverages),
  
positive.code:     io:format("Cover analysis in ~s~n", [IndexFilename]).
  
  analyze_module(CoverBase, Module) ->
      {ok, Filename} = 
          cover:analyze_to_file(
            Module,
            filename:join(CoverBase, atom_to_list(Module)++".COVER.html"),
  
negative.code: percentage(_, 0) -> 1000.0;
  percentage(Part, Total) ->
      (Part/Total)*100.
  