line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Acme::MilkyHolmes::Group::MilkyHolmes; |
2
|
3
|
|
|
3
|
|
1654
|
use Mouse; |
|
3
|
|
|
|
|
5
|
|
|
3
|
|
|
|
|
18
|
|
3
|
|
|
|
|
|
|
extends 'Acme::MilkyHolmes::Group::Detective'; |
4
|
|
|
|
|
|
|
with 'Acme::MilkyHolmes::Role::HasPersonalColor'; |
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
sub color_enable { |
7
|
12
|
|
|
12
|
0
|
23
|
my ($self) = shift; |
8
|
|
|
|
|
|
|
|
9
|
12
|
50
|
|
|
|
28
|
if ( @_ ) { |
10
|
0
|
|
|
|
|
0
|
$self->{color_enable} = $_[0]; |
11
|
|
|
|
|
|
|
} |
12
|
|
|
|
|
|
|
else { |
13
|
12
|
50
|
|
|
|
32
|
if ( defined $self->{color_enable} ) { |
14
|
|
|
|
|
|
|
return $self->{color_enable} |
15
|
0
|
|
|
|
|
0
|
} |
16
|
12
|
100
|
|
|
|
51
|
if ( defined $self->common->[0]->{color_enable} ) { |
17
|
4
|
|
|
|
|
13
|
my $color_enable = $self->common->[0]->{color_enable} + 0; |
18
|
4
|
|
|
|
|
16
|
return $color_enable; |
19
|
|
|
|
|
|
|
} |
20
|
|
|
|
|
|
|
} |
21
|
8
|
|
|
|
|
37
|
return 1; #default is true |
22
|
|
|
|
|
|
|
} |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
|
25
|
3
|
|
|
3
|
|
1213
|
no Mouse; |
|
3
|
|
|
|
|
20
|
|
|
3
|
|
|
|
|
12
|
|
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
1; |