Branch Coverage

blib/lib/YATT/Lite/Partial/ErrorReporter.pm
Criterion Covered Total %
branch 17 32 53.1


line true false branch
22 31 0 ref $_ ? :
27 0 0 ref $_ ? :
40 0 31 if (my $frm = delete $opts->{'ignore_frame'})
58 0 443 unless my $fn = $fr->filename
60 443 0 unless $fn =~ /$pattern/
67 30 1 @args ? :
31 0 $opts ? :
80 31 0 if @_ and ref $_[0] eq 'HASH'
84 2 29 if (ref $self and my $sub = deref($self->{'cf_error_handler'})) { }
0 29 elsif ($sub = $self->can('error_handler')) { }
0 29 elsif (not ref $self or $self->{'cf_die_in_error'}) { }
0 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 29 2 unless defined $_[0]
125 0 2 if (ref $_[0] eq 'REF' or ref $_[0] eq 'SCALAR') { }