blib/lib/Minilla/Release/RegenerateFiles.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 12 | 14 | 85.7 |
branch | n/a | ||
condition | n/a | ||
subroutine | 4 | 5 | 80.0 |
pod | 0 | 1 | 0.0 |
total | 16 | 20 | 80.0 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package Minilla::Release::RegenerateFiles; | ||||||
2 | 1 | 1 | 978 | use strict; | |||
1 | 3 | ||||||
1 | 28 | ||||||
3 | 1 | 1 | 6 | use warnings; | |||
1 | 2 | ||||||
1 | 22 | ||||||
4 | 1 | 1 | 5 | use utf8; | |||
1 | 2 | ||||||
1 | 6 | ||||||
5 | 1 | 1 | 21 | use Minilla::Project; | |||
1 | 2 | ||||||
1 | 77 | ||||||
6 | |||||||
7 | sub run { | ||||||
8 | 0 | 0 | 0 | my ($self, $project, $opts) = @_; | |||
9 | |||||||
10 | 0 | $project->regenerate_files(); | |||||
11 | } | ||||||
12 | |||||||
13 | 1; | ||||||
14 |