Branch Coverage

bin/tidyall
Criterion Covered Total %
branch 19 38 50.0


line true false branch
103 0 8 unless &GetOptions("a|all", \$all_files, "i|ignore=s\@", \$params{'ignore'}, "g|git", \$git_files, "l|list", \$params{'list_only'}, "m|mode=s", \$params{'mode'}, "p|pipe=s", \$pipe, "r|recursive", \$params{'recursive'}, "j|jobs=i", \$params{'jobs'}, "s|svn", \$svn_files, "q|quiet", \$params{'quiet'}, "v|verbose", \$params{'verbose'}, "I=s", \$inc_dirs, "backup-ttl=i", \$params{'backup_ttl'}, "check-only", \$params{'check_only'}, "plugins=s\@", \$params{'selected_plugins'}, "conf-file=s", \$conf_file, "conf-name=s", \$conf_name, "data-dir=s", \$params{'data_dir'}, "iterations=i", \$iterations, "no-backups", \$params{'no_backups'}, "no-cache", \$params{'no_cache'}, "no-cleanup", \$params{'no_cleanup'}, "output-suffix=s", \$params{'output_suffix'}, "refresh-cache", \$params{'refresh_cache'}, "root-dir=s", \$params{'root_dir'}, "tidyall-class=s", \$params{'tidyall_class'}, "version", \$version, "h|help", \$help)
106 1 7 if $version
107 1 6 if $help
108 0 6 if defined $conf_name
110 0 6 if defined $inc_dirs
114 0 12 if exists $params{$key}
116 0 6 if $iterations
119 0 6 if $params{'root_dir'} and not $conf_file
127 4 2 if ($pipe) { }
0 2 elsif ($all_files or $svn_files or $git_files) { }
2 0 elsif (@paths = map({path($_);} @ARGV)) { }
132 0 0 if @ARGV
137 0 0 if ($all_files) { }
0 0 elsif ($svn_files) { }
0 0 elsif ($git_files) { }
159 0 2 grep({$_->error;} @results) ? :
181 2 2 if (my $error = $result->error) { }
0 2 elsif ($result->state eq 'no_match') { }
0 2 elsif ($result->state eq 'checked') { }