blib/lib/Nephia/Setup/Plugin.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 11 | 12 | 91.6 |
branch | n/a | ||
condition | n/a | ||
subroutine | 5 | 6 | 83.3 |
pod | 4 | 4 | 100.0 |
total | 20 | 22 | 90.9 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package Nephia::Setup::Plugin; | ||||||
2 | 1 | 1 | 691 | use strict; | |||
1 | 3 | ||||||
1 | 32 | ||||||
3 | 1 | 1 | 4 | use warnings; | |||
1 | 2 | ||||||
1 | 143 | ||||||
4 | |||||||
5 | sub new { | ||||||
6 | 3 | 3 | 1 | 11 | my ($class, %opts) = @_; | ||
7 | 3 | 18 | bless {%opts}, $class; | ||||
8 | } | ||||||
9 | |||||||
10 | sub setup { | ||||||
11 | 4 | 4 | 1 | 23 | my $self = shift; | ||
12 | 4 | 26 | return $self->{setup}; | ||||
13 | } | ||||||
14 | |||||||
15 | sub fix_setup { | ||||||
16 | 0 | 0 | 1 | 0 | my ($self) = @_; | ||
17 | } | ||||||
18 | |||||||
19 | sub bundle { | ||||||
20 | 2 | 2 | 1 | 7 | return (); | ||
21 | } | ||||||
22 | |||||||
23 | 1; | ||||||
24 | |||||||
25 | __END__ |