Branch Coverage

blib/lib/App/GitHooks/Terminal.pm
Criterion Covered Total %
branch 10 14 71.4


line true false branch
88 0 24 if ($self->is_interactive and not defined $self->{'width'})
111 17 26 unless (defined $self->{'is_interactive'})
113 0 17 -t STDOUT ? :
138 17 31 if (defined $value) { }
2 29 elsif (not defined $self->{'is_utf8'}) { }
140 0 17 unless $value =~ /^(?:0|1)$/
148 0 2 $terminal_encoding =~ /^utf-?8$/xi ? :