blib/lib/Perl/Critic/StricterSubs/Utils.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 23 | 36 | 63.8 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
111 | 36 | 18 | 0 | $include_type ne "use" and $include_type ne "require" |
245 | 0 | 5 | 2 | defined $sibling and $sibling->isa("PPI::Structure::Constructor") |
276 | 30 | 4 | 5 | $elem->isa('PPI::Token::Operator') && $elem eq $Perl::Critic::StricterSubs::Utils::FATCOMMA |
285 | 1987 | 0 | 7 | $elem->isa('PPI::Statement::Include') && $elem->pragma eq 'constant' && $elem->type eq 'use' |
337 | 63 | 0 | 9 | exists $functions_that_take_filehandles{$left_sib} && is_function_call($left_sib) |
359 | 9 | 0 | 8 | exists $functions_that_take_filehandles{$left_uncle} && is_function_call($left_uncle) |
line | l | !l | condition |
---|---|---|---|
251 | 5 | 0 | first_arg($pragma_bareword) || (next) |
350 | 92 | 0 | $elem->parent || (return) |
351 | 92 | 0 | $expression->parent || (return) |
397 | 84 | 0 | $elem->parent || (return) |
398 | 84 | 0 | $expression->parent || (return) |
457 | 13 | 0 | $elem->snext_sibling || (return 0) |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
73 | 16 | 0 | 0 | $word_string || $Perl::Critic::StricterSubs::Utils::EMPTY |
353 | 11 | 7 | 74 | $enclosing_node->isa("PPI::Structure::List") or $enclosing_node->isa("PPI::Structure::Block") |