blib/lib/Code/TidyAll.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 31 | 49 | 63.2 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
349 | 41 | 0 | 0 | -f $_ and /\.bak$/ |
41 | 0 | 0 | -f $_ and /\.bak$/ and time > (stat $_)[9] + $self->_backup_ttl_secs | |
477 | 58 | 0 | 5 | $self->jobs > 1 and @paths > 1 |
635 | 0 | 0 | 83 | defined $contents and defined $path |
673 | 13 | 19 | 50 | !$error && $new_contents ne $orig_contents |
674 | 32 | 46 | 4 | $was_tidied and $self->check_only |
710 | 2 | 0 | 17 | defined $orig_contents && length $orig_contents |
2 | 0 | 17 | defined $new_contents && length $new_contents | |
795 | 2 | 1 | 63 | -f $_ and -s $_ |
line | l | !l | condition |
---|---|---|---|
219 | 34 | 0 | $VERSION || 0 |
335 | 23 | 41 | $cache->get('last_purge_backups') || 0 |
364 | 2 | 1 | delete $conf_params->{'_'} || {} |
601 | 40 | 44 | $self->_plugins_for_path->{$path} ||= [grep({$_->matches_path($path);} @{$self->_plugin_objects;})] |
780 | 13 | 40 | $plugins_for_path->{$path} ||= [] |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
382 | 0 | 0 | 0 | $params{'msg_outputter'} || $class->_build_msg_outputter |
567 | 62 | 0 | 0 | $cache_model->file_contents || $full_path->slurp_raw |
684 | 57 | 9 | 16 | not $self->quiet or $error |
733 | 0 | 0 | 0 | $class->_find_conf_file_upward($conf_names, $path1) || $class->_find_conf_file_upward($conf_names, $path2) |