Branch Coverage

blib/lib/SVG/Graph/Frame.pm
Criterion Covered Total %
branch 48 94 51.0


line true false branch
52 0 10 if ($self->frame_transform eq 'top') { }
0 10 elsif ($self->frame_transform eq 'left') { }
0 10 elsif ($self->frame_transform eq 'right') { }
0 10 elsif ($self->frame_transform eq 'bottom') { }
115 0 14 if ($@)
151 0 0 if (ref $frame_arg eq 'ARRAY') { }
0 0 elsif (ref $frame_arg eq 'SVG::Graph::Frame') { }
153 0 0 unless ref $frame eq 'SVG::Graph::Frame'
171 0 0 if $self->stack
172 0 0 if $self->stack
195 0 69 $$self{'frames'} ? :
215 0 10 if (ref $data eq 'ARRAY') { }
217 0 0 unless ref $d eq 'SVG::Graph::Data' or ref $data eq 'SVG::Graph::Data::Tree'
221 0 10 unless ref $data eq 'SVG::Graph::Data' or ref $data eq 'SVG::Graph::Data::Tree'
245 24 0 if ($self->_parent_frame and $flag or not $self->_parent_frame) { }
0 0 elsif ($self->_parent_frame) { }
253 0 480 $_->can('data') ? :
275 35 0 $$self{'data'} ? :
282 34 1 $_->can('data') ? :
299 10 0 $$self{'glyphs'} ? :
317 0 0 $$self{'data'} ? :
367 479 8 unless $self->is_changed
374 0 8 if ($self->stack) { }
386 0 160 ref $_ && $_->can('y') ? :
0 160 $_->can('data') ? :
390 0 160 ref $_ && $_->can('x') ? :
0 160 $_->can('data') ? :
391 0 160 ref $_ && $_->can('z') ? :
0 160 $_->can('data') ? :
415 10 10 if @_
435 0 48 if @_
454 20 14 if @_
474 10 14 if @_
494 10 14 if @_
514 10 14 if @_
534 10 14 if @_
553 0 210 if @_
554 0 210 if defined $$self{'xmin'}
575 0 31 if @_
576 0 31 if defined $$self{'xmax'}
597 0 210 if @_
598 0 210 if defined $$self{'ymin'}
619 0 31 if @_
620 0 31 if defined $$self{'ymax'}
675 0 8 if @_
683 10 40 if @_
684 0 40 if defined $$self{'frame_transform'}