Branch Coverage

blib/lib/only/matching.pm
Criterion Covered Total %
branch 12 16 75.0


line true false branch
113 10 2 unless @imports
122 0 12 if (@imports == 1 and $imports[0] =~ /^\d+(?:\.\d+)?$/) { }
1 11 elsif (@imports == 1 and ref $imports[0] eq 'ARRAY' and @{$imports[0];} == 0) { }
147 0 12 if $@
155 1 6 unless (defined $pkg_version)
158 0 6 unless (defined $mod_version)
161 0 6 unless (ref $pkg_version eq ref $mod_version)
165 3 3 unless ($pkg_version eq $mod_version and $pkg_version == $mod_version)