Branch Coverage

blib/lib/POE/Component/WWW/Google/PageRank.pm
Criterion Covered Total %
branch 18 48 37.5


line true false branch
15 0 1 if @_ & 1
22 1 0 unless ref $params{'options'} eq 'HASH'
27 0 1 defined $params{'options'} ? :
54 1 0 if ($$self{'alias'}) { }
61 0 1 $^O eq 'MSWin32' ? :
72 0 1 unless $$self{'wheel'}
98 0 3 if $$self{'shutdown'}
102 3 0 if (ref $_[10] eq 'HASH') { }
113 0 3 unless ($$args{'event'})
118 0 3 unless ($$args{'page'})
126 0 3 unless ($$args{'page'} =~ m[^https?://]i)
127 0 0 if $$self{'debug'}
133 1 2 if ($$args{'session'}) { }
134 1 0 if (my $ref = $kernel->alias_resolve($$args{'session'})) { }
162 0 1 unless $$self{'alias'}
166 1 0 if $$self{'wheel'}
174 0 0 if $$self{'debug'}
178 0 0 unless $$self{'shutdown'}
187 0 1 if $$self{'debug'}
191 0 1 unless $$self{'shutdown'}
199 0 0 if $$self{'debug'}
218 0 0 if ($^O eq 'MSWin32')
230 0 0 unless $$req{'options'}
236 0 0 unless ($$req{'response'}->is_success)