Condition Coverage

blib/lib/PAUSE/Permissions.pm
Criterion Covered Total %
condition 25 38 65.7


and 3 conditions

line !l l&&!r l&&r condition
71 0 0 0 -f $self->cache_path and $self->max_age
109 0 0 0 $line =~ /^$/ and $inheader
186 20 12 8 $what eq 'upload' and grep {$_ eq $AUTHOR;} $module->all_maintainers
12 4 16 $what eq 'owner' and defined $module->owner
16 14 2 $what eq 'owner' and defined $module->owner and $module->owner eq $AUTHOR
30 0 0 $what eq 'comaint' and grep {$_ eq $AUTHOR;} $module->co_maintainers
202 7 0 14 $self->preload and $self->module_cache
209 65 14 7 $inheader and /^\s*$/
219 44 16 5 $seen_module and lc $m ne lc $module

or 2 conditions

line l !l condition
203 10 4 $self->module_cache->{$module} // undef

or 3 conditions

line l !l&&r !l&&!r condition
178 8 0 0 $self->module_cache // croak("module cache is undef\n")
186 8 0 32 $what eq 'upload' and grep {$_ eq $AUTHOR;} $module->all_maintainers or $what eq 'owner' and defined $module->owner and $module->owner eq $AUTHOR
2 0 30 $what eq 'upload' and grep {$_ eq $AUTHOR;} $module->all_maintainers or $what eq 'owner' and defined $module->owner and $module->owner eq $AUTHOR or $what eq 'comaint' and grep {$_ eq $AUTHOR;} $module->co_maintainers