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 17 1 1 $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 14 1 0 not @{$merged->{'_args'};} and (@{$merged->{'list'}{'exclude'};} != 0) + (@{$merged->{'list'}{'include'};} != 0) + (@{$merged->{'list'}{'filter'};} != 0) > 1
531 15 0 0 $srchost and substr($srchost, 0, 8) ne 'rsync://'
614 0 0 0 $merged->{'srchost'} and $list
695 6 0 0 $outfun and $self->{'_out'}
698 6 0 0 $errfun and $self->{'_err'}

or 3 conditions

line l !l&&r !l&&!r condition
349 0 0 53 $key eq 'dst' or $key eq 'destination'
353 0 0 53 $OPT{'moddebug'} or $self->{'_perlopts'}{'moddebug'}
354 15 0 38 exists $self->{'flag'}{$key} or exists $self->{'string'}{$key}
2 0 36 exists $self->{'flag'}{$key} or exists $self->{'string'}{$key} or exists $self->{'counter'}{$key}
2 0 34 exists $self->{'flag'}{$key} or exists $self->{'string'}{$key} or exists $self->{'counter'}{$key} or exists $self->{'_perlopts'}{$key}
370 2 15 17 exists $self->{'list'}{$key} or $key eq 'source'
437 4 4 8 $opt eq 'source' or $opt eq 'dest'
8 8 0 $opt eq 'source' or $opt eq 'dest' or $opt eq '_args'
504 11 11 0 $opt eq 'source' or $opt eq 'dest'