Branch Coverage

blib/lib/Dist/Zilla/Plugin/SyncCPANfile.pm
Criterion Covered Total %
branch 26 28 92.8


line true false branch
71 17 68 $phase eq 'runtime' ? :
72 17 68 $phase eq 'runtime' ? :
73 17 68 $phase eq 'runtime' ? :
78 323 17 unless $req->required_modules
87 9 10 if ($self->cpan_audit)
91 5 14 if ($advisories and $version =~ /(>|<|>=|<=|!=|==)/) { }
3 11 elsif ($advisories) { }
94 2 3 if (defined $min_version and not $req->accepts_module($module, $min_version)) { }
2 1 elsif (defined $min_version) { }
108 2 1 if ($version == 0 and $vuln_version_requested) { }
1 0 elsif ($vuln_version_requested) { }
134 0 9 unless $result->{'dists'}
135 1 8 unless $module_data->{'advisories'}
140 10 7 unless $fixed_version