Condition Coverage

lib/Test/PAUSE/Permissions.pm
Criterion Covered Total %
condition 0 40 0.0


and 3 conditions

line !l l&&!r l&&r condition
67 0 0 0 $file_authority and $file_authority ne $meta_authority
79 0 0 0 not $saw_errors and %new_packages
0 0 0 not $saw_errors and %new_packages and keys %new_packages < keys %$provides
0 0 0 not $saw_errors and %new_packages and keys %new_packages < keys %$provides and keys %dist_maintainers > @authorities
107 0 0 0 $meta and $meta->{'x_authority'}
116 0 0 0 -f $file and -r _
118 0 0 0 $meta and ref $meta eq ref {}
125 0 0 0 $file and -f $file
0 0 0 $file and -f $file and -r _

or 2 conditions

line l !l condition
15 0 0 $opts ||= {}
43 0 0 $meta_authority || $author || ''

or 3 conditions

line l !l&&r !l&&!r condition
20 0 0 0 $author ||= _get_pause_user()
25 0 0 0 my $meta_authority ||= _get_authority_in_meta()
33 0 0 0 $opts->{'metacpan'} || $ENV{'TEST_PAUSE_PERMISSIONS_METACPAN'}