Condition Coverage

blib/lib/Sub/Exporter.pm
Criterion Covered Total %
condition 51 55 92.7


and 3 conditions

line !l l&&!r l&&r condition
595 20 2 1 exists $config->{'into'} and exists $config->{'into_level'}
658 50 1 1 exists $config->{'into'} and exists $config->{'into_level'}
667 50 1 0 exists $config->{'into'} and exists $config->{'into_level'}
715 102 2 1 exists $special->{'into'} and exists $special->{'into_level'}
769 57 69 10 $import_arg and &Params::Util::_CODELIKE($import_arg)

or 2 conditions

line l !l condition
414 149 135 $seen ||= {}
415 149 135 $merge ||= {}
429 51 21 delete $merge{'-prefix'} || ''
430 21 51 delete $merge{'-suffix'} || ''
456 129 28 $merge ||= {}
467 12 61 delete $merge->{'-prefix'} || ''
48 25 $group_arg->{'-prefix'} || ''
468 27 46 $group_arg->{'-suffix'} || ''
9 64 delete $merge->{'-suffix'} || ''
597 3 19 delete $config->{'as'} || 'import'
695 10 40 $config->{'groups'}{'default'} ||= []
698 22 28 $config->{'groups'}{'all'} ||= [keys %{$$config{"exports"};}]
700 8 42 $config->{'generator'} ||= \&Sub::Exporter::default_generator
701 8 42 $config->{'installer'} ||= \&Sub::Exporter::default_installer

or 3 conditions

line l !l&&r !l&&!r condition
432 14 0 58 &Params::Util::_CODELIKE($groups[$i][1]) or &Params::Util::_SCALAR0($groups[$i][1])
479 12 2 136 &Params::Util::_CODELIKE($exports) or &Params::Util::_SCALAR0($exports)
729 9 95 0 delete $special->{'generator'} || $config->{'generator'}
730 9 95 0 delete $special->{'installer'} || $config->{'installer'}