Branch Coverage

bin/report-prereqs
Criterion Covered Total %
branch 39 42 92.8


line true false branch
42 3 34 if (not $getoptions_ok or defined $cpanfile and defined $meta or defined $cpanfile || defined $meta and defined $url or @ARGV)
62 20 14 if (defined $meta) { }
63 11 9 if ($meta eq "")
69 5 15 unless (eval { do { $prereqs = "CPAN::Meta"->load_file($meta)->effective_prereqs(\@features); 1 } })
76 2 12 if (defined $url) { }
80 1 1 unless ($res->{'success'})
88 12 0 if (not defined $cpanfile or $cpanfile eq "")
95 3 10 unless (eval { do { $prereqs = "Module::CPANfile"->load($cpanfile)->prereqs_with(@features); 1 } })
108 21 104 if $phase eq "develop" and not $with_develop
114 351 65 unless @modules
122 0 129 if (not defined $want) { }
120 9 elsif ($want eq '0') { }
129 120 9 $want eq 'any' ? :
133 66 63 if (defined $mod_path)
139 6 60 unless (defined $have and $have =~ / ^ v? [0-9_\.\-]+ $ /msx and eval { do { "version"->parse($have) } })
148 18 48 if $type ne "requires"
150 6 42 if ($have eq "undef")
155 3 39 unless ($prereqs->requirements_for($phase, $type)->accepts_module($module, $have))
165 18 45 if $type ne "requires"
183 25 0 if (@full_reports)
187 22 3 if (@dep_errors)