Branch Coverage

blib/lib/Data/Object/Cli.pm
Criterion Covered Total %
branch 19 44 43.1


line true false branch
81 1 0 if $auto and $command
83 1 0 if ($goto) { }
99 0 4 if $handler
134 0 9 if ($data = $space->data) { }
135 0 0 if ($name and $data =~ /\{name\}/u)
139 0 0 if ($info and $data =~ /\{info\}/u)
143 0 0 if ($subs and $data =~ /\{subs\}/u)
147 0 0 if ($opts and $data =~ /\{opts\}/u)
151 0 0 if ($subs and $data =~ /\{commands\}/u)
155 0 0 if ($opts and $data =~ /\{options\}/u)
165 3 6 if $info
166 1 8 if $subs
167 0 9 if $opts
186 6 5 unless do { no strict 'refs'; ${"${class}::name";} }
198 0 18 unless caller 1
216 3 3 unless @args
219 3 1 if (my($token) = $args[$i] =~ /\{(\w+)\}/u)
245 0 0 length $_ > 1 ? :
248 0 0 if defined $args
249 0 0 if length $text > $size
269 0 2 if length $name > $size
307 2 3 $code ? :