Branch Coverage

blib/lib/Video/CPL/Cue.pm
Criterion Covered Total %
branch 44 164 26.8


line true false branch
39 0 56 if @_
40 0 0 if @_
41 0 1 if @_
42 1 2 if @_
43 1 2 if @_
44 1 2 if @_
45 1 2 if @_
46 1 2 if @_
47 1 2 if @_
48 1 2 if @_
49 1 2 if @_
50 0 0 if @_
51 1 2 if @_
52 0 0 if @_
53 1 2 if @_
54 0 0 if @_
55 0 0 if @_
56 0 0 if @_
57 1 2 if @_
58 0 0 if @_
59 0 0 if @_
61 1 2 if @_
62 0 0 if @_
63 0 1 if @_
64 0 1 if @_
66 1 0 if @_
91 18 32 if defined $parms{$q}
94 0 2 $parms{'zerolen'} || $parms{'cueType'} =~ /(goto|regularEnd|returnEnd)/ ? :
108 0 0 if defined $parms{'target'}
109 0 0 if defined $parms{'picLoc'} or defined $parms{'picOverLoc'} or defined $parms{'balloonText'}
111 0 0 if defined $parms{$q}
114 0 0 $parms{'zerolen'} || $parms{'cueType'} =~ /(goto|regularEnd|returnEnd)/ ? :
129 14 8 if defined $s{$q}
133 0 1 if defined $s{'story'}[0]
134 0 1 if defined $s{'targetList'}[0]
135 1 0 if defined $s{'annotationList'}[0]
156 0 1 if ref $x ne 'Video::CPL::Annotation'
158 0 1 if (defined $obj->{'annotationList'}) { }
173 0 0 if defined $obj->{'annotations'}
201 0 0 unless $obj->{'setoninit'}
203 0 0 if defined $parms{'canBeDestination'}
204 0 0 if defined $parms{'tags'}
205 0 0 if defined $parms{'URL'}
206 0 0 if defined $parms{'query'}
207 0 0 if defined $parms{'zerolen'}
208 0 0 if $parms{'dl'}
209 0 0 if $parms{'dlforever'}
210 0 0 if $parms{'al'}
211 0 0 if $parms{'tl'}
212 0 0 if $parms{'story'}
256 0 0 unless $obj->{'setoninit'}
259 0 0 if defined $parms{'tl'}
294 0 0 if $#_ == 0
296 0 0 unless defined $obj->parent
298 0 0 unless exists $p{'parent'}
299 0 0 if exists $p{'target'}
300 0 0 if exists $p{'target'}
316 0 0 unless defined $obj->parent
318 0 0 unless exists $p{'parent'}
334 0 0 unless defined $obj->parent
336 0 0 unless exists $p{'parent'}
352 0 0 unless defined $obj->parent
354 0 0 unless exists $p{'parent'}
372 14 8 if defined $obj->{$q}
375 0 1 if defined $obj->story
378 0 1 if $obj->targetList
379 1 0 if defined $obj->annotationList
394 0 0 if defined $obj->{$q}
397 0 0 if ($obj->{'story'})
404 0 0 if ($obj->{'mxmlInCPL'})
407 0 0 if ($obj->{'dl'})
411 0 0 if $obj->{'dlforever'}
418 0 0 if ($obj->{'tl'})
425 0 0 if $tltext
426 0 0 if $tlpic
429 0 0 if (ref $t) { }
439 0 0 if (@anno)
442 0 0 unless $obj->{'parent'} and $x
462 0 0 unless defined $obj->{'parent'}
463 0 0 if $obj->parent == $cpl
476 0 0 unless defined $obj->{'parent'}
477 0 0 if ($par eq $obj->{'parent'}) { }