Branch Coverage

blib/lib/Dist/CheckConflicts.pm
Criterion Covered Total %
branch 34 38 89.4


line true false branch
33 0 29 unless $conflicts
34 16 13 unless $alsos
35 1 12 unless eval { do { require_module $also } }
36 1 11 unless (exists $CONFLICTS{$also})
38 0 1 unless eval { do { require_module $also } }
40 0 12 unless (exists $CONFLICTS{$also})
45 19 1 if not exists $conflicts{$also_conf} or $conflicts{$also_conf} lt $also_confs{$also_conf}
54 2 27 if (grep {$_ eq ':runtime';} @_)
62 8 8 if (exists $INC{module_notional_filename $conflict})
77 0 24 unless $mod =~ /[\w:]+/
79 16 8 unless defined $HAS_CONFLICTS{$mod}
91 8 8 if $called
109 50 30 if (defined $args[$idx] and $args[$idx] eq $opt)
128 8 8 if ($version le $conflict_ver)
155 4 5 unless @conflicts
182 4 51 if not $success and $error =~ /Can't locate \Q$file\E in \@INC/
184 2 49 unless $success
185 49 2 $success ? :
186 18 33 if not $success or $installed le $conflicts{$conflict}