Branch Coverage

blib/lib/Config/Model/TermUI.pm
Criterion Covered Total %
branch 6 24 25.0


line true false branch
183 13 1 if ($space_idx > 0 and defined $completion_dispatch{$main}) { }
1 0 elsif (not $cmd) { }
205 0 3 unless $self->{$p} = delete $args{$p}
217 0 1 if ($term->ReadLine eq 'Term::ReadLine::Gnu') { }
0 1 elsif ($term->ReadLine eq 'Term::ReadLine::Perl') { }
224 0 0 if $term->can("enableUTF8")
242 0 0 if defined $args{$p}
256 0 0 if $user_cmd eq "exit" or $user_cmd eq "quit"
260 0 0 if defined $res and $res
266 0 0 if ($instance->c_count)
267 0 0 if ($instance->has_changes)
270 0 0 unless $user_cmd =~ /n/iu