Condition Coverage

blib/lib/X11/Protocol.pm
Criterion Covered Total %
condition 1 51 1.9


and 3 conditions

line !l l&&!r l&&r condition
492 0 0 0 $$self{'do_interp'} and $v == 0 || $v == 1 && $f[1][1]
537 0 0 0 $v eq $f[1][1] and $f[1][1]
640 0 0 0 $stat == -1 and $$self{'error_seq'} == $seq
2124 0 0 0 $stat == -1 and $$self{'error_seq'} == $seq
2303 0 0 0 $display and eval { do { require X11::Auth } }
2418 0 0 0 defined $screen and $screen <= $#{$$self{'screens'};}

or 3 conditions

line l !l&&r !l&&!r condition
198 0 0 0 exists $$self{'const'}{$type} or exists $$self{'ext_const'}{$type}
202 0 0 0 $$self{'const'}{$type}[$num] || $$self{'ext_const'}{$type}[$num]
215 0 0 0 exists $$self{'const'}{$type} or exists $$self{'ext_const'}{$type}
471 0 0 0 $$self{'events'}[$code] || $$self{'ext_events'}[$code]
486 0 0 0 ref $f[0] eq 'CODE' or ref $f[1] eq 'CODE'
492 0 0 0 $v == 0 || $v == 1 && $f[1][1]
515 0 0 0 $$self{'events'}[$code] || $$self{'ext_events'}[$code]
530 0 0 0 ref $f[0] eq 'CODE' or ref $f[1] eq 'CODE'
580 0 0 0 $self->do_interp('Request', $major_op) || $$self{'ext_request'}{$major_op}[$minor_op][0]
586 0 0 0 $$self{'error_type'}[$type] == 1 or $$self{'ext_error_type'}[$type] == 1
2240 0 1 0 @_ == 0 or $_[0] eq ''