Condition Coverage

blib/lib/PPI/Tokenizer.pm
Criterion Covered Total %
condition 27 35 77.1


and 3 conditions

line !l l&&!r l&&r condition
285 367534 13364 0 $self->{'token_eof'} and $self->{'token_cursor'} > scalar @{$self->{'tokens'};}
529 0 27508 307 ref $self->{'source'} eq "ARRAY" and not @{$self->{'source'};}
548 2279 14207 22907 ref $self->{'source'} eq "ARRAY" and @{$self->{'source'};}
571 0 0 434430 defined $self->{'line_cursor'} and defined $self->{'line_length'}
793 207 2 210 (!$prev->isa('PPI::Token::Operator') || $X_CAN_FOLLOW_OPERATOR{$prev}) && (!$prev->isa('PPI::Token::Structure') || $X_CAN_FOLLOW_STRUCTURE{$prev}) && !$prev->isa('PPI::Token::Label')
823 21149 2254 227 $content eq "{" and $t->{'line'} =~ /\G\s*\}/cg
833 5603 0 28 defined $word and $word =~ /^v[0-9]+$/
5603 24 4 defined $word and $word =~ /^v[0-9]+$/ and $content eq 'use' || $content eq 'no'
835 4 2 230 not $USUALLY_FORCES{$prevprev->content} and $prevprev->content ne "->"

or 2 conditions

line l !l condition
717 150072 0 shift() || 1

or 3 conditions

line l !l&&r !l&&!r condition
155 0 16798 0 ref $_[0] || $_[0]
833 8 2 18 $content eq 'use' || $content eq 'no'