Condition Coverage

blib/lib/Perl/Lint/Policy/Modules/RequireEndWithOne.pm
Criterion Covered Total %
condition 18 24 75.0


and 3 conditions

line !l l&&!r l&&r condition
29 0 15 0 %$last_token and %$before_last_token
33 14 0 1 $before_last_token_type == 65 and $last_token_type == 122
14 0 1 $before_last_token_type == 65 and $last_token_type == 122 and $last_token_data eq 'pod'
2 2 10 !$extra_before_token || $$extra_before_token{'type'} == 106 || $$extra_before_token{'type'} == 110 and $before_last_token_type == 170
4 0 10 !$extra_before_token || $$extra_before_token{'type'} == 106 || $$extra_before_token{'type'} == 110 and $before_last_token_type == 170 and $last_token_type == 106
2 1 9 !$extra_before_token || $$extra_before_token{'type'} == 106 || $$extra_before_token{'type'} == 110 and $before_last_token_type == 170 and $last_token_type == 106 and eval $before_last_token_data == 1

or 3 conditions

line l !l&&r !l&&!r condition
33 11 1 2 !$extra_before_token || $$extra_before_token{'type'} == 106 || $$extra_before_token{'type'} == 110
1 0 14 $before_last_token_type == 65 and $last_token_type == 122 and $last_token_data eq 'pod' or !$extra_before_token || $$extra_before_token{'type'} == 106 || $$extra_before_token{'type'} == 110 and $before_last_token_type == 170 and $last_token_type == 106 and eval $before_last_token_data == 1