Condition Coverage

blib/lib/Parse/DMIDecode.pm
Criterion Covered Total %
condition 4 57 7.0


and 3 conditions

line !l l&&!r l&&r condition
54 2 0 0 @invalidkeys and $^W
58 2 0 0 defined $$stor{$command} and not -f $$stor{$command}
70 0 0 0 ref $self and UNIVERSAL::isa($self, 'Parse::DMIDecode')
104 0 0 5 ref $self and UNIVERSAL::isa($self, 'Parse::DMIDecode')
171 0 0 0 ref $self and UNIVERSAL::isa($self, 'Parse::DMIDecode')
181 0 0 0 defined $param{'address'} and $handle->address eq $param{'address'}
0 0 0 defined $param{'dmitype'} and $handle->dmitype == $param{'dmitype'}
0 0 0 defined $param{'group'} and defined $Parse::DMIDecode::GROUPS{$param{'group'}}
0 0 0 defined $param{'group'} and defined $Parse::DMIDecode::GROUPS{$param{'group'}} and grep(($_ == $handle->dmitype), @{$Parse::DMIDecode::GROUPS{$param{'group'}};})
197 0 0 0 ref $self and UNIVERSAL::isa($self, 'Parse::DMIDecode')
205 0 0 0 ref $self and UNIVERSAL::isa($self, 'Parse::DMIDecode')
213 0 0 0 ref $self and UNIVERSAL::isa($self, 'Parse::DMIDecode')
221 0 0 0 ref $self and UNIVERSAL::isa($self, 'Parse::DMIDecode')
229 0 0 0 ref $self and UNIVERSAL::isa($self, 'Parse::DMIDecode')
238 0 0 0 ref $self and UNIVERSAL::isa($self, 'Parse::DMIDecode')
255 0 0 6 ref $self and UNIVERSAL::isa($self, 'Parse::DMIDecode')

or 3 conditions

line l !l&&r !l&&!r condition
181 0 0 0 $getall or defined $param{'address'} and $handle->address eq $param{'address'}
0 0 0 $getall or defined $param{'address'} and $handle->address eq $param{'address'} or defined $param{'dmitype'} and $handle->dmitype == $param{'dmitype'}
0 0 0 $getall or defined $param{'address'} and $handle->address eq $param{'address'} or defined $param{'dmitype'} and $handle->dmitype == $param{'dmitype'} or defined $param{'group'} and defined $Parse::DMIDecode::GROUPS{$param{'group'}} and grep(($_ == $handle->dmitype), @{$Parse::DMIDecode::GROUPS{$param{'group'}};})