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