Branch Coverage

blib/lib/App/Spec/Pod.pm
Criterion Covered Total %
branch 37 42 88.1


line true false branch
29 4 0 if (@$global_options)
68 7 4 if (@$previous) { }
73 5 3 if (exists $keys{$key})
93 29 0 if (length $summary)
96 1 28 if (length $description)
101 10 19 if (keys %$subcmds)
106 14 15 if (@$options)
113 14 15 if (length $option_string)
118 9 20 if (@$parameters)
128 9 20 if (length $param_string)
139 7 22 if (keys %$subcmds and $name ne "help")
156 12 2 $param->required ? :
159 0 14 if ($param->mapping) { }
2 12 elsif ($param->multiple) { }
182 98 146 if ($widths[$i] < length $col)
205 0 41 $opt->required ? :
207 1 40 if ($opt->mapping) { }
3 37 elsif ($opt->multiple) { }
214 41 15 length $_ > 1 ? :
228 28 38 unless defined $$text
230 0 38 if ($markup eq "swim")