Condition Coverage

blib/lib/DAIA/Object.pm
Criterion Covered Total %
condition 0 55 0.0


and 3 conditions

line !l l&&!r l&&r condition
23 0 0 0 @_ == 1 and ref $_[0] eq 'HASH'
0 0 0 @_ == 1 and ref $_[0] eq $class
122 0 0 0 UNIVERSAL::isa($$self{$property}, 'JSON::Boolean') and not $json
0 0 0 $property eq 'label' and $$self{$property} eq ''
143 0 0 0 @_ < 2 and $$self{'_hidden'}
0 0 0 @_ < 2 and $$self{'_hidden'} and exists $$self{'_hidden'}{'callback'}
146 0 0 0 defined $callback and $callback =~ /^[a-z][a-z0-9._\[\]]*$/i
161 0 0 0 $format and grep {$_ eq $format;} 'DAIA'->formats
174 0 0 0 $DAIA::RDF_NS and $format ne 'rdfxml'
176 0 0 0 $DAIA::GRAPHVIZ and $DAIA::TRINE_MODEL
0 0 0 $DAIA::GRAPHVIZ and $DAIA::TRINE_MODEL and $format =~ /^(dot|svg)$/
227 0 0 0 $$opt{'repeatable'} and $$opt{'type'}
251 0 0 0 ref $value eq 'ARRAY' and @{$value;} == 0
280 0 0 0 @args > 1 and not $$opt{'repeatable'}

or 2 conditions

line l !l condition
94 0 0 $param{'pi'} || []
95 0 0 reftype $pi || ''

or 3 conditions

line l !l&&r !l&&!r condition
93 0 0 0 $param{'xmlns'} || ($param{'xslt'} || $param{'header'})
251 0 0 0 not defined $value or ref $value eq 'ARRAY' and @{$value;} == 0
393 0 0 0 exists $$hashref{$_} or not exists $$self{'_hidden'}{$_}