lib/Git/Class/Role/Cwd.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 6 | 6 | 100.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 2 | 2 | 100.0 |
pod | n/a | ||
total | 8 | 8 | 100.0 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package Git::Class::Role::Cwd; | ||||||
2 | |||||||
3 | 4 | 4 | 3461 | use Moo::Role; | |||
4 | 9 | ||||||
4 | 74 | ||||||
4 | 4 | 4 | 1380 | use Path::Tiny (); | |||
4 | 23 | ||||||
4 | 297 | ||||||
5 | |||||||
6 | has '_cwd' => ( | ||||||
7 | is => 'ro', | ||||||
8 | # isa => 'Str|Undef', | ||||||
9 | init_arg => 'cwd', | ||||||
10 | default => sub { Path::Tiny->cwd }, | ||||||
11 | ); | ||||||
12 | |||||||
13 | 1; | ||||||
14 | |||||||
15 | __END__ |