Branch Coverage

lib/Haineko/CLI/Setup.pm
Criterion Covered Total %
branch 9 48 18.7


line true false branch
41 0 0 unless $self->r & $$o{'exec'}
64 0 0 unless (-d $g->dir)
69 0 0 if ($e =~ m[etc/]) { }
88 0 0 unless chdir $tempfolder
107 0 0 unless chdir $currentdir
129 1 0 unless $self->r & $$o{'exec'}
143 0 0 unless $tempfolder
145 0 0 unless length $base64text
148 0 0 unless $filehandle
151 0 0 if (flock $filehandle, 2) { }
158 0 0 if flock $filehandle, 8
166 0 0 unless -d $extracted1
176 0 0 if (-e $g and not $self->r & $$o{'force'})
181 0 0 unless (-d $s->stringify)
193 0 0 unless -e $g
194 0 0 $self->r & $$o{'force'} ? :
0 0 if -e $g
196 0 0 if ($g =~ m[/authinfo])
201 0 0 unless $g =~ m[/bin/]
227 0 1 if ($$p{'help'})
238 0 1 if $$p{'force'}
268 1 3 if $argvs eq 'o' or $argvs eq 'option'
269 1 2 if $argvs eq 's' or $argvs eq 'subcommand'
270 1 1 if $argvs eq 'e' or $argvs eq 'example'