Branch Coverage

blib/lib/Test/Synopsis.pm
Criterion Covered Total %
branch 22 26 84.6


line true false branch
19 0 1 unless my(@files) = grep(m[^lib/.*\.p(od|m)$], keys %$manifest)
32 1 13 unless (@$blocks)
54 1 14 if (not $ok and $@ =~ /^SKIP:.+BEGIN failed--compilation aborted/is) { }
61 4 10 if (@$blocks > 1)
67 0 4 $ARGS{'dump_all_code_on_error'} ? :
4 10 unless "Test::Synopsis"->builder->ok($ok, $block_name)
129 9 295 unless $_[0]{'tsyn_stack'}
135 0 356 unless $_[0]{'tsyn_stack'}
138 48 308 if ($elt eq 'head1') { }
4 304 elsif ($elt eq 'Data') { }
15 289 elsif ($elt eq 'Verbatim' and $self->{'tsyn_in_synopsis'}) { }
139 9 39 if ($self->{'tsyn_in_synopsis'})
147 4 0 if ($up->[0] eq "for" and $up->[1]{'target'} eq "test_synopsis")