| blib/lib/Perl/Critic/Policy/Modules/ProhibitPOSIXimport.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % | 
| condition | 20 | 25 | 80.0 | 
| line | !l | l&&!r | l&&r | condition | 
|---|---|---|---|---|
| 85 | 40 | 40 | 16 | @elems == 1 and _elem_is_empty_list($elems[0]) | 
| 90 | 8 | 24 | 48 | @args >= 1 and _arg_is_number($args[0]) | 
| 164 | 0 | 96 | 48 | @$aref and $aref->[-1]->isa('PPI::Token::Structure') | 
| 96 | 0 | 48 | @$aref and $aref->[-1]->isa('PPI::Token::Structure') and $aref->[-1]->content eq ';' | 
| line | l | !l | condition | 
|---|---|---|---|
| 56 | 68 | 0 | $elem->module || '' | 
| 78 | 96 | 28 | Perl::Critic::Pulp::Utils::include_module_first_arg($inc) || (return 'default') | 
| 101 | 32 | 2 | Perl::Critic::Pulp::Utils::elem_package($elem) || (return 1) | 
| 226 | 30 | 0 | $document->find('PPI::Token::Word') || [] | 
| 233 | 8 | 22 | $document->find('PPI::Token::Symbol') || [] | 
| line | l | !l&&r | !l&&!r | condition | 
|---|---|---|---|---|
| 212 | 28 | 0 | 44 | $arg->isa('PPI::Token::Number') || ($arg->isa('PPI::Token::Quote::Single') || $arg->isa('PPI::Token::Quote::Literal')) && &Scalar::Util::looks_like_number(scalar $arg->literal) |