excov_reporter_console v0.1.8 ExCov.Reporter.Console
Summary
Functions
Render a line
Render a line number if :show_line_number?
option is true
Render a list of lines
Render a module
Render a list of Modules
Render the project report detail if :show_detail?is
true`
Render the project report summary if :show_summary?is
true`
Given an analysed ExCov.Project
and a Keyword
list of options, prints a
code coverage report
Functions
Render a line.
If a line is relevant?
and covered?
render it in green.
If a line is relevant?
but not covered?
render it in red.
If a line is not relevant?
render it normally.
Render a line number if :show_line_number?
option is true
.
Render a list of lines.
Render a module.
Render a list of Modules.
Render the project report detail if :show_detail?is
true`.
render_project_summary(ExCov.Project.t, Keyword.t) :: iolist
Render the project report summary if :show_summary?is
true`.
Given an analysed ExCov.Project
and a Keyword
list of options, prints a
code coverage report.
Most reporters support the following options:
:show_summary?
a boolean indicating if a summary should be reported.:show_detail?
a boolean indicating if a details should be reported.:console_printer
a function that should be called if the reporter wishes to print something to console.
None of the above options are required and reporter may chose to ignore any and all of them.
Callback implementation for ExCov.Reporter.report!/2
.