Condition Coverage

blib/lib/Devel/Tokenizer/C.pm
Criterion Covered Total %
condition 32 37 86.4


and 3 conditions

line !l l&&!r l&&r condition
65 96 35 0 $self{'StringLength'} eq '' and $self{'Strategy'} ne 'ordered'
202 0 48096 15889 defined $$self{'TokenEnd'} and not $$self{'StringLength'}
258 0 13523 79277 $pre_flag == 0 and @pre == 1
13523 79277 0 $pre_flag == 0 and @pre == 1 and $pre[0]

or 2 conditions

line l !l condition
77 4 4 $pre || ''
81 12298 51845 $pre || ''

or 3 conditions

line l !l&&r !l&&!r condition
220 165568 144 0 my $c = __quotechar__(substr($n, defined $order ? $$order[$level] : $level, 1)) or defined $$self{'TokenEnd'}
222 81104 48 84416 $$self{'CaseSensitive'} || !($c =~ /^[a-zA-Z]$/)
231 25536 2352 2352 keys %tok > 1 or not $$self{'MergeSwitches'}
263 88096 2352 2352 keys %tok > 1 or not $$self{'MergeSwitches'}
264 44992 128 45328 $$self{'CaseSensitive'} || !($c =~ /^'[a-zA-Z]'$/)
284 25536 2352 2352 keys %tok > 1 or not $$self{'MergeSwitches'}
320 220512 16 217347 $$self{'CaseSensitive'} || !($c =~ /^'[a-zA-Z]'$/)