Port details |
- p5-Test2-Tools-MemoryCycle Check for memory leaks and circular memory references
- 0.01 devel
=2 0.01Version of this port present on the latest quarterly branch. - Maintainer: sunpoet@FreeBSD.org
 - Port Added: 2022-10-03 17:15:15
- Last Update: 2024-08-15 15:30:59
- Commit Hash: 352d161
- People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py39-PyOpenGL, p5-Sane
- Also Listed In: perl5
- License: ART10 GPLv1+
- WWW:
- https://metacpan.org/dist/Test2-Tools-MemoryCycle
- Description:
- Perl's garbage collection has one big problem: Circular references can't get
cleaned up. The above example is the sort of thing that sometimes trips me up,
where a code reference inside a data structure refers to another part of the
data structure. There already exists a good testing module to find these sort of
problems: Test::Memory::Cycle, so why write this one? Well that module uses
Test::Builder, and this one instead uses Test2::API. If you want to write
Test2::Suite tests without pulling in Test::Builder then this is the cycle
testing module for you.
Test2::Tools::MemoryCycle also uses the standard Exporter interface, instead of
letting you specify a test plan. That behavior was once in vogue I guess, but I
do not care for it.
¦ ¦ ¦ ¦ 
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- p5-Test2-Tools-MemoryCycle>0:devel/p5-Test2-Tools-MemoryCycle
- To install the port:
- cd /usr/ports/devel/p5-Test2-Tools-MemoryCycle/ && make install clean
- To add the package, run one of these commands:
- pkg install devel/p5-Test2-Tools-MemoryCycle
- pkg install p5-Test2-Tools-MemoryCycle
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: p5-Test2-Tools-MemoryCycle
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1664767802
SHA256 (Test2-Tools-MemoryCycle-0.01.tar.gz) = 535b3dca542a33251512ade4b5a7dbebe3c448d83f880d198e43dc127979698b
SIZE (Test2-Tools-MemoryCycle-0.01.tar.gz) = 16292
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- p5-Devel-Cycle>=0 : devel/p5-Devel-Cycle
- p5-PadWalker>=1.0 : devel/p5-PadWalker
- perl5>=5.36<5.37 : lang/perl5.36
- perl5>=5.36<5.37 : lang/perl5.36
- Test dependencies:
-
- p5-Test-Simple>=1.302200 : devel/p5-Test-Simple
- Runtime dependencies:
-
- p5-Devel-Cycle>=0 : devel/p5-Devel-Cycle
- p5-PadWalker>=1.0 : devel/p5-PadWalker
- perl5>=5.36<5.37 : lang/perl5.36
- There are no ports dependent upon this port
Configuration Options:
- No options to configure
- Options name:
- devel_p5-Test2-Tools-MemoryCycle
- USES:
- perl5
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|