blib/lib/ShipIt/Step/ChangeAllVersions.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 17 | 22 | 77.2 |
line | true | false | branch |
---|---|---|---|
21 | 7 | 7 | unless -f $_ and not -l $_ |
23 | 3 | 4 | if ($_ =~ /$looks_like_perl/) { } |
30 | 2 | 2 | if ($buff and $buff eq '#!') |
50 | 0 | 2 | if ($dry_run) |
62 | 8 | 0 | unless ($dry_run) |
72 | 6 | 84 | if (s/(\$VERSION .+) \b $current_version \b/$1$new_version/msx) |
81 | 30 | 60 | if (/\A =head1 \s+ VERSION\b/msx ... /\A =\w+/msx) |
82 | 6 | 24 | if (s/(version \b .+) $current_version/$1$new_version/msx) |
89 | 90 | 0 | if defined $out |
94 | 0 | 8 | if $dry_run |
98 | 8 | 0 | if ($need_replace) { } |