Branch Coverage

blib/lib/Data/Stag/BaseGenerator.pm
Criterion Covered Total %
branch 18 60 30.0


line true false branch
244 0 0 if @_
245 0 0 unless $$self{'_stack'}
290 0 0 unless (ref $msg)
307 0 17 if ($init_h)
311 0 17 if $self->can('init')
322 0 17 if ($main::main::{"_<$mod.pm"}) { }
331 0 0 if @_
337 17 0 if (@_)
339 0 17 if ($h and not ref $h)
342 0 0 if ($mm and $$mm{$h})
352 0 0 if ($h->can('fh'))
357 0 17 if (not $h->errhandler and $self->errhandler)
372 17 17 if (@_)
380 0 0 unless ($self->errhandler)
392 0 0 unless ($self->errhandler->depth)
402 0 0 if (ref $err)
412 0 0 if (ref $err)
417 0 0 if defined $line
419 0 0 if $line_no
429 0 0 if @_
435 0 0 if @_
440 26 0 if @_
446 0 0 if ($self->errhandler and $self->errhandler->depth)
457 13 4 if $file
458 4 13 if ($str) { }
13 0 elsif ($file) { }
463 0 13 if ($file eq '-') { }
473 0 17 unless ($fh)
478 13 4 unless ($str)
495 0 0 if ($eh and $eh->stag and $eh->stag->data)