| inc/Exporter/Tiny.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 5 | 37 | 13.5 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 43 | 0 | 1 | 0 | @_ && ref $_[0] eq 'HASH' |
| 68 | 0 | 0 | 0 | @_ && ref $_[0] eq 'HASH' |
| 91 | 0 | 0 | 0 | ref $wanted->[1] eq 'HASH' and not keys %{$$wanted[1];} |
| 119 | 0 | 0 | 0 | exists $tag_opts->{'-as'} and ref $tag_opts->{'-as'} ne 'CODE' |
| 124 | 0 | 0 | 0 | defined $export->[1] and ref $export->[1] ne 'HASH' |
| 128 | 0 | 0 | 0 | exists $export->[1]{'-prefix'} and exists $tag_opts->{'-prefix'} |
| 130 | 0 | 0 | 0 | exists $export->[1]{'-suffix'} and exists $tag_opts->{'-suffix'} |
| 301 | 0 | 1 | 0 | ref $sym eq 'CODE' and exists &{"${into}::$name";} |
| 1 | 0 | 0 | ref $sym eq 'CODE' and exists &{"${into}::$name";} and \&{"${into}::$name";} != $sym |
| line | l | !l | condition |
|---|---|---|---|
| 161 | 0 | 0 | $value || 1 |
| 313 | 0 | 0 | {'carp', \&Exporter::Tiny::_carp, 0, \&Exporter::Tiny::_carp, '', \&Exporter::Tiny::_carp, 'warn', \&Exporter::Tiny::_carp, 'nonfatal', \&Exporter::Tiny::_carp, 'croak', \&Exporter::Tiny::_croak, 'fatal', \&Exporter::Tiny::_croak, 'die', \&Exporter::Tiny::_croak}->{$level} || sub { } |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 204 | 1 | 0 | 0 | $permitted ||= $class->_exporter_permitted_regexp($globals) |
| 263 | 0 | 0 | 1 | $globals->{'installer'} || $globals->{'exporter'} |