Branch Coverage

blib/lib/MMM/Sync.pm
Criterion Covered Total %
branch 7 26 26.9


line true false branch
25 6 0 unless $source =~ m[/$]
26 6 0 unless $dest =~ m[/$]
34 0 6 unless my $uri = 'URI'->new($source)
76 0 2 unless my(@command) = $self->buildcmd
78 0 0 if $pid
82 2 0 if ($pid = open3(my $in, my $out, my $err, @command)) { }
88 0 2 if ($l)
91 0 0 if ($h eq $out) { }
0 0 elsif ($h eq $err) { }
94 0 0 if $aline
96 2 0 if eof $h
110 0 0 if ($src eq 'STDERR') { }
119 0 0 $exitcode == 0 ? :