Branch Coverage

blib/lib/Dist/Zilla/Role/Git/StringFormatter.pm
Criterion Covered Total %
branch 6 10 60.0


line true false branch
36 0 0 defined $_[1] ? :
0 0 $_[0]->zilla->is_trial ? :
85 1 19 unless ($changelog)
94 1 18 unless ($changelog->content =~ / ^\Q$newver\E(?![_.]*[0-9]).*\n # from line beginning with version number ( (?: (?> .* ) (?:\n|\z) )*? ) # capture as few lines as possible (?: (?> \s* ) ^\S | \z ) # until non-indented line or EOF /mx)
101 17 1 if (length $changes) { }