Condition Coverage

blib/lib/PPI/Tokenizer.pm
Criterion Covered Total %
condition 27 37 72.9


and 3 conditions

line !l l&&!r l&&r condition
285 582309 13526 0 $self->{'token_eof'} and $self->{'token_cursor'} > scalar @{$self->{'tokens'};}
529 0 28138 308 ref $self->{'source'} eq "ARRAY" and not @{$self->{'source'};}
548 2273 14350 28279 ref $self->{'source'} eq "ARRAY" and @{$self->{'source'};}
571 0 0 703952 defined $self->{'line_cursor'} and defined $self->{'line_length'}
798 193 4 202 (!$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')
828 21805 2337 227 $content eq "{" and $t->{'line'} =~ /\G\s*\}/cg
838 5603 0 28 defined $word and $word =~ /^v[0-9]+$/
5603 26 2 defined $word and $word =~ /^v[0-9]+$/ and $content eq 'use' || $content eq 'no'
840 4 2 230 not $USUALLY_FORCES{$prevprev->content} and $prevprev->content ne "->"

or 2 conditions

line l !l condition
722 164856 0 shift() || 1
857 0 0 $self->{'feature_set'} || {}

or 3 conditions

line l !l&&r !l&&!r condition
156 0 16938 0 ref $_[0] || $_[0]
838 8 2 18 $content eq 'use' || $content eq 'no'