Condition Coverage

blib/lib/Code/TidyAll.pm
Criterion Covered Total %
condition 31 49 63.2


and 3 conditions

line !l l&&!r l&&r condition
349 42 0 0 -f $_ and /\.bak$/
42 0 0 -f $_ and /\.bak$/ and time > (stat $_)[9] + $self->_backup_ttl_secs
477 59 0 5 $self->jobs > 1 and @paths > 1
635 0 0 84 defined $contents and defined $path
673 13 19 51 !$error && $new_contents ne $orig_contents
674 32 46 5 $was_tidied and $self->check_only
716 2 0 18 defined $orig_contents && length $orig_contents
2 0 18 defined $new_contents && length $new_contents
801 2 1 64 -f $_ and -s $_

or 2 conditions

line l !l condition
219 35 0 $VERSION || 0
335 23 42 $cache->get('last_purge_backups') || 0
364 2 1 delete $conf_params->{'_'} || {}
601 41 44 $self->_plugins_for_path->{$path} ||= [grep({$_->matches_path($path);} @{$self->_plugin_objects;})]
786 13 41 $plugins_for_path->{$path} ||= []

or 3 conditions

line l !l&&r !l&&!r condition
382 0 0 0 $params{'msg_outputter'} || $class->_build_msg_outputter
567 63 0 0 $cache_model->file_contents || $full_path->slurp_raw
690 58 9 16 not $self->quiet or $error
739 0 0 0 $class->_find_conf_file_upward($conf_names, $path1) || $class->_find_conf_file_upward($conf_names, $path2)