Branch Coverage

blib/lib/Sub/Exporter/Progressive.pm
Criterion Covered Total %
branch 19 28 67.8


line true false branch
29 1 17 if (grep {not $_ =~ / \A [:-]? \w+ \z /mx unless length ref $_;} @args) { }
1 16 elsif (defined((my($num) = grep({/^\d/;} @args))[0])) { }
30 20 1 unless length ref $_
35 0 1 unless eval { do { require Sub::Exporter } }
64 7 0 if (($setup || '') eq '-setup')
69 7 6 if ($opt eq 'exports') { }
6 0 elsif ($opt eq 'groups') { }
71 0 7 if ref $options{'exports'} ne 'ARRAY'
73 0 7 if grep {length ref $_;} @exports
79 12 0 unless length ref $_
82 0 11 if grep {$_ =~ / \A - (?! all \b ) /x unless length ref $_;} @{$tagset;}
84 0 6 unless $tags{'default'}
89 2 16 / \A [:-] all \z /x ? :
93 0 7 if @errors