Interact/Transport/Platform/Unix.pm

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