line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Pipe::Tube::Find; |
2
|
1
|
|
|
1
|
|
5
|
use strict; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
29
|
|
3
|
1
|
|
|
1
|
|
4
|
use warnings; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
21
|
|
4
|
1
|
|
|
1
|
|
17
|
use 5.006; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
30
|
|
5
|
|
|
|
|
|
|
|
6
|
1
|
|
|
1
|
|
4
|
use base 'Pipe::Tube'; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
82
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
our $VERSION = '0.05'; |
9
|
|
|
|
|
|
|
|
10
|
1
|
|
|
1
|
|
936
|
use File::Find::Rule; |
|
1
|
|
|
|
|
10753
|
|
|
1
|
|
|
|
|
11
|
|
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
sub init { |
13
|
1
|
|
|
1
|
0
|
3
|
my ($self, @dirs) = @_; |
14
|
1
|
|
|
|
|
7
|
my $rule = File::Find::Rule->new; |
15
|
1
|
|
|
|
|
17
|
$rule->start('.'); |
16
|
1
|
|
|
|
|
4318
|
$self->{rule} = $rule; |
17
|
|
|
|
|
|
|
|
18
|
1
|
|
|
|
|
7
|
return $self; |
19
|
|
|
|
|
|
|
} |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
sub run { |
22
|
77
|
|
|
77
|
0
|
109
|
my ($self) = @_; |
23
|
|
|
|
|
|
|
|
24
|
77
|
100
|
|
|
|
655
|
if (my $thing = $self->{rule}->match) { |
25
|
76
|
|
|
|
|
730
|
return $thing; |
26
|
|
|
|
|
|
|
} else { |
27
|
1
|
|
|
|
|
12
|
return; |
28
|
|
|
|
|
|
|
} |
29
|
|
|
|
|
|
|
} |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
1; |
32
|
|
|
|
|
|
|
|