Branch Coverage

blib/lib/Bot/IRC/Functions.pm
Criterion Covered Total %
branch 9 12 75.0


line true false branch
27 1 3 if ($function eq 'ord') { }
1 2 elsif ($function eq 'chr' or $function eq 'ascii' and $m->{'input'} =~ /^\d+$/u) { }
1 1 elsif ($function =~ /rot(\d+)/u) { }
1 0 elsif ($function eq 'crypt') { }
48 0 1 $m->{'input'} =~ s/(\w+)\s+(\w{2})\s*$/$1/u ? :
52 4 0 if $text