Branch Coverage

blib/lib/DMTF/CIM/_model.pm
Criterion Covered Total %
branch 0 44 0.0


line true false branch
44 0 0 unless (defined $name)
49 0 0 unless defined $$self{'DATA'}{'qualifiers'}
50 0 0 unless defined $$self{'DATA'}{'qualifiers'}{lc $name}
59 0 0 if (defined $$self{'DATA'}{'array'} or ref ${$$self{'VALUE'};} eq 'ARRAY')
62 0 0 unless defined $$self{'VALUE'}
63 0 0 unless ref ${$$self{'VALUE'};} eq 'ARRAY'
65 0 0 unless $len > 0
77 0 0 if defined $$self{'DATA'}{'is_ref'} and $$self{'DATA'}{'is_ref'} eq 'true'
87 0 0 if defined $$self{'DATA'}{'type'}
88 0 0 unless defined $ret
89 0 0 if $self->is_array
98 0 0 unless (defined $mapval)
101 0 0 if (ref $mapval ne '')
106 0 0 if (defined $$self{'DATA'}{'qualifiers'} and defined $$self{'DATA'}{'qualifiers'}{'valuemap'} and defined $$self{'DATA'}{'qualifiers'}{'valuemap'}{'value'} and $#{$$self{'DATA'}{'qualifiers'}{'valuemap'}{'value'};} > -1 and defined $$self{'DATA'}{'qualifiers'}{'values'} and defined $$self{'DATA'}{'qualifiers'}{'values'}{'value'} and $#{$$self{'DATA'}{'qualifiers'}{'values'}{'value'};} > -1) { }
122 0 0 if ($val eq '..')
126 0 0 if ($val =~ /([0-9]*)\.\.([0-9]*)/) { }
0 0 elsif ($val == $value) { }
127 0 0 if (!defined($1) || $1 <= $value and !defined($2) || $2 >= $value)
148 0 0 unless defined $$self{'DATA'}{'qualifiers'}{'valuemap'} and defined $$self{'DATA'}{'qualifiers'}{'valuemap'}{'value'}
154 0 0 if ($val =~ /\.\./) { }
0 0 elsif ($$self{'DATA'}{'qualifiers'}{'values'}{'value'}[$i] eq $value) { }
0 0 elsif (lc $$self{'DATA'}{'qualifiers'}{'values'}{'value'}[$i] eq lc $value) { }