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
293 381016 13486 0 $self->{'token_eof'} and $self->{'token_cursor'} > scalar @{$self->{'tokens'};}
537 0 27945 310 ref $self->{'source'} eq "ARRAY" and not @{$self->{'source'};}
556 2297 14279 24315 ref $self->{'source'} eq "ARRAY" and @{$self->{'source'};}
579 0 0 454535 defined $self->{'line_cursor'} and defined $self->{'line_length'}
806 192 6 223 (!$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')
836 21686 2345 228 $content eq "{" and $t->{'line'} =~ /\G\s*\}/cg
846 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'
848 4 2 230 not $USUALLY_FORCES{$prevprev->content} and $prevprev->content ne "->"

or 2 conditions

line l !l condition
730 153268 0 shift() || 1
865 0 0 $self->{'features'} || {}

or 3 conditions

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