line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Test::Kantan::State; |
2
|
4
|
|
|
4
|
|
740
|
use strict; |
|
4
|
|
|
|
|
8
|
|
|
4
|
|
|
|
|
144
|
|
3
|
4
|
|
|
4
|
|
22
|
use warnings; |
|
4
|
|
|
|
|
6
|
|
|
4
|
|
|
|
|
128
|
|
4
|
4
|
|
|
4
|
|
2050
|
use utf8; |
|
4
|
|
|
|
|
28
|
|
|
4
|
|
|
|
|
24
|
|
5
|
4
|
|
|
4
|
|
175
|
use 5.010_001; |
|
4
|
|
|
|
|
16
|
|
|
4
|
|
|
|
|
182
|
|
6
|
|
|
|
|
|
|
|
7
|
4
|
|
|
4
|
|
16017
|
use Moo; |
|
4
|
|
|
|
|
51159
|
|
|
4
|
|
|
|
|
27
|
|
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
has pass_cnt => (is => 'ro', default => sub { 0 }); |
10
|
|
|
|
|
|
|
has fail_cnt => (is => 'ro', default => sub { 0 }); |
11
|
|
|
|
|
|
|
|
12
|
4
|
|
|
4
|
|
6155
|
no Moo; |
|
4
|
|
|
|
|
11
|
|
|
4
|
|
|
|
|
22
|
|
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
sub is_passing { |
15
|
2
|
|
|
2
|
0
|
5
|
my $self = shift; |
16
|
2
|
|
|
|
|
24
|
return $self->fail_cnt == 0; |
17
|
|
|
|
|
|
|
} |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
sub passed { |
20
|
16
|
|
|
16
|
0
|
134
|
my ($self) = @_; |
21
|
16
|
|
|
|
|
202
|
$self->{pass_cnt}++; |
22
|
|
|
|
|
|
|
} |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
sub failed { |
25
|
12
|
|
|
12
|
0
|
74
|
my ($self) = @_; |
26
|
12
|
|
|
|
|
34
|
$self->{fail_cnt}++; |
27
|
|
|
|
|
|
|
} |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
1; |