Branch Coverage

blib/lib/FU/Util.pm
Criterion Covered Total %
branch 22 28 78.5


line true false branch
24 136 0 if defined $s
25 0 0 if &has_control($s)
29 0 30 unless defined $_[0]
30 1 29 unless eval { do { $_[0] = &Encode::decode("UTF-8", $_[0], 1); 1 } }
44 0 20 unless defined $s
54 3 11 unless length $_
57 1 9 if (ref $o{$k}) { }
2 7 elsif (exists $o{$k}) { }
69 2 9 ref $v eq 'ARRAY' ? :
70 1 16 if builtin::blessed($x) and $x->can("TO_QUERY")
72 3 10 $bool ? :
4 13 if (not defined $x && ($bool // 1)) { }
92 2 2 unless $str =~ /^\s*$httpdays, ([0-9]{2}) ([A-Z][a-z]{2}) ([0-9]{4}) ([0-9]{2}):([0-9]{2}):([0-9]{2}) GMT\s*$/u
94 0 2 unless defined $mon