Branch Coverage

blib/lib/FirstGoodURL.pm
Criterion Covered Total %
branch 9 16 56.2


line true false branch
19 0 3 unless @_
23 2 1 /\D/ ? :
38 1 5 if $$status{$rc}
6 6 if (not keys %$ctype) { }
39 6 0 unless $$status{$rc}
41 0 5 if (keys %$ctype == 1 and my($regex) = (each %$ctype)[1]) { }
42 0 0 if $rt =~ /$regex/
45 0 0 if $$ctype{$rt}