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   78675 use strict;
  3         5  
  3         213  
3              
4             sub import {
5 3     3   33 my ($class, %arg) = @_;
6              
7 3         9 my $caller_pkg = (caller)[0];
8 3         23 $Mic::Spec_for{$caller_pkg}{interface} = \%arg;
9 3         46 strict->import();
10             }
11              
12             1;
13              
14             __END__