Branch Coverage

blib/lib/Bash/Completion/Plugins/pinto.pm
Criterion Covered Total %
branch 17 36 47.2


line true false branch
57 0 12 if ($word =~ /^-/) { }
67 4 8 if ($args[0] and $args[0] =~ qr/^(?:-r|--root)$/)
68 0 4 if ($args[0] =~ qr/^(?:--root=)$/) { }
4 0 elsif ($args[1]) { }
82 0 12 if (/^add$/)
83 0 12 if (/^(?:copy|new)$/)
84 0 12 if (/^edit$/)
85 0 12 if (/^init$/)
86 0 12 if (/^install$/)
92 0 12 if (/^list$/)
99 0 12 if (/^merge$/)
100 0 12 if (/^nop$/)
101 0 12 if (/^(?:un)?pin$/)
102 0 12 if (/^(props|stacks)$/)
103 0 12 if (/^pull$/)
107 12 0 if ($_ eq $word)
113 0 0 if (/^(?:copy|delete|index|list|merge|pin|unpin)$/)
118 0 0 if (/^(?:manual|help)$/)