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 | 10 | use strict; | |||
2 | 4 | ||||||
2 | 80 | ||||||
2 | 2 | 2 | 9 | use warnings; | |||
2 | 2 | ||||||
2 | 97 | ||||||
3 | package Devel::REPL::Plugin; | ||||||
4 | |||||||
5 | our $VERSION = '1.003027'; | ||||||
6 | |||||||
7 | 2 | 2 | 899 | use Devel::REPL::Meta::Plugin; | |||
2 | 5 | ||||||
2 | 77 | ||||||
8 | 2 | 2 | 13 | use Moose::Role (); | |||
2 | 4 | ||||||
2 | 38 | ||||||
9 | 2 | 2 | 9 | use namespace::autoclean; | |||
2 | 5 | ||||||
2 | 9 | ||||||
10 | |||||||
11 | sub import { | ||||||
12 | 57 | 57 | 237 | my $target = caller; | |||
13 | 57 | 605 | Devel::REPL::Meta::Plugin->initialize($target); | ||||
14 | 57 | 64662 | goto &Moose::Role::import; | ||||
15 | } | ||||||
16 | |||||||
17 | 1; |