Branch Coverage

blib/lib/DJabberd/Util.pm
Criterion Covered Total %
branch 0 16 0.0


line true false branch
9 0 0 if $val =~ /^1|y|yes|true|t|on|enabled?$/i
10 0 0 if $val =~ /^0|n|no|false|f|off|disabled?$/i
16 0 0 if $val =~ /^\d+$/
23 0 0 if ($val =~ /^(\d\d?\d?\.\d\d?\d?\.\d\d?\d?\.\d\d?\d?:)?\d+$/ or $val =~ m[^/] and -e $val)
31 0 0 unless $val =~ m[^/]
32 0 0 unless -f $val
39 0 0 unless $_[0] =~ /[&\"\'<>\x00-\x08\x0B\x0C\x0E-\x1F]/
82 0 0 if ($val < 32 and ($val != 13 and $val != 10 and $val != 9))