Branch Coverage

blib/lib/JE/escape.pl
Criterion Covered Total %
branch 30 30 100.0


line true false branch
10 23 2 defined $str ? :
11 7 18 if $str =~ /%(?![a-fA-F0-9]{2})(.{0,2})/
26 4 14 if (do { local $@; eval { do { $str = decode_utf8($str, FB_CROAK) } }; $@ })
43 2 12 unless $str =~ /^[\0-\x{10ffff}]*\z/
55 23 2 defined $str ? :
56 7 18 if $str =~ /%(?![a-fA-F0-9]{2})(.{0,2})/
70 4 14 if (do { local $@; eval { do { $str = decode_utf8($str, FB_CROAK) } }; $@ })
87 2 12 unless $str =~ /^[\0-\x{10ffff}]*\z/
99 10 2 defined $str ? :
100 3 9 if $str =~ /(\p{Cs})/
119 10 2 defined $str ? :
120 3 9 if $str =~ /(\p{Cs})/
137 6 2 defined $_[0] ? :
140 190 3 ord $1 <= 255 ? :
150 7 2 defined $_[0] ? :