Branch Coverage

blib/lib/Net/VKontakte/Standalone.pm
Criterion Covered Total %
branch 0 44 0.0


line true false branch
21 0 0 if (@_ == 1) { }
0 0 elsif (@_ % 2 == 0) { }
26 0 0 if defined $opt{$key}
31 0 0 unless $$self{'api_id'}
51 0 0 unless $$self{'browser'}->uri =~ m[^https://oauth.vk.com/blank.html]
71 0 0 if $uri =~ m[https://oauth.vk.com/blank.html#(.*)]
72 0 0 unless defined $params{'access_token'}
74 0 0 unless $params{'expires_in'}
83 0 0 unless defined $$self{'access_token'}
84 0 0 if (time - $$self{'auth_time'} > $$self{'expires_in'})
85 0 0 if ($$self{'login'} and $$self{'password'} and $$self{'scope'}) { }
88 0 0 if ($$self{'errors_noauto'}) { }
90 0 0 if (ref $$self{'errors_noauto'} and ref $$self{'errors_noauto'} eq 'CODE')
102 0 0 if ($$response{'response'}) { }
0 0 elsif ($$response{'error'}) { }
105 0 0 if ($$self{'errors_noauto'}) { }
107 0 0 if (ref $$self{'errors_noauto'} and ref $$self{'errors_noauto'} eq 'CODE')
112 0 0 if (6 == $$response{'error'}{'error_code'}) { }
0 0 elsif (14 == $$response{'error'}{'error_code'}) { }
116 0 0 if ($$self{'captcha_handler'}) { }
129 0 0 q[API call didn't return response or error] . $Carp::Verbose ? :
137 0 0 unless ref $handler eq 'CODE'