Branch Coverage

blib/lib/Test/NoLeaks.pm
Criterion Covered Total %
branch 24 44 54.5


line true false branch
253 0 5 unless $PAGE_SIZE = sysconf(30)
256 0 5 unless open my $statm, '<', '/proc/self/statm'
266 0 5 unless opendir my $dh, $fd_dir
280 0 12 unless $code and ref $code eq 'CODE'
285 0 3 unless $track_memory or $track_fds
289 0 12 if $passes < 2
293 0 12 if $passes < 0
302 9 3 if $track_memory
303 10 2 if $track_fds
312 15036 6 if $track_memory
313 15032 10 if $track_fds
315 15036 6 if $track_memory
316 15032 10 if $track_fds
319 0 15042 if $leaked_mem < 0
322 0 15042 if $leaked_fds < 0
329 8 15034 if $leaked_mem > 0
362 1 0 if (not $has_leaks) { }
365 0 0 $track_memory ? :
0 0 $track_fds ? :
371 0 0 if ($mem or $fds)
372 0 0 $track_memory ? :
0 0 $track_fds ? :