Branch Coverage

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


line true false branch
73 1 4 if ($old_requirement =~ /[<>=, ]/msx or $new_requirement =~ /[<>=, ]/msx)
83 3 1 if ('version'->parse($old_requirement) > 'version'->parse($new_requirement))
92 1 0 if ('version'->parse($old_requirement) < 'version'->parse($new_requirement))
106 4 15 if (ref $input_prereqs and &blessed($input_prereqs))
107 3 1 if $input_prereqs->isa('CPAN::Meta::Prereqs')
108 1 0 if $input_prereqs->isa('CPAN::Meta')
110 14 1 if (ref $input_prereqs and 'HASH' eq ref $input_prereqs)
136 38 5 if (exists $old_modules{$module} and exists $new_modules{$module})
139 33 5 if $old_modules{$module} eq $new_modules{$module}
145 5 16 if (exists $old_modules{$module} and not exists $new_modules{$module})
206 1 10 exists $options{'phases'} ? :
207 0 11 exists $options{'types'} ? :