Condition Coverage

blib/lib/Lirc/Client.pm
Criterion Covered Total %
condition 16 25 64.0


and 2 conditions

line l !l condition
196 0 0 carp('bad status from read') and return

and 3 conditions

line !l l&&!r l&&r condition
51 0 4 2 @args and ref $args[0] ne 'HASH'
55 1 5 6 @args and ref $args[0] ne 'HASH'
105 34 1 1 defined $$ops{'flags'} and $$ops{'flags'} =~ /\bstartup_mode\b/
141 0 4 0 $1 and $cur_mode
277 0 0 14 defined $button and length $button
294 12 0 2 defined $$command{'flags'} and $$command{'flags'} =~ /\bmode\b/

or 2 conditions

line l !l condition
115 31 4 $$ops{'remote'} ||= '*'

or 3 conditions

line l !l&&r !l&&!r condition
284 13 1 0 $$commands{"$remote-$button-$cur_mode"} || $$commands{"*-$button-$cur_mode"} || $$commands{"$remote-*-$cur_mode"}