line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Test::Stream::Compare::Event; |
2
|
100
|
|
|
100
|
|
646
|
use strict; |
|
100
|
|
|
|
|
106
|
|
|
100
|
|
|
|
|
2264
|
|
3
|
100
|
|
|
100
|
|
294
|
use warnings; |
|
100
|
|
|
|
|
120
|
|
|
100
|
|
|
|
|
2115
|
|
4
|
|
|
|
|
|
|
|
5
|
100
|
|
|
100
|
|
312
|
use Scalar::Util qw/blessed/; |
|
100
|
|
|
|
|
112
|
|
|
100
|
|
|
|
|
3507
|
|
6
|
|
|
|
|
|
|
|
7
|
100
|
|
|
100
|
|
33030
|
use Test::Stream::Compare::EventMeta(); |
|
100
|
|
|
|
|
149
|
|
|
100
|
|
|
|
|
1606
|
|
8
|
|
|
|
|
|
|
|
9
|
100
|
|
|
100
|
|
434
|
use base 'Test::Stream::Compare::Object'; |
|
100
|
|
|
|
|
131
|
|
|
100
|
|
|
|
|
35833
|
|
10
|
100
|
|
|
100
|
|
436
|
use Test::Stream::HashBase accessors => [qw/etype/]; |
|
100
|
|
|
|
|
133
|
|
|
100
|
|
|
|
|
416
|
|
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
sub name { |
13
|
6
|
|
|
6
|
1
|
12
|
my $self = shift; |
14
|
6
|
|
|
|
|
62
|
my $etype = $self->etype; |
15
|
6
|
|
|
|
|
32
|
return "" |
16
|
|
|
|
|
|
|
} |
17
|
|
|
|
|
|
|
|
18
|
300
|
|
|
300
|
1
|
949
|
sub meta_class { 'Test::Stream::Compare::EventMeta' } |
19
|
302
|
|
|
302
|
1
|
1085
|
sub object_base { 'Test::Stream::Event' } |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
sub got_lines { |
22
|
9
|
|
|
9
|
1
|
14
|
my $self = shift; |
23
|
9
|
|
|
|
|
10
|
my ($event) = @_; |
24
|
9
|
100
|
|
|
|
17
|
return unless $event; |
25
|
8
|
100
|
|
|
|
30
|
return unless blessed($event); |
26
|
7
|
100
|
|
|
|
30
|
return unless $event->isa('Test::Stream::Event'); |
27
|
|
|
|
|
|
|
|
28
|
6
|
|
|
|
|
28
|
return ($event->debug->line); |
29
|
|
|
|
|
|
|
} |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
1; |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
__END__ |