Condition Coverage

blib/lib/Net/OSCAR.pm
Criterion Covered Total %
condition 0 182 0.0


and 3 conditions

line !l l&&!r l&&r condition
228 0 0 0 $_ ne 'extended_status' and $_ ne 'buddy_icons'
0 0 0 $_ ne 'extended_status' and $_ ne 'buddy_icons' and $_ ne 'file_transfer'
0 0 0 $_ ne 'extended_status' and $_ ne 'buddy_icons' and $_ ne 'file_transfer' and $_ ne 'file_sharing'
0 0 0 $_ ne 'extended_status' and $_ ne 'buddy_icons' and $_ ne 'file_transfer' and $_ ne 'file_sharing' and $_ ne 'typing_status'
0 0 0 $_ ne 'extended_status' and $_ ne 'buddy_icons' and $_ ne 'file_transfer' and $_ ne 'file_sharing' and $_ ne 'typing_status' and $_ ne 'file_transfer'
373 0 0 0 $args{'screenname'} and exists $args{'password'}
381 0 0 0 not defined $args{'password'} and $args{'hashlogin'}
406 0 0 0 $$self{'proxy_type'} eq 'HTTPS' and not $$self{'http_proxy'}->is_protocol_supported('https')
531 0 0 0 $$self{'icon_md5sum_old'} and $$self{'icon_md5sum'} eq $$self{'icon_md5sum_old'}
1080 0 0 0 $$self{'capabilities'}{'buddy_icons'} and $$self{'icon_checksum'}
0 0 0 $$self{'capabilities'}{'buddy_icons'} and $$self{'icon_checksum'} and $$self{'icon_timestamp'}
0 0 0 $$self{'capabilities'}{'buddy_icons'} and $$self{'icon_checksum'} and $$self{'icon_timestamp'} and !(exists $$self{'userinfo'}{$to} && exists $$self{'userinfo'}{'to'}{'icon_timestamp_received'}) || $$self{'icon_timestamp'} > $$self{'userinfo'}{$to}{'icon_timestamp_received'}
1135 0 0 0 exists $$self{'userinfo'}{$recipient} and $$self{'userinfo'}{$recipient}{'typing_status'}
1697 0 0 0 defined $timeout and $timeout == -1
1713 0 0 0 $nfound and $nfound != -1
2288 0 0 0 $group and $buddy
4072 0 0 0 $$connection{'socket'} and $$connection{'conntype'} != 254
0 0 0 $$connection{'socket'} and $$connection{'conntype'} != 254 and $$connection{'conntype'} != 255
4080 0 0 0 $$connection{'conntype'} == 0 and not $$connection{'closing'}
4102 0 0 0 $$connection{'socket'} and not $$connection{'sockerr'}
4116 0 0 0 exists $$currgroup{'groupid'} and $groupid == $$currgroup{'groupid'}
4129 0 0 0 $$value{'buddyid'} == $bid and not $$value{'__BLI_DELETED'}
4193 0 0 0 $what == 2 and $action == 1
0 0 0 $what == 2 and $action == 2
0 0 0 $what == 1 and $action == 1
0 0 0 $what == 1 and $action == 2
4194 0 0 0 exists $$self{'buddies'}{$group} and not $$self{'buddies'}{$group}{'__BLI_DELETED'}
4220 0 0 0 exists $$self{'buddies'}{$group} and not $$self{'buddies'}{$group}{'__BLI_DELETED'}
4225 0 0 0 exists $$grp{'members'}{$_} && !$$grp{'members'}{$_}{'__BLI_DELETED'}
4314 0 0 0 exists $$self{'userinfo'}{$$userinfo{'screenname'}} && exists $$self{'userinfo'}{$$userinfo{'screenname'}}{'icon_md5sum'}
4388 0 0 0 not $$proposal{'tried_listen'} and $$self{'ft_ip'}
0 0 0 $$self{'ip'} and $$self{'bos'}->local_ip eq $$self{'ip'}
4452 0 0 0 $$self{'services'}{$service} and ref $$self{'services'}{$service}

or 2 conditions

line l !l condition
214 0 0 ref $_[0] || $_[0] || 'Net::OSCAR'
385 0 0 $args{'host'} ||= 'login.oscar.aol.com'
386 0 0 $args{'port'} ||= 5190
669 0 0 $$self{'userinfo'}{$buddy} || undef
1086 0 0 $$self{'userinfo'}{$to} ||= {}
1332 0 0 $status ||= ''
1420 0 0 $$self{'icon_md5sum'} || ''
1806 0 0 $exchange ||= 4
4324 0 0 $flags2 ||= 0
4469 0 0 $errno || 0

or 3 conditions

line l !l&&r !l&&!r condition
233 0 0 0 $parameters{'rate_manage'} < 0 or $parameters{'rate_manage'} > 2
379 0 0 0 $args{$key} ||= $defaults{$key}
400 0 0 0 $$self{'proxy_type'} eq 'HTTP' or $$self{'proxy_type'} eq 'HTTPS'
476 0 0 0 $grpname eq '__BLI_DIRTY' or not $group
0 0 0 $grpname eq '__BLI_DIRTY' or not $group or not $$group{'members'}{$buddy}
0 0 0 $grpname eq '__BLI_DIRTY' or not $group or not $$group{'members'}{$buddy} or $$group{'members'}{$buddy}{'__BLI_DELETED'}
651 0 0 0 not $grpname or $grpname eq '__BLI_DIRTY'
1080 0 0 0 !(exists $$self{'userinfo'}{$to} && exists $$self{'userinfo'}{'to'}{'icon_timestamp_received'}) || $$self{'icon_timestamp'} > $$self{'userinfo'}{$to}{'icon_timestamp_received'}
1703 0 0 0 not $$connection{'connected'} or $$connection{'outbuff'}
1750 0 0 0 not $$connection{'connected'} or $$connection{'outbuff'}
1956 0 0 0 $chat || $oscar->connection_for_family(unpack('n', $key))
2230 0 0 0 not $$connection{'connected'} or $$connection{'outbuff'}
4031 0 0 0 $data{'description'} ||= $conntype
4080 0 0 0 $$connection{'conntype'} == 2 or $$connection{'conntype'} == 0 and not $$connection{'closing'}
4144 0 0 0 $ids{$id} or $id < 4
4314 0 0 0 not exists $$self{'userinfo'}{$$userinfo{'screenname'}} && exists $$self{'userinfo'}{$$userinfo{'screenname'}}{'icon_md5sum'} or $$self{'userinfo'}{$$userinfo{'screenname'}}{'icon_md5sum'} ne $$userinfo{'icon_md5sum'}
4380 0 0 0 $$proposal{'tried_connect'} or not $$proposal{'ip'}
0 0 0 $$proposal{'tried_connect'} or not $$proposal{'ip'} or $$proposal{'ip'} eq '0.0.0.0'
0 0 0 $$proposal{'tried_connect'} or not $$proposal{'ip'} or $$proposal{'ip'} eq '0.0.0.0' or $$proposal{'ip'} eq '255.255.255.255'
4388 0 0 0 not $$proposal{'tried_listen'} and $$self{'ft_ip'} or $$self{'ip'} and $$self{'bos'}->local_ip eq $$self{'ip'}
4392 0 0 0 $$self{'ft_ip'} || $$self{'ip'}