Condition Coverage

blib/lib/PPI/Transform/PackageName.pm
Criterion Covered Total %
condition 8 19 42.1


and 3 conditions

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'

or 2 conditions

line l !l condition
37 38 0 $words ||= []
54 38 0 $quotes ||= []

or 3 conditions

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'}