File Coverage

blib/lib/Mic/Interface.pm
Criterion Covered Total %
statement 7 7 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 9 9 100.0


line stmt bran cond sub pod time code
1             package Mic::Interface;
2 3     3   53532 use strict;
  3         17  
  3         249  
3              
4             sub import {
5 3     3   42 my ($class, %arg) = @_;
6              
7 3         10 my $caller_pkg = (caller)[0];
8 3         24 $Mic::Spec_for{$caller_pkg}{interface} = \%arg;
9 3         56 strict->import();
10             }
11              
12             1;
13              
14             __END__