Branch Coverage

blib/lib/Code/TidyAll/Plugin.pm
Criterion Covered Total %
branch 20 22 90.9


line true false branch
126 0 0 $self->can('transform_source') || $self->can('transform_file') ? :
131 4 18 $self->can('validate_source') || $self->can('validate_file') ? :
137 4 18 if $self->is_validator
154 2 77 if (my(@bad_params) = grep({not $self->can($_);} keys %$params))
158 1 1 @bad_params > 1 ? :
177 71 27 if ($self->can("transform_source"))
182 11 81 if ($self->can("transform_file"))
189 4 87 if ($self->can("validate_source"))
192 10 80 if ($self->can("validate_file"))
198 4 81 if ($check_only and $new_source ne $orig_source)
208 3 1 unless $self->diff_on_tidy_error