Branch Coverage

blib/lib/Linux/Info/MemStats.pm
Criterion Covered Total %
branch 7 12 58.3


line true false branch
126 0 2 ref $_[0] ? :
148 2 0 $file->{'path'} ? :
149 0 2 unless open my $fh, '<', $filename
186 30 60 if ($line =~ /^((?:Mem|Swap)(?:Total|Free)|Buffers|Cached|SwapCached|Active|Inactive| Dirty|Writeback|Mapped|Slab|Commit(?:Limit|ted_AS)):\s*(\d+)/x) { }
0 60 elsif ($line =~ /^Inact_(?:dirty|laundry|clean):\s*(\d+)/) { }
205 0 2 if (not $meminfo{'swaptotal'}) { }