Branch Coverage

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


line true false branch
866 0 0 if (ref $argmap->{$key} and builtin::reftype($argmap->{$key}) eq 'HASH') { }
0 0 elsif (ref $val and builtin::reftype($val) eq 'ARRAY') { }
882 0 0 unless $args{'data'}
886 0 0 if ($msg)
895 0 0 unless $args{'data'}
898 0 0 if ($unwrap)
964 0 0 unless ($c)
977 0 0 unless ($c)
991 0 0 unless ($c)
1004 0 0 unless ($c)
1017 0 0 unless ($c)
1030 0 0 unless ($c)
1044 0 0 unless ($c)
1058 0 0 unless ($c)
1071 0 0 unless ($c)
1084 0 0 unless ($c)
1097 0 0 unless ($c)
1110 0 0 unless ($c)
1122 0 0 unless $self->is_connected
1134 0 0 if $unwrap
1135 0 0 if $empty
1136 0 0 if ($stream)
1137 0 0 $stream eq 'write' ? :
1161 0 0 $cpuarray->[$_] ? :
1167 0 0 if $_cpus
1174 0 0 if $_maplen
1188 0 0 XXX ? :
1210 0 0 if ($_keepalive)
1213 0 0 if ($data and defined $data->{'callbackID'} and my $cb = $$_callbacks{$data->{'callbackID'}}) { }
1230 0 0 if ($_keepalive)
1235 0 0 if (exists $args{'data'}) { }
0 0 elsif (exists $args{'error'}) { }
1251 0 0 if ($_keepalive)
1255 0 0 if (my $stream = $$_streams{$header->{'serial'}}) { }
1256 0 0 if ($args{'error'}) { }
1285 0 0 if $_eof
1291 0 0 if ($_sasl_session)
1295 0 0 if $eof
1300 0 0 if $eof
1315 0 0 if $f
1337 0 0 unless $_state == 0
1340 0 0 unless ($_connection)
1346 0 0 unless ($_transport)
1350 0 0 if ($_sasl_session) { }
1374 0 0 unless ($_connection->connected)
1405 0 0 if (my(@dispatch_values) = $_transport->receive($data))
1409 0 0 if ($eof)
1421 0 0 if $_completed_f
1428 0 0 unless $_completed_f
1429 0 0 unless $_completed_f->is_ready
1464 0 0 $domain ? :
1484 0 0 $network ? :
1503 0 0 $pool ? :
1522 0 0 $dev ? :
1541 0 0 $secret ? :
1570 0 0 unless $_state == 2
1576 0 0 if (defined $auth_type) { }
1578 0 0 if ($auth_type eq 'sasl') { }
0 0 elsif ($auth_type eq 'polkit') { }
0 0 elsif ($auth_type eq 'none') { }
1592 0 0 if ($want == $type)
1597 0 0 unless defined $selected
1605 0 0 if ($selected == $remote->AUTH_POLKIT) { }
0 0 elsif ($selected == $remote->AUTH_SASL) { }
1616 0 0 $_connection->is_secure ? :
1630 0 0 if $complete and not $auth->need_step
1631 0 0 if $auth->error
1640 0 0 if (my $err = $auth->error) { }
0 0 elsif (not $auth->is_success) { }
1647 0 0 if (defined $auth->property("ssf") and $auth->property("ssf") > 0)
1661 0 0 if (XXX)
1668 0 0 unless $_eof
1684 0 0 unless $_eof
1693 0 0 unless $_state == 4
1698 0 0 $_readonly ? :
1701 0 0 if (XXX)
1705 0 0 unless (XXX)
1716 0 0 unless (2 <= $_state and $_state <= 6)
1717 0 0 unless $_completed_f->is_ready
1722 0 0 if ($_connection->is_read_eof or $_connection->is_write_eof) { }
1760 0 0 if (my(@callbacks) = values %$_callbacks)
1763 0 0 unless $cb
1769 0 0 if (my(@streams) = values %$_streams)
1772 0 0 unless $stream
1778 0 0 if (my(@replies) = keys %$_replies)
1782 0 0 unless $reply
1790 0 0 unless $_completed_f->is_ready
1795 0 0 if $_state == 0 or 7 <= $_state
1851 0 0 if (scalar @$cell_counts == scalar @$pages)
1855 0 0 if (scalar @{$rv->{'counts'}} == 0)