| blib/lib/Exporter/Tiny.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % | 
| condition | 27 | 49 | 55.1 | 
| line | !l | l&&!r | l&&r | condition | 
|---|---|---|---|---|
| 17 | 0 | 17 | 0 | $] ge '5.011002' && eval 'require Lexical::Sub' | 
| 57 | 3 | 26 | 13 | @_ && ref $_[0] eq 'HASH' | 
| 59 | 31 | 11 | 0 | defined $global_opts->{'into'} and $global_opts->{'into'} eq "-lexical" | 
| 91 | 2 | 2 | 0 | @_ && ref $_[0] eq 'HASH' | 
| 94 | 4 | 0 | 0 | defined $global_opts->{'into'} and $global_opts->{'into'} eq "-lexical" | 
| 121 | 0 | 0 | 1 | ref $wanted->[1] eq "HASH" and not keys %{$$wanted[1];} | 
| 166 | 26 | 0 | 0 | exists $tag_opts->{'-as'} and ref $tag_opts->{'-as'} ne "CODE" | 
| 171 | 48 | 4 | 0 | defined $export->[1] and ref $export->[1] ne "HASH" | 
| 175 | 50 | 0 | 2 | exists $export->[1]{'-prefix'} and exists $tag_opts->{'-prefix'} | 
| 177 | 50 | 2 | 0 | exists $export->[1]{'-suffix'} and exists $tag_opts->{'-suffix'} | 
| 350 | 9 | 34 | 5 | ref $sym eq "CODE" and ref $into ? exists $into->{$name} : exists &{"${into}::$name";} | 
| 34 | 1 | 4 | ref $sym eq "CODE" and ref $into ? exists $into->{$name} : exists &{"${into}::$name";} and $sym != (ref $into ? $into->{$name} : \&{"${into}::$name";}) | 
| line | l | !l | condition | 
|---|---|---|---|
| 208 | 1 | 0 | $value || 1 | 
| 364 | 4 | 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 | 
|---|---|---|---|---|
| 74 | 0 | 0 | 0 | $global_opts->{'installer'} ||= $class->_exporter_lexical_installer($global_opts) | 
| 251 | 65 | 0 | 0 | $permitted ||= $class->_exporter_permitted_regexp($globals) | 
| 312 | 0 | 0 | 62 | $globals->{'installer'} || $globals->{'exporter'} |