line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package FLAT::DFA::Minimal; |
2
|
|
|
|
|
|
|
|
3
|
6
|
|
|
6
|
|
43
|
use strict; |
|
6
|
|
|
|
|
13
|
|
|
6
|
|
|
|
|
178
|
|
4
|
6
|
|
|
6
|
|
31
|
use warnings; |
|
6
|
|
|
|
|
10
|
|
|
6
|
|
|
|
|
432
|
|
5
|
6
|
|
|
6
|
|
45
|
use parent qw(FLAT::DFA); |
|
6
|
|
|
|
|
12
|
|
|
6
|
|
|
|
|
35
|
|
6
|
6
|
|
|
6
|
|
440
|
use Storable qw(dclone); |
|
6
|
|
|
|
|
11
|
|
|
6
|
|
|
|
|
1225
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
sub new { |
9
|
137
|
|
|
137
|
0
|
432
|
my $pkg = shift; |
10
|
137
|
|
|
|
|
838
|
my $self = $pkg->SUPER::new(@_); |
11
|
137
|
|
|
|
|
419
|
$self->{EQUIVALENCE_CLASSES} = []; |
12
|
137
|
|
|
|
|
344
|
return $self; |
13
|
|
|
|
|
|
|
} |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
sub get_equivalence_classes { |
16
|
5
|
|
|
5
|
1
|
7378
|
my $self = shift; |
17
|
5
|
|
|
|
|
33
|
return $self->{EQUIVALENCE_CLASSES}; |
18
|
|
|
|
|
|
|
} |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
sub set_equivalence_classes { |
21
|
137
|
|
|
137
|
1
|
334
|
my $self = shift; |
22
|
137
|
|
|
|
|
242
|
my $e_classes = shift; |
23
|
137
|
50
|
|
|
|
580
|
die qq{Must be an array reference\n} if ref $e_classes ne q{ARRAY}; |
24
|
137
|
|
|
|
|
433
|
$self->{EQUIVALENCE_CLASSES} = $e_classes; |
25
|
137
|
|
|
|
|
359
|
return $self->{EQUIVALENCE_CLASSES}; |
26
|
|
|
|
|
|
|
} |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
1; |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
__END__ |