Branch Coverage

blib/lib/WWW/Mixi/OO/Session.pm
Criterion Covered Total %
branch 3 72 4.1


line true false branch
95 0 0 if $this->can('delay')
108 0 0 if exists $opt{$_}
113 0 0 if defined $this->encoding
114 0 0 if $this->i18n_base_class->is_supported($_)
132 0 0 if (@_ > 0)
152 0 0 if (@_ > 0)
170 0 0 if (@_ > 0)
172 0 0 if (defined $value and ref $value eq 'CODE') { }
194 0 0 if (@_ > 0)
196 0 0 if ($this->i18n_base_class->is_supported($value)) { }
203 0 0 if (defined $this->response)
225 0 0 if (@_ > 0)
246 0 0 if (defined $$this{'mixi'}{'content'}) { }
267 0 0 if (defined $$this{'mixi'}{'cache'}) { }
285 0 0 unless defined $this->email
286 0 0 unless defined $this->password
290 0 0 wantarray ? :
306 0 0 if ($@) { }
357 0 0 if @_ < 1
360 0 0 unless (defined $this->cookie_jar)
379 0 0 if @_ < 1
437 0 0 if ($this->is_login_required)
438 0 0 if ($this->can_login) { }
456 0 0 unless defined $this->cookie_jar
460 0 0 if (defined $cookie and $cookie =~ /BF_SESSION=(.*?)(;|$)/) { }
477 0 0 unless defined $uri
478 0 0 if $uri eq 'refresh'
479 0 0 if (defined $this->response)
481 0 0 if $uri eq $latest_uri and $this->response->is_success
496 0 0 if (defined $this->response)
516 0 0 if (defined $page) { }
536 0 0 unless defined $base
550 0 3 unless defined $base
551 1 2 if (defined $uri and not basename($uri) =~ /[.?]/)
568 0 0 if (defined $res) { }
596 0 0 if (grep {ref $_ eq 'ARRAY';} @form) { }