Condition Coverage

blib/lib/Parse/DMIDecode/Handle.pm
Criterion Covered Total %
condition 18 58 31.0


and 3 conditions

line !l l&&!r l&&r condition
51 346 0 0 @invalidkeys and $^W
56 0 2547 206 defined $$stor{'handle'} and /^\s*DMI type (\d+), (\d+) bytes?\.?\s*$/
137 0 0 0 ref $self and UNIVERSAL::isa($self, 'Parse::DMIDecode::Handle')
145 0 0 6 ref $self and UNIVERSAL::isa($self, 'Parse::DMIDecode::Handle')
155 0 0 17 ref $self and UNIVERSAL::isa($self, 'Parse::DMIDecode::Handle')
163 0 0 0 ref $self and UNIVERSAL::isa($self, 'Parse::DMIDecode::Handle')
171 0 0 0 ref $self and UNIVERSAL::isa($self, 'Parse::DMIDecode::Handle')
179 0 0 0 ref $self and UNIVERSAL::isa($self, 'Parse::DMIDecode::Handle')
188 0 0 0 ref $self and UNIVERSAL::isa($self, 'Parse::DMIDecode::Handle')
197 0 0 0 ref $self and UNIVERSAL::isa($self, 'Parse::DMIDecode::Handle')
232 2201 346 0 !$name || $legacy_dmidecode_binary_data and /^(([a-f0-9]{2} )+)\s*\t[[:print:]]{1,16}\s*$/
250 0 580 1617 $name and /^\s{$key_indent}(\S.*?)(?::|:\s+(\S+.*?))?\s*$/
0 0 580 $name and $key
0 0 580 $name and $key and $indent > $key_indent
0 0 580 $name and $key and $indent > $key_indent and /^\s*(\S+.*?)\s*$/
281 346 0 0 @errors and not $$stor{'nowarnings'}

or 2 conditions

line l !l condition
82 350 0 $$data{$name} || {}
83 162 188 $$keywords{$name} || {}

or 3 conditions

line l !l&&r !l&&!r condition
232 346 0 2201 !$name || $legacy_dmidecode_binary_data
235 0 0 0 $name ||= sprintf('%03d|%s', ++$name_cnt, 'OEM-specific Type')