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