Condition Coverage

blib/lib/Net/Hotline/Client.pm
Criterion Covered Total %
condition 0 64 0.0


and 3 conditions

line !l l&&!r l&&r condition
181 0 0 0 ref $$self{'SERVER'} and $$self{'SERVER'}->opened
347 0 0 0 ref $$self{'SERVER'} and $$self{'SERVER'}->opened
540 0 0 0 $blocking_task && !$$self{'HANDLERS_WHEN_BLOCKING'}
570 0 0 0 defined $$packet{'SOCKET'} and defined $$self{'USER_LIST'}{$$packet{'SOCKET'}}
620 0 0 0 $task_type == 15 and defined $$packet{'USER_LIST'}
0 0 0 $task_type == 10 and defined $$packet{'DATA'}
0 0 0 $task_type == 14 and defined $$packet{'DATA'}
979 0 0 0 defined $user and defined $$packet{'DATA'}
1019 0 0 0 defined $$packet{'NICK'} and defined $$packet{'SOCKET'}
0 0 0 defined $$packet{'NICK'} and defined $$packet{'SOCKET'} and defined $$packet{'ICON'}
0 0 0 defined $$packet{'NICK'} and defined $$packet{'SOCKET'} and defined $$packet{'ICON'} and defined $$packet{'COLOR'}
1384 0 0 0 @_ == 1 and not ref $_[0]
0 0 0 @_ == 2 and ref $_[0] eq 'Net::Hotline::Client'

or 2 conditions

line l !l condition
302 0 0 $2 || 5500
331 0 0 $@ || $! || 'Connection failed'
434 0 0 $args{'Nickname'} || 'guest'
435 0 0 $args{'Login'} || 'guest'
436 0 0 $args{'Icon'} || 410

or 3 conditions

line l !l&&r !l&&!r condition
329 0 0 0 not $$self{'SERVER'} or $@
564 0 0 0 $type == 111 or $type eq 'DISCONNECTED'
1400 0 0 0 $len == 0 or not defined $len
1415 0 0 0 $len == 0 or not defined $len
1430 0 0 0 $len == 0 or not defined $len