Interact/Transport/Platform/Unix.pm

filter: Statementstmt 100% 22 / 22 Branchbran 50.0% 1 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 7 / 7 Podpod 0.0% 0 / 1 totaltotal 93.7% 30 / 32 CC 2 SCAR 2.4
CC
2
Cov
96%
BEGIN
2.1
BEGIN
1.0
BEGIN
1.0
CRAP 1.3
« Interact/Transport/Loopback.pm ↑ Summary Interact/Transport/Platform/Win32.pm »
1 package Net::CLI::Interact::Transport::Platform::Unix;
2 8 $Net::CLI::Interact::Transport::Platform::Unix::VERSION = '2.400002';
3 8 ▶use Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 8 ▶use Class::Load qw(try_load_class);
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 8 ▶BEGIN {
Subroutine BEGIN: called CC=2 SCAR=7.2
7 8 ▶ sub can_use_pty { return try_load_class('IO::Pty') }
Subroutine can_use_pty: called CC=1 SCAR=0.0
Pod undocumented
8  
9 8 ▶ extends (can_use_pty()
Branch: 1 branch
BranchTrueFalseTotal
can_use_pty() ? : 8 0 8
10 ? 'Net::CLI::Interact::Transport::Wrapper::Net_Telnet'
11 : 'Net::CLI::Interact::Transport::Wrapper::IPC_Run');
12 }
13  
14 {
15 8 package # hide from pause
16 Net::CLI::Interact::Transport::Platform::Options;
17  
18 8 ▶ use Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
19 8 ▶ use Sub::Quote;
Subroutine BEGIN: called CC=1 SCAR=0.0
20 8 ▶ use MooX::Types::MooseLike::Base qw(Int);
Subroutine BEGIN: called CC=1 SCAR=0.0
21  
22 8 extends 'Net::CLI::Interact::Transport::Wrapper::Options';
23  
24 8 has 'reap' => (
25 is => 'rw',
26 isa => Int,
27 default => quote_sub('0'),
28 );
29 }
30  
31 =pod
32  
33 =for Pod::Coverage can_use_pty
34  
35 =cut
36  
37 8 1;
« Interact/Transport/Loopback.pm ↑ Summary Interact/Transport/Platform/Win32.pm »