blib/lib/PPI/Transform/PackageName.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 8 | 19 | 42.1 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
35 | 0 | 0 | 38 | defined $$self{'_PKG'} and defined $$self{'_WORD'} |
39 | 0 | 550 | 96 | defined $$self{'_PKG'} and $word->statement->class eq 'PPI::Statement::Package' |
line | l | !l | condition |
---|---|---|---|
37 | 38 | 0 | $words ||= [] |
54 | 38 | 0 | $quotes ||= [] |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
16 | 0 | 38 | 0 | ref $self || $self |
19 | 0 | 0 | 38 | exists $arg{-'package_name'} or exists $arg{-'word'} |
0 | 0 | 38 | exists $arg{-'package_name'} or exists $arg{-'word'} or exists $arg{-'quote'} |