Branch Coverage

blib/lib/Bot/BasicBot/Pluggable/Module/XKCD.pm
Criterion Covered Total %
branch 11 14 78.5


line true false branch
52 4 1 if ($command eq 'xkcd')
54 1 3 if (not defined $param) { }
1 2 elsif ($param =~ /^\d+$/) { }
67 0 2 if ($@)
68 0 0 unless $@ eq "timed out\n"
71 1 1 if $num
76 1 3 unless defined $title