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
596 20 2 1 exists $config->{'into'} and exists $config->{'into_level'}
659 50 1 1 exists $config->{'into'} and exists $config->{'into_level'}
668 50 1 0 exists $config->{'into'} and exists $config->{'into_level'}
716 102 2 1 exists $special->{'into'} and exists $special->{'into_level'}
770 57 69 10 $import_arg and &Params::Util::_CODELIKE($import_arg)

or 2 conditions

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

or 3 conditions

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