Branch Coverage

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


line true false branch
877 0 0 if (ref $argmap->{$key} and builtin::reftype($argmap->{$key}) eq 'HASH') { }
0 0 elsif (ref $val and builtin::reftype($val) eq 'ARRAY') { }
893 0 0 unless $args{'data'}
897 0 0 if ($msg)
906 0 0 unless $args{'data'}
909 0 0 if ($unwrap)
975 0 0 unless ($c)
988 0 0 unless ($c)
1002 0 0 unless ($c)
1015 0 0 unless ($c)
1028 0 0 unless ($c)
1041 0 0 unless ($c)
1055 0 0 unless ($c)
1069 0 0 unless ($c)
1082 0 0 unless ($c)
1095 0 0 unless ($c)
1108 0 0 unless ($c)
1121 0 0 unless ($c)
1133 0 0 unless $self->is_connected
1145 0 0 if $unwrap
1146 0 0 if $empty
1147 0 0 if ($stream)
1148 0 0 $stream eq 'write' ? :
1172 0 0 $cpuarray->[$_] ? :
1178 0 0 if $_cpus
1185 0 0 if $_maplen
1199 0 0 XXX ? :
1221 0 0 if ($_keepalive)
1224 0 0 if ($data and defined $data->{'callbackID'} and my $cb = $$_callbacks{$data->{'callbackID'}}) { }
1241 0 0 if ($_keepalive)
1246 0 0 if (exists $args{'data'}) { }
0 0 elsif (exists $args{'error'}) { }
1262 0 0 if ($_keepalive)
1266 0 0 if (my $stream = $$_streams{$header->{'serial'}}) { }
1267 0 0 if ($args{'error'}) { }
1296 0 0 if $_eof
1302 0 0 if ($_sasl_session)
1306 0 0 if $eof
1311 0 0 if $eof
1326 0 0 if $f
1348 0 0 unless $_state == 0
1351 0 0 unless ($_connection)
1357 0 0 unless ($_transport)
1361 0 0 if ($_sasl_session) { }
1385 0 0 unless ($_connection->connected)
1416 0 0 if (my(@dispatch_values) = $_transport->receive($data))
1420 0 0 if ($eof)
1432 0 0 if $_completed_f
1439 0 0 unless $_completed_f
1440 0 0 unless $_completed_f->is_ready
1475 0 0 $domain ? :
1495 0 0 $network ? :
1514 0 0 $pool ? :
1533 0 0 $dev ? :
1552 0 0 $secret ? :
1581 0 0 unless $_state == 2
1587 0 0 if (defined $auth_type) { }
1589 0 0 if ($auth_type eq 'sasl') { }
0 0 elsif ($auth_type eq 'polkit') { }
0 0 elsif ($auth_type eq 'none') { }
1603 0 0 if ($want == $type)
1608 0 0 unless defined $selected
1616 0 0 if ($selected == $remote->AUTH_POLKIT) { }
0 0 elsif ($selected == $remote->AUTH_SASL) { }
1627 0 0 $_connection->is_secure ? :
1641 0 0 if $complete and not $auth->need_step
1642 0 0 if $auth->error
1651 0 0 if (my $err = $auth->error) { }
0 0 elsif (not $auth->is_success) { }
1658 0 0 if (defined $auth->property("ssf") and $auth->property("ssf") > 0)
1672 0 0 if (XXX)
1679 0 0 unless $_eof
1695 0 0 unless $_eof
1704 0 0 unless $_state == 4
1709 0 0 $_readonly ? :
1712 0 0 if (XXX)
1716 0 0 unless (XXX)
1727 0 0 unless (2 <= $_state and $_state <= 6)
1728 0 0 unless $_completed_f->is_ready
1733 0 0 if ($_connection->is_read_eof or $_connection->is_write_eof) { }
1771 0 0 if (my(@callbacks) = values %$_callbacks)
1774 0 0 unless $cb
1780 0 0 if (my(@streams) = values %$_streams)
1783 0 0 unless $stream
1789 0 0 if (my(@replies) = keys %$_replies)
1793 0 0 unless $reply
1801 0 0 unless $_completed_f->is_ready
1806 0 0 if $_state == 0 or 7 <= $_state
1862 0 0 if (scalar @$cell_counts == scalar @$pages)
1866 0 0 if (scalar @{$rv->{'counts'}} == 0)