Branch Coverage

blib/lib/Games/EveOnline/API.pm
Criterion Covered Total %
branch 46 106 43.4


line true false branch
145 0 1 if defined $data->{'error'}
199 0 1 if defined $data->{'error'}
235 0 1 if defined $data->{'error'}
286 0 1 if defined $data->{'error'}
353 0 1 unless $character_id
361 0 1 if defined $data->{'error'}
435 0 1 unless $character_id
444 0 1 if defined $data->{'error'}
506 0 1 if defined $data->{'error'}
517 1 0 if (defined $result->{'rowset'}{'row'} and $type and $type eq 'Account' || $type eq 'Character')
563 0 1 if defined $data->{'error'}
619 0 1 unless $character_id
629 0 1 if defined $data->{'error'}
652 1 0 if (defined $result->{'rowset'}{'row'})
706 0 1 unless $character_id
716 0 1 if defined $data->{'error'}
759 0 0 if not $character_id and $args{'type'} and $args{'type'} ne 'corp'
761 0 1 $args{'type'} && $args{'type'} eq 'corp' ? :
763 1 0 $type eq 'char' ? :
771 0 1 if defined $data->{'error'}
775 2 1 unless defined $result->{'rowset'}{$rows}{'row'}
784 4 0 if ($rows eq 'contactList')
843 0 1 unless $character_id
860 0 1 if defined $data->{'error'}
937 0 1 unless $character_id
954 0 1 if defined $data->{'error'}
1018 0 1 unless $character_id
1028 0 1 if defined $data->{'error'}
1068 0 1 unless $character_id
1069 0 1 unless $args{'ids'}
1080 0 1 if defined $data->{'error'}
1111 0 1 unless $character_id
1121 0 1 if defined $data->{'error'}
1150 0 1 unless $args{'ids'}
1159 0 1 if defined $data->{'error'}
1188 0 1 unless $args{'names'}
1197 0 1 if defined $data->{'error'}
1243 0 1 if defined $data->{'error'}
1303 0 1 unless $args{'corporation_id'}
1311 0 1 if defined $data->{'error'}
1356 0 3 unless $xml
1363 17 12 if $rows->{$id}{'locationID'}
1370 2 27 if ($rows->{$id}{'rowset'} and $rows->{$id}{'rowset'}{'name'} eq 'contents')
1384 0 20 if $data->{'version'} != 2
1392 0 0 unless $args{'path'}
1396 0 0 if ($args{'requires_auth'})
1401 0 0 if ($args{'character_id'})
1404 0 0 if ($args{'row_count'})
1407 0 0 if ($args{'account_key'})
1410 0 0 if ($args{'from_id'})
1413 0 0 if ($args{'ids'})
1416 0 0 if ($args{'names'})
1419 0 0 if ($args{'corporation_id'})