lib/Git/Class/Role/Init.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 5 | 5 | 100.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 2 | 2 | 100.0 |
pod | 1 | 1 | 100.0 |
total | 8 | 8 | 100.0 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package Git::Class::Role::Init; | ||||||
2 | |||||||
3 | 3 | 3 | 1788 | use Moo::Role; with 'Git::Class::Role::Execute'; | |||
3 | 5 | ||||||
3 | 19 | ||||||
4 | requires 'git'; | ||||||
5 | |||||||
6 | sub init { | ||||||
7 | 1 | 1 | 1 | 3936 | my $self = shift; | ||
8 | |||||||
9 | # my ($options, @args) = $self->_get_options(@_); | ||||||
10 | |||||||
11 | 1 | 7 | $self->git( init => @_ ); | ||||
12 | } | ||||||
13 | |||||||
14 | 1; | ||||||
15 | |||||||
16 | __END__ |