Condition Coverage

blib/lib/Code/TidyAll.pm
Criterion Covered Total %
condition 33 49 67.3


and 3 conditions

line !l l&&!r l&&r condition
349 48 0 0 -f $_ and /\.bak$/
48 0 0 -f $_ and /\.bak$/ and time > (stat $_)[9] + $self->_backup_ttl_secs
481 93 0 5 $self->jobs > 1 and @paths > 1
639 0 0 118 defined $contents and defined $path
677 15 31 71 !$error && $new_contents ne $orig_contents
678 46 66 5 $was_tidied and $self->check_only
720 2 0 20 defined $orig_contents && length $orig_contents
2 0 20 defined $new_contents && length $new_contents
805 2 1 64 -f $_ and -s $_

or 2 conditions

line l !l condition
219 45 0 $VERSION || 0
335 23 48 $cache->get('last_purge_backups') || 0
364 8 1 delete $conf_params->{'_'} || {}
605 61 58 $self->_plugins_for_path->{$path} ||= [grep({$_->matches_path($path);} @{$self->_plugin_objects;})]
790 13 41 $plugins_for_path->{$path} ||= []

or 3 conditions

line l !l&&r !l&&!r condition
382 0 2 0 $params{'msg_outputter'} || $class->_build_msg_outputter
571 93 0 0 $cache_model->file_contents || $full_path->slurp_raw
694 88 11 18 not $self->quiet or $error
743 6 0 0 $class->_find_conf_file_upward($conf_names, $path1) || $class->_find_conf_file_upward($conf_names, $path2)