Branch Coverage

blib/lib/Dist/Zilla/Plugin/VerifyPhases.pm
Criterion Covered Total %
branch 32 36 88.8


line true false branch
38 20 13 if $all_files{$filename}[$index]{'object'} == $file
74 25 35 $attr && $attr->has_value($zilla) ? :
110 15 33 if exists $zilla_constructor_args{$attr_name}
112 8 25 if $attr and $attr->has_value($zilla)
120 6 10 if not exists $zilla_constructor_args{$_}
122 1 5 if &any(sub { $meta->find_attribute_by_name($_)->has_value($zilla) if not exists $zilla_constructor_args{$_}; } , '_license_class', '_copyright_holder', '_copyright_year')
151 9 2 if $entry->{'object'} eq $file
170 8 0 if ($filename and defined $index)
173 0 8 if $filename ne $file->name
217 6 1 if ($filename and defined $index)
243 0 7 $file->isa('Dist::Zilla::File::FromCode') ? :
255 1 4 if 'Dist::Zilla'->VERSION >= 5.024 and $prereq_attr->has_value($self->zilla)
262 1 4 if (exists $distmeta->{'prereqs'})
285 1 6 unless ($filename and defined $index)
292 1 5 if ($filename ne $file->name)
308 0 5 if not $file->isa('Dist::Zilla::File::FromCode') and &none(sub { $file->name eq $_; } , $self->skip_file) and $all_files{$file->name}[$index]{'content'} ne md5_hex($file->encoded_content)
326 4 1 unless exists $new_distmeta->{$ignore_key}
329 1 4 if (not $ok)