line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package JIP::Mock; |
2
|
|
|
|
|
|
|
|
3
|
1
|
|
|
1
|
|
79173
|
use strict; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
38
|
|
4
|
1
|
|
|
1
|
|
6
|
use warnings; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
57
|
|
5
|
|
|
|
|
|
|
|
6
|
1
|
|
|
1
|
|
7
|
use Exporter qw(import); |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
38
|
|
7
|
1
|
|
|
1
|
|
7
|
use English qw(-no_match_vars); |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
7
|
|
8
|
|
|
|
|
|
|
|
9
|
1
|
|
|
1
|
|
1176
|
use JIP::Mock::Control; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
164
|
|
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
our $VERSION = 'v0.0.3'; |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
our @EXPORT_OK = qw(take_control); |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
sub take_control { |
16
|
2
|
|
|
2
|
1
|
9337
|
my ( $package, %args ) = @ARG; |
17
|
|
|
|
|
|
|
|
18
|
2
|
|
|
|
|
14
|
return JIP::Mock::Control->new( |
19
|
|
|
|
|
|
|
package => $package, |
20
|
|
|
|
|
|
|
%args, |
21
|
|
|
|
|
|
|
); |
22
|
|
|
|
|
|
|
} |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
1; |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
__END__ |