Test::Valgrind is a module that lets you run Perl code through the memcheck
tool of the Valgrind Memory Debugger, to test it for memory errors and leaks.
.
Due to the nature of perl's memory allocator, this module can't track leaks
of Perl objects. This includes non-mortalized scalars and memory cycles.
However, it can track leaks of chunks of memory allocated in XS extensions
with Newx and friends or malloc. As such, it's complementary to the other
very good leak detectors such as Test::LeakTrace.
.
Additionally, this module can run arbitrary commands (not just Perl code)
and provide output compliant with Perl's Test Anything Protocol (TAP).
This means that any executable can be run under valgrind and incorporated
into your testsuite.
Installed Size: 236.5 kB
Architectures: all