blib/lib/Devel/REPL/Plugin.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 18 | 18 | 100.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 6 | 6 | 100.0 |
pod | n/a | ||
total | 24 | 24 | 100.0 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | 2 | 2 | 6 | use strict; | |||
2 | 4 | ||||||
2 | 47 | ||||||
2 | 2 | 2 | 26 | use warnings; | |||
2 | 2 | ||||||
2 | 74 | ||||||
3 | package Devel::REPL::Plugin; | ||||||
4 | |||||||
5 | our $VERSION = '1.003028'; | ||||||
6 | |||||||
7 | 2 | 2 | 595 | use Devel::REPL::Meta::Plugin; | |||
2 | 3 | ||||||
2 | 67 | ||||||
8 | 2 | 2 | 9 | use Moose::Role (); | |||
2 | 2 | ||||||
2 | 29 | ||||||
9 | 2 | 2 | 6 | use namespace::autoclean; | |||
2 | 2 | ||||||
2 | 7 | ||||||
10 | |||||||
11 | sub import { | ||||||
12 | 57 | 57 | 128 | my $target = caller; | |||
13 | 57 | 397 | Devel::REPL::Meta::Plugin->initialize($target); | ||||
14 | 57 | 40321 | goto &Moose::Role::import; | ||||
15 | } | ||||||
16 | |||||||
17 | 1; |