line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
# Connector::Builtin::Null |
2
|
|
|
|
|
|
|
package Connector::Builtin::Null; |
3
|
|
|
|
|
|
|
|
4
|
1
|
|
|
1
|
|
156425
|
use strict; |
|
1
|
|
|
|
|
13
|
|
|
1
|
|
|
|
|
28
|
|
5
|
1
|
|
|
1
|
|
5
|
use warnings; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
23
|
|
6
|
1
|
|
|
1
|
|
4
|
use English; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
8
|
|
7
|
|
|
|
|
|
|
|
8
|
1
|
|
|
1
|
|
1009
|
use Moose; |
|
1
|
|
|
|
|
475815
|
|
|
1
|
|
|
|
|
10
|
|
9
|
|
|
|
|
|
|
extends 'Connector::Builtin'; |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
has '+LOCATION' => ( required => 0 ); |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
sub get { |
14
|
2
|
|
|
2
|
1
|
11
|
my $self = shift; |
15
|
2
|
|
|
|
|
6
|
return undef; |
16
|
|
|
|
|
|
|
} |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
sub get_list { |
19
|
2
|
|
|
2
|
1
|
5
|
my $self = shift; |
20
|
2
|
|
|
|
|
9
|
return (); |
21
|
|
|
|
|
|
|
} |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
sub get_size { |
24
|
2
|
|
|
2
|
1
|
6
|
my $self = shift; |
25
|
2
|
|
|
|
|
9
|
return 0; |
26
|
|
|
|
|
|
|
} |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
sub get_keys { |
29
|
2
|
|
|
2
|
1
|
25
|
my $self = shift; |
30
|
2
|
|
|
|
|
9
|
return (); |
31
|
|
|
|
|
|
|
} |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
sub get_hash { |
34
|
2
|
|
|
2
|
1
|
8
|
my $self = shift; |
35
|
2
|
|
|
|
|
9
|
return undef; |
36
|
|
|
|
|
|
|
} |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
sub set { |
39
|
2
|
|
|
2
|
1
|
5
|
my $self = shift; |
40
|
2
|
|
|
|
|
8
|
return 1; |
41
|
|
|
|
|
|
|
} |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
sub exists { |
44
|
2
|
|
|
2
|
1
|
5
|
my $self = shift; |
45
|
2
|
|
|
|
|
8
|
return 0; |
46
|
|
|
|
|
|
|
} |
47
|
|
|
|
|
|
|
|
48
|
1
|
|
|
1
|
|
8577
|
no Moose; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
13
|
|
49
|
|
|
|
|
|
|
__PACKAGE__->meta->make_immutable; |
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
1; |
52
|
|
|
|
|
|
|
__END__ |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
=head1 Name |
55
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
Connector::Builtin::Null |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
=head1 Description |
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
This is mainly useful to replace active connectors in test setups. |
61
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
Handles each request as access to a non-existing items. |
63
|
|
|
|
|
|
|
Set requests return boolean true, input is discarded. |