Condition Coverage

blib/lib/File/Rsync.pm
Criterion Covered Total %
condition 26 51 50.9


and 3 conditions

line !l l&&!r l&&r condition
359 26 2 2 $key eq 'files-from' and ref $val eq 'ARRAY'
372 0 0 0 $key eq 'source' and &blessed($val)
402 0 0 0 $key eq 'infun' and ref $val eq 'ARRAY'
518 26 2 0 not @{$merged->{'_args'};} and (@{$merged->{'list'}{'exclude'};} != 0) + (@{$merged->{'list'}{'include'};} != 0) + (@{$merged->{'list'}{'filter'};} != 0) > 1
531 28 0 0 $srchost and substr($srchost, 0, 8) ne 'rsync://'
614 0 0 0 $merged->{'srchost'} and $list
710 11 0 0 $outfun and $self->{'_out'}
713 11 0 0 $errfun and $self->{'_err'}

or 3 conditions

line l !l&&r !l&&!r condition
349 0 0 92 $key eq 'dst' or $key eq 'destination'
353 0 0 92 $OPT{'moddebug'} or $self->{'_perlopts'}{'moddebug'}
354 24 0 68 exists $self->{'flag'}{$key} or exists $self->{'string'}{$key}
4 0 64 exists $self->{'flag'}{$key} or exists $self->{'string'}{$key} or exists $self->{'counter'}{$key}
2 0 62 exists $self->{'flag'}{$key} or exists $self->{'string'}{$key} or exists $self->{'counter'}{$key} or exists $self->{'_perlopts'}{$key}
370 2 28 32 exists $self->{'list'}{$key} or $key eq 'source'
437 6 6 14 $opt eq 'source' or $opt eq 'dest'
12 14 0 $opt eq 'source' or $opt eq 'dest' or $opt eq '_args'
504 22 22 0 $opt eq 'source' or $opt eq 'dest'