1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
|
Source: libtest-refcount-perl
Maintainer: Debian Perl Group <pkg-perl-maintainers@lists.alioth.debian.org>
Uploaders: Jonathan Yu <jawnsy@cpan.org>,
gregor herrmann <gregoa@debian.org>
Section: perl
Priority: optional
Build-Depends: debhelper (>= 9),
libmodule-build-perl
# optional builddep (tests), broken with 5.22
# libdevel-findref-perl (>= 1.430),
Build-Depends-Indep: perl,
libtest-pod-perl
Standards-Version: 3.9.6
Vcs-Browser: https://anonscm.debian.org/cgit/pkg-perl/packages/libtest-refcount-perl.git
Vcs-Git: git://anonscm.debian.org/pkg-perl/packages/libtest-refcount-perl.git
Homepage: https://metacpan.org/release/Test-Refcount
Testsuite: autopkgtest-pkg-perl
Package: libtest-refcount-perl
Architecture: all
Depends: ${misc:Depends},
${perl:Depends}
# optional, broken with 5.22
# Suggests: libdevel-findref-perl (>= 1.430)
Description: Perl module to assert reference counts
Test::Refcount asserts that an object's reference count is as expected. Since
Perl's automatic memory management algorithm uses reference counting to keep
track of which 'things' (ie, scalars, objects, etc.) are in use, problems
like circular references (where a variable points to itself) can prevent Perl
from properly freeing them.
.
If the assertion fails; that is, if the actual reference count is different
to what was expected, a trace of references to the object is printed, using
the Devel::FindRef module. It is probably most useful as part of a
comprehensive module author test suite.
|