line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Test::Kantan::State; |
2
|
4
|
|
|
4
|
|
405
|
use strict; |
|
4
|
|
|
|
|
5
|
|
|
4
|
|
|
|
|
133
|
|
3
|
4
|
|
|
4
|
|
16
|
use warnings; |
|
4
|
|
|
|
|
5
|
|
|
4
|
|
|
|
|
73
|
|
4
|
4
|
|
|
4
|
|
1060
|
use utf8; |
|
4
|
|
|
|
|
17
|
|
|
4
|
|
|
|
|
18
|
|
5
|
4
|
|
|
4
|
|
124
|
use 5.010_001; |
|
4
|
|
|
|
|
10
|
|
|
4
|
|
|
|
|
143
|
|
6
|
|
|
|
|
|
|
|
7
|
4
|
|
|
4
|
|
1419
|
use Moo; |
|
4
|
|
|
|
|
34143
|
|
|
4
|
|
|
|
|
24
|
|
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
has pass_cnt => (is => 'ro', default => sub { 0 }); |
10
|
|
|
|
|
|
|
has fail_cnt => (is => 'ro', default => sub { 0 }); |
11
|
|
|
|
|
|
|
|
12
|
4
|
|
|
4
|
|
4589
|
no Moo; |
|
4
|
|
|
|
|
7
|
|
|
4
|
|
|
|
|
14
|
|
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
sub is_passing { |
15
|
2
|
|
|
2
|
0
|
4
|
my $self = shift; |
16
|
2
|
|
|
|
|
28
|
return $self->fail_cnt == 0; |
17
|
|
|
|
|
|
|
} |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
sub passed { |
20
|
39
|
|
|
39
|
0
|
246
|
my ($self) = @_; |
21
|
39
|
|
|
|
|
103
|
$self->{pass_cnt}++; |
22
|
|
|
|
|
|
|
} |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
sub failed { |
25
|
22
|
|
|
22
|
0
|
104
|
my ($self) = @_; |
26
|
22
|
|
|
|
|
50
|
$self->{fail_cnt}++; |
27
|
|
|
|
|
|
|
} |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
1; |