Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Erlang Coverage Analysis Made Easy!
Erlang Shell
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
src added -spec for module_summary_file
test/src links to modules contained in packages was wrapped in single-quotes (…
.gitignore add tidy target - EXPERIMENTAL! erl_tidy bug trashes -spec
MIT-LICENSE initial revision
Makefile added comment on tidy
README example for running from command line


Coverize - Erlang Coverage Analysis Made Easy!

Perhaps not beautiful yet, but easy to use.

Created by Michael Mullis (

A sample of the usage is in test/src/eunit_helper.erl.
In a helper file, add something like the following

%% Wrapper for cover to make command line calling easy
run_cover() ->
  SourceDirs = [


Calling from Command Line

./bin/  "./src './test/src'" test_suite test ./coverage

Calling from a Makefile
Add a task to the Makefile that looks like this

coverage: compile
	mkdir -p coverage
	erl -noshell -pa ebin -pa test/ebin -s eunit_helper run_cover -s init stop

Then from the command line (or a script) just
  make coverage

The default location is ./coverage.
After it's done (and cover can take a while), take a look at index.html.
That's the starting point.

Hooray! It's easy!

Additionally, you'll probably want to add ./coverage to your .gitignore.
Something went wrong with that request. Please try again.