line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
10
|
|
|
10
|
|
30948
|
use 5.006; # our |
|
10
|
|
|
|
|
28
|
|
|
10
|
|
|
|
|
325
|
|
2
|
10
|
|
|
10
|
|
38
|
use strict; |
|
10
|
|
|
|
|
12
|
|
|
10
|
|
|
|
|
249
|
|
3
|
10
|
|
|
10
|
|
38
|
use warnings; |
|
10
|
|
|
|
|
13
|
|
|
10
|
|
|
|
|
614
|
|
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
package CPAN::Changes::Markdown::Role::Filter::Rule::PlainText; |
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
# ABSTRACT: A rule that only filters 'plaintext' nodes. |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
our $VERSION = '1.000001'; |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
our $AUTHORITY = 'cpan:KENTNL'; # AUTHORITY |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
|
28
|
10
|
|
|
10
|
|
526
|
use Role::Tiny qw( requires with ); |
|
10
|
|
|
|
|
3056
|
|
|
10
|
|
|
|
|
54
|
|
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
requires 'filter_plaintext'; |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
with 'CPAN::Changes::Markdown::Role::Filter::Rule'; |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
sub filter { |
55
|
54
|
|
|
54
|
1
|
78
|
my ( $self, @input ) = @_; |
56
|
54
|
|
|
|
|
47
|
my @output; |
57
|
54
|
|
|
|
|
63
|
for my $input (@input) { |
58
|
64
|
100
|
|
|
|
235
|
if ( not $input->isa('CPAN::Changes::Markdown::Filter::Node::PlainText') ) { |
59
|
5
|
|
|
|
|
4
|
push @output, $input; |
60
|
5
|
|
|
|
|
6
|
next; |
61
|
|
|
|
|
|
|
} |
62
|
59
|
|
|
|
|
146
|
push @output, $self->filter_plaintext($input); |
63
|
|
|
|
|
|
|
} |
64
|
54
|
|
|
|
|
288
|
return @output; |
65
|
|
|
|
|
|
|
} |
66
|
|
|
|
|
|
|
|
67
|
|
|
|
|
|
|
1; |
68
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
__END__ |