line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
123
|
|
|
123
|
|
2857
|
use 5.010001; |
|
123
|
|
|
|
|
952
|
|
2
|
123
|
|
|
123
|
|
1140
|
use strict; |
|
123
|
|
|
|
|
814
|
|
|
123
|
|
|
|
|
4566
|
|
3
|
123
|
|
|
123
|
|
1334
|
use warnings; |
|
123
|
|
|
|
|
640
|
|
|
123
|
|
|
|
|
12940
|
|
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
our $AUTHORITY = 'cpan:TOBYINK'; |
7
|
|
|
|
|
|
|
our $VERSION = '0.010008'; |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
use Import::Into; |
10
|
123
|
|
|
123
|
|
1748
|
use Mite::Shim (); |
|
123
|
|
|
|
|
3203
|
|
|
123
|
|
|
|
|
5174
|
|
11
|
123
|
|
|
123
|
|
44483
|
use Mite::Types (); |
|
123
|
|
|
|
|
412
|
|
|
123
|
|
|
|
|
3066
|
|
12
|
123
|
|
|
123
|
|
70265
|
|
|
123
|
|
|
|
|
501
|
|
|
123
|
|
|
|
|
35745
|
|
13
|
|
|
|
|
|
|
'Mite::Types'->import::into( 1, qw( -types slurpy ) ); |
14
|
|
|
|
|
|
|
|
15
|
1636
|
|
|
1636
|
|
16876
|
if ( Mite::Shim::_is_compiling() and defined $Mite::REAL_FILENAME ) { |
16
|
|
|
|
|
|
|
my $class = shift; |
17
|
1636
|
50
|
66
|
|
|
13235051
|
my %arg = map { lc($_) => 1 } @_; |
18
|
0
|
|
|
|
|
0
|
my ( $caller, $file ) = caller; |
19
|
0
|
|
|
|
|
0
|
require Mite::Project; |
|
0
|
|
|
|
|
0
|
|
20
|
0
|
|
|
|
|
0
|
Mite::Project->default->inject_mite_functions( |
21
|
0
|
|
|
|
|
0
|
package => $caller, |
22
|
|
|
|
|
|
|
file => $Mite::REAL_FILENAME, |
23
|
|
|
|
|
|
|
arg => \%arg, |
24
|
|
|
|
|
|
|
kind => ( $arg{'-role'} ? 'role' : 'class' ), |
25
|
|
|
|
|
|
|
shim => 'Mite::Shim', |
26
|
0
|
0
|
|
|
|
0
|
); |
27
|
|
|
|
|
|
|
} |
28
|
|
|
|
|
|
|
else { |
29
|
|
|
|
|
|
|
goto \&load_mite_file; |
30
|
|
|
|
|
|
|
} |
31
|
1636
|
|
|
|
|
8669
|
} |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
# Stolen bits from Mite::Shim |
34
|
|
|
|
|
|
|
my $class = shift; |
35
|
|
|
|
|
|
|
my %arg = map { lc($_) => 1 } @_; |
36
|
|
|
|
|
|
|
|
37
|
1636
|
|
|
1636
|
0
|
3786
|
my ( $caller, $file ) = caller; |
38
|
1636
|
|
|
|
|
3781
|
my $mite_file = $file . ".mite.pm"; |
|
2485
|
|
|
|
|
9442
|
|
39
|
|
|
|
|
|
|
|
40
|
1636
|
|
|
|
|
7778
|
if( !-e $mite_file ) { |
41
|
1636
|
|
|
|
|
4659
|
require Carp; |
42
|
|
|
|
|
|
|
Carp::croak("Compiled Mite file ($mite_file) for $file is missing"); |
43
|
1636
|
50
|
|
|
|
45470
|
} |
44
|
0
|
|
|
|
|
0
|
|
45
|
0
|
|
|
|
|
0
|
{ |
46
|
|
|
|
|
|
|
local @INC = ('.', @INC); |
47
|
|
|
|
|
|
|
require $mite_file; |
48
|
|
|
|
|
|
|
} |
49
|
1636
|
|
|
|
|
17079
|
} |
|
1636
|
|
|
|
|
12144
|
|
50
|
1636
|
|
|
|
|
736752
|
|
51
|
|
|
|
|
|
|
1; |