Branch Coverage

blib/lib/Dist/Zilla/Role/PrereqScanner.pm
Criterion Covered Total %
branch 18 18 100.0


line true false branch
110 19 98 if $file->is_bytes
112 5 93 unless $file->name =~ /\.(?:pm|pl|t|psgi)$/iu or $file->content =~ /^#!(?:.*)perl(?:$|\s)/u
115 2 91 if $file->name =~ m[^t/(?:author|release)-[^/]*\.t$]u
121 5 86 if ($this_thing[0] =~ /^t/u) { }
145 24 92 unless $self->skips
149 46 588 if $k =~ /$re/u
154 90 26 if (@modules)
166 29 87 if ($phase eq 'runtime') { }
171 4 1074 if exists $got{$_}