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
193 0 0 0 defined $xid and $xid eq 'None'
203 0 0 0 $X->{'do_interp'} and $xid == 0
367 0 0 0 @_ and not defined $_[0]
624 0 0 0 defined $wmstate and defined(my $num = $wmstate{$wmstate})
641 0 0 0 $X->{'do_interp'} and defined(my $str = $wmstate[$num])
1159 0 0 0 $num >= $den and $num > 2147483647
1169 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
1187 0 0 0 $nz and $x == 0
1200 0 0 0 $nz and $y == 0

or 2 conditions

line l !l condition
505 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
827 0 0 $hint{'functions'} || 0
0 0 $hint{'decorations'} || 0
0 0 $hint{'input_mode'} || 0
0 0 $hint{'status'} || 0
1102 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
1112 0 0 $$hint{"${which}_aspect_num"} || 0
0 0 $$hint{"${which}_aspect_den"} || 0

or 3 conditions

line l !l&&r !l&&!r condition
92 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'
490 0 0 0 $key_to_flag{$key} || croak('Unknown WM_HINT field: ', $key)
1013 0 0 0 not defined $window_type or $window_type =~ /^\d+$/
1169 0 0 0 int $num != $num || int $den != $den