Branch Coverage

blib/lib/CGI/Application/Util/Diff.pm
Criterion Covered Total %
branch 0 78 0.0


line true false branch
92 0 0 if ($logger_class)
99 0 0 if ($@) { }
124 0 0 if ($left_name and not $right_name) { }
0 0 elsif ($right_name and not $left_name) { }
0 0 elsif ($left_name and $right_name) { }
134 0 0 if (not -d $left_name) { }
0 0 elsif (not -d $right_name) { }
164 0 0 if ($left_name and $right_name and not $message)
166 0 0 $action ? :
172 0 0 unless ($message)
183 0 0 $message ? :
230 0 0 $$left{'type'} && $$left{'type'} eq 'Dir' ? :
232 0 0 $$right{'type'} && $$right{'type'} eq 'Dir' ? :
234 0 0 if ($$item[0] eq '-') { }
0 0 elsif ($$item[0] eq '+') { }
0 0 elsif ($$item[0] eq 'u') { }
264 0 0 if ($$left{'size'} eq $$right{'size'}) { }
293 0 0 if ($$item[1] lt $$item[2]) { }
405 0 0 if ($self->param('logger'))
424 0 0 if ($action eq 'dir_cd_both') { }
0 0 elsif ($action eq 'dir_cd_left') { }
0 0 elsif ($action eq 'dir_cd_right') { }
0 0 elsif ($action =~ /(dir|file)_(cp|mv)_left2right/) { }
0 0 elsif ($action =~ /(dir|file)_(cp|mv)_right2left/) { }
0 0 elsif ($action eq 'file_diff') { }
0 0 elsif ($action =~ /(dir|file)_rm_both/) { }
0 0 elsif ($action =~ /(dir|file)_rm_(left|right)/) { }
469 0 0 $type eq 'dir' ? :
470 0 0 $type eq 'dir' ? :
478 0 0 $type eq 'dir' ? :
479 0 0 $type eq 'dir' ? :
480 0 0 $side eq 'left' ? :
488 0 0 if ($command)
498 0 0 if ($action eq 'file_diff')
502 0 0 if ($#$output >= $limit)
507 0 0 $diff == 1 ? :
515 0 0 $#$output >= 4 ? :
535 0 0 unless opendir INX, $dir_name
547 0 0 -d $name ? :