Branch Coverage

blib/lib/WWW/Vonage/API.pm
Criterion Covered Total %
branch 30 42 71.4


line true false branch
35 6 26 unless exists $args{$argument}
42 4 8 defined $args{'API_Version'} ? :
44 3 9 defined $args{'API_Region'} ? :
46 1 11 defined $args{'API_Domain'} ? :
47 2 10 defined $args{'_test'} ? :
97 0 22 if ref $lwp_callback{$self} eq "CODE"
105 0 22 if $Debug
110 0 22 if $Debug
115 0 22 if $Debug
120 7 15 if ($method eq 'POST' || $method eq 'PATCH' || $method eq 'PUT' and ref $payload eq "HASH")
130 22 0 if ($Test)
145 0 0 if $Debug
148 0 0 if $Debug
168 5 17 if ($method eq "GET" and ref $payload eq "HASH")
171 0 5 if $Debug
186 0 5 $utf8{$self} ? :
205 16 12 if ($args{'API_Version'})
212 10 18 if $api_ver eq "/none"
215 8 20 if ($args{'API_Region'})
220 1 27 if ($args{'API_Domain'})
241 0 18 if $super