Branch Coverage

lib/CPANPLUS/Shell/Default/Plugins/Diff.pm
Criterion Covered Total %
branch 0 30 0.0


line true false branch
65 0 0 unless check($tmpl, $opts, 1)
68 0 0 unless $name
70 0 0 unless my $mod = $cb->parse_module('module', $name)
76 0 0 unless (defined $from and length $from)
79 0 0 unless ($mod->installed_file)
88 0 0 unless defined $to and length $to
93 0 0 if ("$to" eq "$from")
105 0 0 unless $obj
108 0 0 unless $obj->fetch
110 0 0 unless $obj->extract
145 0 0 if -d $from_file
149 0 0 $exists ? :
0 0 $exists ? :
163 0 0 if -d $to_file
175 0 0 if $diff =~ tr/\n// > $shell->_term_rowcount