Branch Coverage

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


line true false branch
258 0 5 unless $PAGE_SIZE = sysconf(30)
261 0 5 unless open my $statm, '<', '/proc/self/statm'
271 0 5 unless opendir my $dh, $fd_dir
285 0 12 unless $code and ref $code eq 'CODE'
290 0 3 unless $track_memory or $track_fds
294 0 12 if $passes < 2
298 0 12 if $passes < 0
307 9 3 if $track_memory
308 10 2 if $track_fds
317 15036 6 if $track_memory
318 15032 10 if $track_fds
320 15036 6 if $track_memory
321 15032 10 if $track_fds
324 0 15042 if $leaked_mem < 0
327 0 15042 if $leaked_fds < 0
334 8 15034 if $leaked_mem > 0
369 1 0 if (not $has_leaks) { }
372 0 0 $track_memory ? :
0 0 $track_fds ? :
380 0 0 if ($mem or $fds)
381 0 0 $track_memory ? :
0 0 $track_fds ? :