Branch Coverage

blib/lib/Test2/Plugin/MemUsage.pm
Criterion Covered Total %
branch 8 16 50.0


line true false branch
12 0 1 if $ADDED_HOOK++
23 0 1 unless -f $file
27 0 1 unless open my $fh, '<', $file
30 0 1 unless close $fh
33 0 1 unless $stats
36 1 0 if $stats =~ /VmPeak:\s+(\d+) (\S+)/
37 1 0 if $stats =~ /VmSize:\s+(\d+) (\S+)/
38 1 0 if $stats =~ /VmRSS:\s+(\d+) (\S+)/