Branch Coverage

blib/lib/POE/Component/WWW/XKCD/AsText.pm
Criterion Covered Total %
branch 21 44 47.7


line true false branch
14 0 6 if @_ & 1
21 6 0 unless ref $params{'options'} eq 'HASH'
31 0 6 defined $params{'options'} ? :
59 2 4 if ($$self{'alias'}) { }
68 0 6 $^O eq 'MSWin32' ? :
77 0 6 unless $$self{'wheel'}
103 0 5 if $$self{'shutdown'}
106 5 0 if (ref $_[10] eq 'HASH') { }
116 0 5 unless ($$args{'event'})
120 0 5 unless ($$args{'id'})
127 0 5 if ($$args{'id'} =~ /\D/)
132 2 3 if ($$args{'session'}) { }
133 2 0 if (my $ref = $kernel->alias_resolve($$args{'session'})) { }
161 4 2 unless $$self{'alias'}
166 6 0 if $$self{'wheel'}
173 0 0 if $$self{'debug'}
177 0 0 unless $$self{'shutdown'}
185 6 0 if $$self{'debug'}
189 0 6 unless $$self{'shutdown'}
197 1 0 if $$self{'debug'}
218 0 0 if ($^O eq 'MSWin32')
245 0 0 if (defined $text) { }