| 1 |
Source: libtest-memory-cycle-perl |
| 2 |
Maintainer: Debian Perl Group <[email protected]> |
| 3 |
Section: perl |
| 4 |
Testsuite: autopkgtest-pkg-perl |
| 5 |
Priority: optional |
| 6 |
Build-Depends: debhelper-compat (= 13) |
| 7 |
Build-Depends-Indep: libdevel-cycle-perl, |
| 8 |
libpadwalker-perl, |
| 9 |
libtest-pod-perl, |
| 10 |
libtest-pod-coverage-perl, |
| 11 |
perl |
| 12 |
Standards-Version: 3.9.6 |
| 13 |
Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/libtest-memory-cycle-perl |
| 14 |
Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/libtest-memory-cycle-perl.git |
| 15 |
Homepage: https://metacpan.org/release/Test-Memory-Cycle |
| 16 |
|
| 17 |
Package: libtest-memory-cycle-perl |
| 18 |
Architecture: all |
| 19 |
Depends: ${perl:Depends}, |
| 20 |
${misc:Depends}, |
| 21 |
libdevel-cycle-perl, |
| 22 |
libpadwalker-perl |
| 23 |
Description: Perl module that verifies code hasn't left circular references |
| 24 |
Test::Memory::Cycle checks for memory leaks and circular memory |
| 25 |
references. It's a thin Test::More-compatible wrapper around Lincoln |
| 26 |
Stein's Devel::Cycle module. |
| 27 |
. |
| 28 |
Perl's garbage collection has one big problem: Circular references |
| 29 |
can't get cleaned up. A circular reference can be as simple as two |
| 30 |
reference that refer to each other. Test::Memory::Cycle is built on |
| 31 |
top of Devel::Cycle to give you an easy way to check for these |
| 32 |
circular references. You can also use memory_cycle_exists() to make |
| 33 |
sure that you have a cycle where you expect to have one. |