Branch Coverage

blib/lib/Net/IMP/Remote.pm
Criterion Covered Total %
branch 1 30 3.3


line true false branch
21 0 1 unless eval "require $_"
30 0 0 unless delete $args{'addr'}
31 0 0 unless (delete $args{'fail'} // 'hard') =~ /^(soft|hard)$/
33 0 0 unless eval { do { 'Net::IMP::Remote::Protocol'->load_implementation(delete $args{'impl'}) } }
66 0 0 if $f and $$self{'pid'} != $$
67 0 0 unless ($f)
72 0 0 if $f
81 0 0 unless my $addr = $$self{'factory_args'}{'addr'}
82 0 0 unless my $ev = $$self{'factory_args'}{'eventlib'}
84 0 0 $addr =~ m[/] ? :
0 0 unless my $fd = $addr =~ m[/] ? 'IO::Socket::UNIX'->new('Peer', $addr, 'Type', 1, 'Timeout', 10) : $INETCLASS->new('PeerAddr', $addr, 'Timeout', 10)
100 0 0 unless my $factory = 'Net::IMP::Remote::Client'->new_factory(%{$$self{'factory_args'};}, 'conn', $conn)
105 0 0 if $$self{'interface'}
121 0 0 unless my $self = $class->SUPER::new_analyzer(@_)
124 0 0 $fail eq 'soft' ? :