Condition Coverage

blib/lib/WWW/PAUSE/Simple.pm
Criterion Covered Total %
condition 0 78 0.0


and 3 conditions

line !l l&&!r l&&r condition
219 0 0 0 defined $username and defined $password
227 0 0 0 defined $username and defined $password
472 0 0 0 defined $args{'size_min'} and $rec->{'size'} < $args{'size_min'}
474 0 0 0 defined $args{'size_max'} and $rec->{'size'} > $args{'size_max'}
480 0 0 0 defined $args{'mtime_min'} and $rec->{'mtime'} < $args{'mtime_min'}
482 0 0 0 defined $args{'mtime_max'} and $rec->{'mtime'} > $args{'mtime_max'}
568 0 0 0 $args{'include_dists'} and @{$args{'include_dists'};}
0 0 0 $args{'include_dists'} and @{$args{'include_dists'};} and not grep({$distname eq $_;} @{$args{"include_dists"};})
572 0 0 0 $args{'exclude_dists'} and @{$args{'exclude_dists'};}
0 0 0 $args{'exclude_dists'} and @{$args{'exclude_dists'};} and grep {$distname eq $_;} @{$args{"exclude_dists"};}
577 0 0 0 $newest_n and $dev && !$include_dev || !($dev || $include_nondev)
734 0 0 0 $which eq "delete" and grep {$_ =~ /\A\*\.?/;} @$files0
0 0 0 $which eq "reindex" and grep {$_ =~ /\A\*(z|\.?gz|\.?tar\.gz)?\z/;} @$files0
758 0 0 0 $f =~ /$re/ and not grep({$_ eq $f;} @files)

or 2 conditions

line l !l condition
206 0 0 $args{'retries'} //= 5
306 0 0 $args{'subdir'} // ""
349 0 0 $res->[3] //= {}
412 0 0 $args{'files'} // []
555 0 0 $args{'include_nondev'} // 1
676 0 0 $args{'num_keep'} // 1
695 0 0 $res->[3]{'func.files'} // []
723 0 0 $args{'files'} // []
726 0 0 $args{'protect_files'} // []
923 0 0 $args{'modules'} // []

or 3 conditions

line l !l&&r !l&&!r condition
224 0 0 0 $username //= $1
225 0 0 0 $password //= $1
577 0 0 0 $dev && !$include_dev || !($dev || $include_nondev)
694 0 0 0 $res->[0] != 200 or $args{'-dry_run'}

xor 4 conditions

line l&&r l&&!r !l&&r !l&&!r condition
488 0 0 0 0 $del xor $rec->{'is_scheduled_for_deletion'}