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