Condition Coverage

blib/lib/X11/Protocol/WM.pm
Criterion Covered Total %
condition 2 91 2.2


and 3 conditions

line !l l&&!r l&&r condition
192 0 0 0 defined $xid and $xid eq 'None'
202 0 0 0 $X->{'do_interp'} and $xid == 0
366 0 0 0 @_ and not defined $_[0]
626 0 0 0 defined $wmstate and defined(my $num = $wmstate{$wmstate})
643 0 0 0 $X->{'do_interp'} and defined(my $str = $wmstate[$num])
1172 0 0 0 $num >= $den and $num > 2147483647
1182 0 0 0 int $num != $num || int $den != $den and $num < 1073741824
0 0 0 int $num != $num || int $den != $den and $num < 1073741824 and $den < 1073741824
1200 0 0 0 $nz and $x == 0
1213 0 0 0 $nz and $y == 0

or 2 conditions

line l !l condition
504 0 0 $hint{'input'} || 0
0 0 _wmstate_num($hint{'initial_state'}) || 0
0 0 _num_none($hint{'icon_pixmap'}) || 0
0 0 _num_none($hint{'icon_window'}) || 0
0 0 $hint{'icon_x'} || 0
0 0 $hint{'icon_y'} || 0
0 0 _num_none($hint{'icon_mask'}) || 0
0 0 _num_none($hint{'window_group'}) || 0
829 0 0 $hint{'functions'} || 0
0 0 $hint{'decorations'} || 0
0 0 $hint{'input_mode'} || 0
0 0 $hint{'status'} || 0
1115 0 0 $hint{'min_width'} || 0
0 0 $hint{'min_height'} || 0
0 0 $hint{'max_width'} || 0
0 0 $hint{'max_height'} || 0
0 0 $hint{'width_inc'} || 0
0 0 $hint{'height_inc'} || 0
0 0 $hint{'base_width'} || 0
0 0 $hint{'base_height'} || 0
0 0 $hint{'win_gravity'} || 0
1125 0 0 $$hint{"${which}_aspect_num"} || 0
0 0 $$hint{"${which}_aspect_den"} || 0

or 3 conditions

line l !l&&r !l&&!r condition
91 0 4 0 eval 'utf8->can("is_utf8") && *is_utf8 = \\&utf8::is_utf8' or eval 'use Encode "is_utf8"; 1'
4 0 0 eval 'utf8->can("is_utf8") && *is_utf8 = \\&utf8::is_utf8' or eval 'use Encode "is_utf8"; 1' or eval 'sub is_utf8 { 0 }; 1'
489 0 0 0 $key_to_flag{$key} || croak('Unknown WM_HINT field: ', $key)
1025 0 0 0 not defined $window_type or $window_type =~ /^\d+$/
1182 0 0 0 int $num != $num || int $den != $den