Branch Coverage

lib/Devel/Required.pm
Criterion Covered Total %
branch 33 44 75.0


line true false branch
38 5 9 if ($key eq 'VERSION_FROM') { }
4 5 elsif ($key eq 'PREREQ_PM') { }
61 4 1 if $modules
66 1 4 @TEXT ? :
67 5 0 if $version
70 1 4 if $INSTALLATION
75 4 0 $pod ? :
1 4 @POD ? :
76 5 0 if $version
83 1 4 if $INSTALLATION
110 1 3 if ($type eq 'text') { }
1 2 elsif ($type eq 'pod') { }
1 1 elsif ($type eq 'maint_blead') { }
111 0 1 ref $value ? :
116 0 1 ref $value ? :
185 22 0 if (my $contents = $_ = _slurp($filename))
188 22 0 if (s/$before(?:.*?)$after/$before$text$after/s) { }
191 6 16 if ($_ eq $contents) { }
16 0 elsif (open OUT, ">$filename") { }
197 0 16 unless close OUT
199 0 16 unless -s $filename == length $_
231 27 0 if (open IN, $filename) { }