Condition Coverage

blib/lib/Perl/Strip.pm
Criterion Covered Total %
condition 0 57 0.0


and 3 conditions

line !l l&&!r l&&r condition
134 0 0 0 $prev && $next
137 0 0 0 $next->isa("PPI::Token::Operator") and $next->{'content'} =~ /^(?:,|=|!|!=|==|=>)$/u
0 0 0 $prev->isa("PPI::Token::Operator") and $prev->{'content'} =~ /^(?:,|=|\.|!|!=|==|=>)$/u
0 0 0 $prev->isa("PPI::Token::Word") and 'PPI::Token::Symbol' eq ref $next || $next->isa('PPI::Structure::Block') || $next->isa('PPI::Structure::List') || $next->isa('PPI::Structure::Condition')
0 0 0 $self->{'optimise_size'} and ($prev->isa("PPI::Token::Word") and 'PPI::Token::Symbol' eq ref $next || $next->isa('PPI::Structure::Block') || $next->isa('PPI::Structure::List') || $next->isa('PPI::Structure::Condition'))
152 0 0 0 $prev->isa("PPI::Token::Operator") and $prev->{'content'} eq "="
0 0 0 $prev->isa("PPI::Token::Operator") and $prev->{'content'} eq "=" and $next->isa("PPI::Token::Operator")
0 0 0 $prev->isa("PPI::Token::Operator") and $prev->{'content'} eq "=" and $next->isa("PPI::Token::Operator") and $next->{'content'} =~ /[+\-]/u
175 0 0 0 $n3 and $n3->isa("PPI::Token::Whitespace")
180 0 0 0 $n2 and $n2->isa("PPI::Token::Whitespace")
181 0 0 0 $n3 and $n3->isa('PPI::Token::Whitespace') || $n3->isa('PPI::Token::Structure') && $n3->content eq ';'
191 0 0 0 $n->{'content'} eq "foreach" and $n->isa("PPI::Token::Word")
255 0 0 0 exists $self->{'cache'} and 2048 <= length $src

or 3 conditions

line l !l&&r !l&&!r condition
137 0 0 0 $next->isa("PPI::Token::Operator") and $next->{'content'} =~ /^(?:,|=|!|!=|==|=>)$/u or $prev->isa("PPI::Token::Operator") and $prev->{'content'} =~ /^(?:,|=|\.|!|!=|==|=>)$/u
0 0 0 $next->isa("PPI::Token::Operator") and $next->{'content'} =~ /^(?:,|=|!|!=|==|=>)$/u or $prev->isa("PPI::Token::Operator") and $prev->{'content'} =~ /^(?:,|=|\.|!|!=|==|=>)$/u or $prev->isa("PPI::Token::Structure")
0 0 0 'PPI::Token::Symbol' eq ref $next || $next->isa('PPI::Structure::Block') || $next->isa('PPI::Structure::List') || $next->isa('PPI::Structure::Condition')
0 0 0 $next->isa("PPI::Token::Operator") and $next->{'content'} =~ /^(?:,|=|!|!=|==|=>)$/u or $prev->isa("PPI::Token::Operator") and $prev->{'content'} =~ /^(?:,|=|\.|!|!=|==|=>)$/u or $prev->isa("PPI::Token::Structure") or $self->{'optimise_size'} and ($prev->isa("PPI::Token::Word") and 'PPI::Token::Symbol' eq ref $next || $next->isa('PPI::Structure::Block') || $next->isa('PPI::Structure::List') || $next->isa('PPI::Structure::Condition'))
181 0 0 0 $n3->isa('PPI::Token::Whitespace') || $n3->isa('PPI::Token::Structure') && $n3->content eq ';'
273 0 0 0 $oldsrc eq $src or syswrite($fh, $src) == length $src