line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Proc::Class::Status; |
2
|
1
|
|
|
1
|
|
7
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
38
|
|
3
|
1
|
|
|
1
|
|
6
|
use warnings; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
34
|
|
4
|
1
|
|
|
1
|
|
5
|
use Any::Moose; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
5
|
|
5
|
1
|
|
|
1
|
|
542
|
use 5.008001; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
37
|
|
6
|
1
|
|
|
1
|
|
945
|
use POSIX; |
|
1
|
|
|
|
|
21818
|
|
|
1
|
|
|
|
|
10
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
has status => ( |
9
|
|
|
|
|
|
|
is => 'ro', |
10
|
|
|
|
|
|
|
); |
11
|
|
|
|
|
|
|
|
12
|
0
|
|
|
0
|
1
|
|
sub is_exited { WIFEXITED( $_[0]->status ) } |
13
|
0
|
|
|
0
|
1
|
|
sub is_signaled { WIFSIGNALED( $_[0]->status ) } |
14
|
0
|
|
|
0
|
1
|
|
sub is_stopped { WIFSTOPPED( $_[0]->status ) } |
15
|
0
|
|
|
0
|
1
|
|
sub termsig { WTERMSIG( $_[0]->status ) } |
16
|
0
|
|
|
0
|
1
|
|
sub coredump { WCOREDUMP( $_[0]->status ) } |
17
|
0
|
|
|
0
|
1
|
|
sub exit_status { WEXITSTATUS( $_[0]->status ) } |
18
|
|
|
|
|
|
|
|
19
|
1
|
|
|
1
|
|
3654
|
no Any::Moose; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
10
|
|
20
|
|
|
|
|
|
|
__PACKAGE__->meta->make_immutable; |
21
|
|
|
|
|
|
|
__END__ |