pkgsrc/devel/p5-Test-Weaken/DESCR
wen abba807b09 Updated to 3.020000
Updated DESCR

Upstream changes:
3.020000 July 2012
       * new destructor_method option

3.018000 June 2012
       * new options ignore_preds, ignore_object, ignore_objects

3.016000 May 2012
       * new ignore_class and ignore_classes options

3.014000 February 2012
       * tests force Dumper sortkeys

3.012000 February 2012
       * tests allow for "at line 123." with a "."

3.010000 February 2012
       * constructor can return multiple values

3.008000 January 2012
       * Try for Perl 5.6.0 too.
       * XSUB bits in the main docs.
       * Slightly more compact SYNOPSIS.

3.007_001 Sun Jan  6 19:58:00 PST 2012
       * Cope with some tied glob warnings of perl 5.14 and up.

3.007_000 Sun Jan  1 17:29:41 PST 2012
       * New developer's release
       * Add Kevin Ryde's XSUB doc
2012-09-15 14:43:53 +00:00

21 lines
1 KiB
Text

Test::Weaken helps detect unfreed Perl data in arrays, hashes, scalars,
objects, etc, by descending recursively through structures and watching
that everything is freed. Unfreed data is a useless overhead and may
cause an application to abend due to lack of memory.
Normally if the last reference to something is discarded then it and
anything in it is freed automatically. But this might not occur due to
circular references, unexpected global variables or closures, or reference
counting mistakes in XSUBs.
Test::Weaken is named for the strategy used to detect leaks. References
are taken to the test objects and all their contents, then those
references are weakened and expected to be then freed.
There's options to ignore intentional globals, or include extra associated
data held elsewhere, or invoke an explicit destructor. Unfreed parts are
reported and can be passed to other modules such as Devel::FindRef to try
to discover why they weren't freed.
Test::Weaken examines structures to an unlimited depth and is safe on
circular structures.