Branch Coverage

blib/lib/Test/Auto/Document.pm
Criterion Covered Total %
branch 27 68 39.7


line true false branch
40 6 0 unless $args->{'content'}
77 6 0 if (my $tagline = $parser->tagline)
78 6 0 if @$tagline
117 6 0 unless $inherits and @$inherits
135 6 0 unless $integrates and @$integrates
153 0 6 unless $libraries and @$libraries
171 6 0 unless $types and %$types
192 0 0 unless my $type = $types->{$name}
197 0 0 if $type->{'library'}
198 0 0 if $type->{'composite'}
199 0 0 if $type->{'parent'}
203 0 0 if ($library)
208 0 0 if ($parent)
214 0 0 if ($composite)
220 0 0 if (my $coercions = $type->{'coercions'})
229 0 0 if (my $examples = $type->{'examples'})
247 0 6 unless $scenarios and %$scenarios
267 0 6 unless my $scenario = $scenarios->{$name}
281 0 6 unless $attributes and @$attributes
299 0 12 unless my $attribute = $attributes->{$name}
305 12 0 if $is eq 'ro'
306 0 12 if $is eq 'rw'
308 6 6 if $presence eq 'req'
309 6 6 if $presence eq 'opt'
323 0 6 unless $headers and @$headers
334 0 6 unless $functions and %$functions
354 0 6 unless my $function = $functions->{$name}
376 6 0 unless $routines and %$routines
396 0 0 unless my $routine = $routines->{$name}
418 0 6 unless $methods and %$methods
438 0 18 unless my $method = $methods->{$name}
460 0 6 unless $footers and @$footers
489 1 2 unless $template
491 0 2 unless open my $fh, '<', $template