Branch Coverage

blib/lib/Apache/Sling/Group.pm
Criterion Covered Total %
branch 23 58 39.6


line true false branch
29 1 1 unless (defined $authn)
31 1 0 defined $verbose ? :
67 0 0 $success ? :
77 0 3 defined $fork_id ? :
78 0 3 defined $number_of_forks ? :
83 1 2 unless (defined $file)
86 1 1 if (open my $input, '<', $file) { }
88 1 0 if ($count++ == 0) { }
0 0 elsif ($fork_id == $count++ % $number_of_forks) { }
91 1 0 if ($csv->parse($_)) { }
95 1 0 unless ($column_headings[0] =~ /^[Gg][Rr][Oo][Uu][Pp]$/msx)
110 0 0 if ($csv->parse($_)) { }
115 0 0 if ($columns_size != $number_of_columns)
136 0 0 unless close $input
157 0 0 $success ? :
180 0 1 unless GetOptions $group_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=s', 'additions|A=s', 'delete|d=s', 'exists|e=s', 'property|P=s', 'view|V=s'
237 0 0 $success ? :
325 1 1 unless (defined $config)
331 1 0 defined $$sling{'Authn'} ? :
336 0 1 if ($$sling{'Help'}) { }
0 1 elsif ($$sling{'Man'}) { }
0 1 elsif (defined ${$$config{'additions'};}) { }
345 0 0 if ($pid) { }
0 0 elsif ($pid == 0) { }
366 0 1 if (defined ${$$config{'exists'};}) { }
0 1 elsif (defined ${$$config{'add'};}) { }
0 1 elsif (defined ${$$config{'delete'};}) { }
0 1 elsif (defined ${$$config{'view'};}) { }
414 0 0 $success ? :