blib/lib/IPC/PrettyPipe/Types.pm

filter: Statementstmt 96.1% 25 / 26 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 85.7% 6 / 7 Podpod n/a totaltotal 93.9% 31 / 33 CC 1 SCAR 0.2
CC
1
Cov
96%
__ANON__
1.1
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« blib/lib/IPC/PrettyPipe/Queue.pm ↑ Summary t/run/testprog.pl »
1 package IPC::PrettyPipe::Types;
2  
3 # ABSTRACT: Types
4  
5 21 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 21 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 21 our $VERSION = '0.13';
9  
10 use Type::Library
11 21 ▶ -base,
Subroutine BEGIN: called CC=1 SCAR=0.0
12 -declare => qw[
13 Arg
14 AutoArrayRef
15 Cmd
16 Pipe
17 21 ];
18  
19 21 ▶use Type::Utils -all;
Subroutine BEGIN: called CC=1 SCAR=0.0
20 21 ▶use Types::Standard -types;
Subroutine BEGIN: called CC=1 SCAR=0.0
21  
22 21 ▶use List::Util qw[ pairmap ];
Subroutine BEGIN: called CC=1 SCAR=0.0
23  
24 21 declare AutoArrayRef, as ArrayRef;
25 coerce AutoArrayRef,
26 0 ▶ from Any, via { [$_] };
Subroutine __ANON__: not called CC=1 SCAR=1.2
27  
28 21 class_type Pipe, { class => 'IPC::PrettyPipe' };
29 21 class_type Cmd, { class => 'IPC::PrettyPipe::Cmd' };
30 21 class_type Arg, { class => 'IPC::PrettyPipe::Arg' };
31  
32  
33 21 1;
34  
35 #
36 # This file is part of IPC-PrettyPipe
37 #
38 # This software is Copyright (c) 2018 by Smithsonian Astrophysical Observatory.
39 #
40 # This is free software, licensed under:
41 #
42 # The GNU General Public License, Version 3, June 2007
43 #
44  
45 __END__
« blib/lib/IPC/PrettyPipe/Queue.pm ↑ Summary t/run/testprog.pl »