Branch Coverage

blib/lib/Dist/Zilla/Util.pm
Criterion Covered Total %
branch 23 30 76.6


line true false branch
22 88 43 if $parser->{'abstract'}
25 7 36 if $line =~ /^\s*#+\s*ABSTRACT:[ \t]*(\S.*)$/mu
35 19 42 if ($ele_name eq 'head1') { }
17 25 elsif ($ele_name eq 'Para') { }
4 21 elsif ($ele_name eq 'C') { }
51 46 15 if $parser->{'abstract'}
52 7 8 if ($ele_name eq 'head1') { }
7 1 elsif ($ele_name eq 'Para' and $parser->{'in_section'} eq 'NAME') { }
1 0 elsif ($ele_name eq 'C') { }
56 7 0 if ($parser->{'buffer'} =~ /^(?:\S+\s+)+?-+\s+(.+)$/su)
71 9 40 if ($parser->{'in_C'}) { }
130 0 0 $^O eq 'MSWin32' && "$]" < 5.016 ? :
135 1 0 if $ENV{'DZIL_GLOBAL_CONFIG_ROOT'}
138 0 0 unless $homedir
152 1 1 unless ($req->accepts_module($pkg, $have_version))