Condition Coverage

blib/lib/Perl/Strip.pm
Criterion Covered Total %
condition 0 48 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'))
169 0 0 0 $n3 and $n3->isa('PPI::Token::Whitespace')
174 0 0 0 $n2 and $n2->isa('PPI::Token::Whitespace')
175 0 0 0 $n3 and $n3->isa('PPI::Token::Whitespace') || $n3->isa('PPI::Token::Structure') && $n3->content eq ';'
185 0 0 0 $$n{'content'} eq 'foreach' and $n->isa('PPI::Token::Word')
249 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'))
175 0 0 0 $n3->isa('PPI::Token::Whitespace') || $n3->isa('PPI::Token::Structure') && $n3->content eq ';'
267 0 0 0 $oldsrc eq $src or syswrite($fh, $src) == length $src