Branch Coverage

blib/lib/PPI/Transform/PackageName.pm
Criterion Covered Total %
branch 13 18 72.2


line true false branch
18 38 0 if (exists $arg{-'all'})
19 0 38 if exists $arg{-'package_name'} or exists $arg{-'word'} or exists $arg{-'quote'}
35 38 0 if (defined $$self{'_PKG'} and defined $$self{'_WORD'})
39 96 550 if (defined $$self{'_PKG'} and $word->statement->class eq 'PPI::Statement::Package') { }
550 0 elsif (defined $$self{'_WORD'}) { }
43 48 48 if $_ ne $content
48 10 540 if $_ ne $content
52 38 0 if (defined $$self{'_QUOTE'})
59 28 66 if ($_ ne $string)