Branch Coverage

lib/CPAN/Meta/Prereqs/Diff.pm
Criterion Covered Total %
branch 21 24 87.5


line true false branch
75 1 4 if ($old_requirement =~ /[<>=, ]/msx or $new_requirement =~ /[<>=, ]/msx)
85 3 1 if ('version'->parse($old_requirement) > 'version'->parse($new_requirement))
94 1 0 if ('version'->parse($old_requirement) < 'version'->parse($new_requirement))
108 4 15 if (ref $input_prereqs and blessed $input_prereqs)
109 3 1 if $input_prereqs->isa('CPAN::Meta::Prereqs')
110 1 0 if $input_prereqs->isa('CPAN::Meta')
112 14 1 if (ref $input_prereqs and 'HASH' eq ref $input_prereqs)
138 38 21 if (exists $old_modules{$module} and exists $new_modules{$module})
141 33 5 if $old_modules{$module} eq $new_modules{$module}
147 5 16 if (exists $old_modules{$module} and not exists $new_modules{$module})
208 1 10 exists $options{'phases'} ? :
209 0 11 exists $options{'types'} ? :