Branch Coverage

blib/lib/YATT/Lite/Partial/ErrorReporter.pm
Criterion Covered Total %
branch 22 32 68.7


line true false branch
22 33 0 ref $_ ? :
27 7 0 ref $_ ? :
40 2 43 if (my $frm = delete $opts->{'ignore_frame'})
58 0 914 unless my $fn = $fr->filename
60 914 0 unless $fn =~ /$pattern/
67 33 12 @args ? :
45 0 $opts ? :
80 45 0 if @_ and ref $_[0] eq 'HASH'
84 2 43 if (ref $self and my $sub = deref($self->{'cf_error_handler'})) { }
11 32 elsif ($sub = $self->can('error_handler')) { }
0 32 elsif (not ref $self or $self->{'cf_die_in_error'}) { }
3 29 elsif ($err->{'cf_http_status_code'}) { }
87 0 2 unless (ref $sub eq 'CODE')
110 0 0 if (my $sub = $self->{'cf_at_done'}) { }
124 32 13 unless defined $_[0]
125 11 2 if (ref $_[0] eq 'REF' or ref $_[0] eq 'SCALAR') { }