Branch Coverage

blib/lib/Sys/Async/Virt.pm
Criterion Covered Total %
branch 0 180 0.0


line true false branch
864 0 0 if (ref $argmap->{$key} and builtin::reftype($argmap->{$key}) eq 'HASH') { }
0 0 elsif (ref $val and builtin::reftype($val) eq 'ARRAY') { }
880 0 0 unless $args{'data'}
884 0 0 if ($msg)
893 0 0 unless $args{'data'}
896 0 0 if ($unwrap)
962 0 0 unless ($c)
975 0 0 unless ($c)
989 0 0 unless ($c)
1002 0 0 unless ($c)
1015 0 0 unless ($c)
1028 0 0 unless ($c)
1042 0 0 unless ($c)
1056 0 0 unless ($c)
1069 0 0 unless ($c)
1082 0 0 unless ($c)
1095 0 0 unless ($c)
1108 0 0 unless ($c)
1120 0 0 unless $self->is_connected
1132 0 0 if $unwrap
1133 0 0 if $empty
1134 0 0 if ($stream)
1135 0 0 $stream eq 'write' ? :
1159 0 0 $cpuarray->[$_] ? :
1165 0 0 if $_cpus
1172 0 0 if $_maplen
1186 0 0 XXX ? :
1208 0 0 if ($_keepalive)
1211 0 0 if ($data and defined $data->{'callbackID'} and my $cb = $$_callbacks{$data->{'callbackID'}}) { }
1228 0 0 if ($_keepalive)
1233 0 0 if (exists $args{'data'}) { }
0 0 elsif (exists $args{'error'}) { }
1249 0 0 if ($_keepalive)
1253 0 0 if (my $stream = $$_streams{$header->{'serial'}}) { }
1254 0 0 if ($args{'error'}) { }
1283 0 0 if $_eof
1289 0 0 if ($_sasl_session)
1293 0 0 if $eof
1298 0 0 if $eof
1313 0 0 if $f
1335 0 0 unless $_state == 0
1338 0 0 unless ($_connection)
1344 0 0 unless ($_transport)
1348 0 0 if ($_sasl_session) { }
1372 0 0 unless ($_connection->connected)
1403 0 0 if (my(@dispatch_values) = $_transport->receive($data))
1407 0 0 if ($eof)
1419 0 0 if $_completed_f
1426 0 0 unless $_completed_f
1427 0 0 unless $_completed_f->is_ready
1462 0 0 $domain ? :
1482 0 0 $network ? :
1501 0 0 $pool ? :
1520 0 0 $dev ? :
1539 0 0 $secret ? :
1568 0 0 unless $_state == 2
1574 0 0 if (defined $auth_type) { }
1576 0 0 if ($auth_type eq 'sasl') { }
0 0 elsif ($auth_type eq 'polkit') { }
0 0 elsif ($auth_type eq 'none') { }
1590 0 0 if ($want == $type)
1595 0 0 unless defined $selected
1603 0 0 if ($selected == $remote->AUTH_POLKIT) { }
0 0 elsif ($selected == $remote->AUTH_SASL) { }
1614 0 0 $_connection->is_secure ? :
1628 0 0 if $complete and not $auth->need_step
1629 0 0 if $auth->error
1638 0 0 if (my $err = $auth->error) { }
0 0 elsif (not $auth->is_success) { }
1645 0 0 if (defined $auth->property("ssf") and $auth->property("ssf") > 0)
1659 0 0 if (XXX)
1666 0 0 unless $_eof
1682 0 0 unless $_eof
1691 0 0 unless $_state == 4
1696 0 0 $_readonly ? :
1699 0 0 if (XXX)
1703 0 0 unless (XXX)
1714 0 0 unless (2 <= $_state and $_state <= 6)
1715 0 0 unless $_completed_f->is_ready
1720 0 0 if ($_connection->is_read_eof or $_connection->is_write_eof) { }
1758 0 0 if (my(@callbacks) = values %$_callbacks)
1761 0 0 unless $cb
1767 0 0 if (my(@streams) = values %$_streams)
1770 0 0 unless $stream
1776 0 0 if (my(@replies) = keys %$_replies)
1780 0 0 unless $reply
1788 0 0 unless $_completed_f->is_ready
1793 0 0 if $_state == 0 or 7 <= $_state
1849 0 0 if (scalar @$cell_counts == scalar @$pages)
1853 0 0 if (scalar @{$rv->{'counts'}} == 0)