blib/lib/YATT/Lite/Partial/ErrorReporter.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 13 | 27 | 48.1 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
80 | 0 | 0 | 31 | @_ and ref $_[0] eq 'HASH' |
84 | 0 | 29 | 2 | ref $self and my $sub = deref($self->{'cf_error_handler'}) |
line | l | !l | condition |
---|---|---|---|
45 | 0 | 0 | $frm->[$_] // '' |
0 | 0 | $caller->[$_] // '' | |
82 | 31 | 0 | delete $opts->{'depth'} // 0 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
54 | 0 | 31 | 0 | $self->{'cf_ext_pattern'} // qr/\.(yatt|ytmpl|ydo)$/ |
67 | 19 | 10 | 2 | $opts->{'file'} // $file |
19 | 10 | 2 | $opts->{'line'} // $line | |
84 | 0 | 0 | 29 | not ref $self or $self->{'cf_die_in_error'} |
125 | 0 | 0 | 2 | ref $_[0] eq 'REF' or ref $_[0] eq 'SCALAR' |