Branch Coverage

lib/Git/Class/Role/Execute.pm
Criterion Covered Total %
branch 26 36 72.2


line true false branch
16 10 3 if ($ENV{'GIT_CLASS_TRACE'})
22 0 13 if (not defined wantarray or $self->no_capture) { }
25 0 0 if $self->_cwd
30 6 7 if $self->is_verbose
34 8 5 if $self->_cwd
40 0 13 if $err
42 3 10 wantarray ? :
50 6 23 if (ref $arg eq 'HASH') { }
66 0 8 unless defined $value
68 2 6 if (length $key == 1) { }
69 1 1 $value ne '' ? :
72 5 1 $value ne '' ? :
81 0 40 unless defined $value
82 0 40 if ref $value eq 'SCALAR'
85 4 36 if ($value =~ s/^(\-\-[\w\-]+=)//)
89 0 40 if ($^O eq 'MSWin32') { }
90 0 0 if ($org_value =~ /[\s^"<>&|!\(\)=;,]/)
100 4 36 if $option_name