Branch Coverage

blib/lib/Apache/Sling/Content.pm
Criterion Covered Total %
branch 27 74 36.4


line true false branch
26 1 4 unless (defined $authn)
28 4 0 defined $verbose ? :
64 0 0 $success ? :
87 0 1 unless GetOptions $content_config, 'auth=s', 'help|?', 'log|L=s', 'man|M', 'pass|p=s', 'threads|t=s', 'url|U=s', 'user|u=s', 'verbose|v+', 'add|a', 'additions|A=s', 'copy|c', 'delete|d', 'exists|e', 'filename|n=s', 'local|l=s', 'move|m', 'property|P=s', 'remote|r=s', 'remote-source|S=s', 'replace|R', 'view|V'
166 0 0 $success ? :
184 0 0 $success ? :
202 0 0 $success ? :
314 0 0 $success ? :
324 1 1 unless (defined $config)
334 1 0 defined $$sling{'Authn'} ? :
338 0 1 if ($$sling{'Help'}) { }
0 1 elsif ($$sling{'Man'}) { }
0 1 elsif (defined ${$$config{'additions'};}) { }
347 0 0 if ($pid) { }
0 0 elsif ($pid == 0) { }
368 0 1 if (defined ${$$config{'local'};} and defined ${$$config{'remote'};}) { }
0 1 elsif (defined ${$$config{'exists'};}) { }
0 1 elsif (defined ${$$config{'add'};}) { }
0 1 elsif (defined ${$$config{'copy'};}) { }
0 1 elsif (defined ${$$config{'delete'};}) { }
0 1 elsif (defined ${$$config{'move'};}) { }
0 1 elsif (defined ${$$config{'view'};}) { }
439 0 1 defined $filename ? :
449 0 0 $filename ne '' ? :
452 0 0 $success ? :
462 0 3 defined $fork_id ? :
463 0 3 defined $number_of_forks ? :
465 1 2 unless (defined $file)
468 1 1 if (open my $input, '<', $file) { }
470 1 0 if ($fork_id == $count++ % $number_of_forks)
472 1 0 unless $_ =~ /^(\S.*?),(\S.*?)$/msx
480 0 0 unless close $input
502 0 0 $success ? :
514 1 0 unless (defined $remote_dest)
522 0 0 $success ? :
534 0 0 unless (defined $remote_dest)
546 0 0 $success ? :