xref
: The unresolved arity (-1) is now recognized
in analyses and queries.cover
does no longer hang if an interface function
is called on a remote node - it returns
{error,not_main_node}
.fprof
: Time spent in the last function in a chain,
i.e. a function which did not call another function, and
the time when a process was scheduled out, was charged on
the above function. This resulted in own time in many
cases being bigger than acc time since the time a process
was scheduled out was charged on the function from which
the process was scheduled out. This is now corrected.cover
: Added "Exclude Included Functions". If
"real code" is included in a modules which is cover
compiled, there will be no bumps for lines in the
included file. Earlier this would cause faulty bumps for
lines in the module, i.e. if the code was on line 4 in
the included file it would produce a bump for line 4 in
the module. Lines in included files are now just
disregarded.
is_boolean
.cover
: Adjustments to handle new syntax of
try-catch.
.erl
and .beam
files and
export/import cover data.cover
does no longer report coverage on lines which
are not executed.function
is now
colored.is_*
guards are now colored.andalso
and
orelse
are now colored.
cover:start(Nodes)
and
cover:stop(Nodes)
. Cover compiled modules will be
loaded on all nodes added with cover:start(Nodes)
.
cover:stop(Nodes)
will collect coverage data from
the stopped nodes and merge it with data collected on
the main (controller) node.cover:analyse/1,2,3
and
cover:analyse_to_file/1,2,3
will also collect data
from all nodes before analysing.deprecated
is used by
xref
to find calls to deprecated functions.
The m/1
, d/1
, and analyze/2,3
functions
have been updated to return calls to deprecated functions.
See also xref(3)
for more details.cover:compile_beam/1
and
cover:compile_beam_directory/0,1
. These functions use
abstract code from existing beam files when cover compiling.
html
to
cover:analyse_to_file/1,2,3
. Instead of plain text,
a HTML file is generated with all uncovered lines colored
red.cover:export/1,2
and
cover:import/1
. These functions can be used to export
current coverage data to a file, and then import the data
in a later session. Data can be exported for one single
module or for all currently cover compiled modules.erlang-align-arrows
.instrument
module has been
slightly changed. Also some new functionality has been
added. See instrument(3)
for more information.