lib/Git/Class/Role/Commit.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::Commit; | ||||||
2 | |||||||
3 | 3 | 3 | 2632 | use Moo::Role; with 'Git::Class::Role::Execute'; | |||
3 | 5 | ||||||
3 | 17 | ||||||
4 | requires 'git'; | ||||||
5 | |||||||
6 | sub commit { | ||||||
7 | 1 | 1 | 1 | 6494 | my $self = shift; | ||
8 | |||||||
9 | # my ($options, @args) = $self->_get_options(@_); | ||||||
10 | |||||||
11 | 1 | 60 | $self->git( commit => @_ ); | ||||
12 | } | ||||||
13 | |||||||
14 | 1; | ||||||
15 | |||||||
16 | __END__ |