Branch Coverage

blib/lib/Perl/Critic/Policy/CodeLayout/RequireTidyCode.pm
Criterion Covered Total %
branch 8 12 66.6


line true false branch
46 7 19 if (defined $self->{'_perltidyrc'} and $self->{'_perltidyrc'} eq $Perl::Critic::Policy::CodeLayout::RequireTidyCode::EMPTY)
107 0 6 unless open my $handle, ">", \$stderr
116 6 0 defined $self->{'_perltidyrc'} ? :
119 0 6 unless close $handle
124 0 6 if ($stderr or not $eval_worked)
129 1 5 if ($source ne $dest)