Condition Coverage

blib/lib/Term/GDBUI.pm
Criterion Covered Total %
condition 2 84 2.3


and 3 conditions

line !l l&&!r l&&r condition
574 0 0 0 $arg and $arg eq '-c'
578 0 0 0 $arg and $arg eq '-d'
591 0 0 0 $arg and $arg =~ /^(\d+)$/
854 0 0 0 $$self{'backslash_continues_command'} and $continued
860 0 0 0 defined $rawline and not $rawline =~ /^\s*$/
865 0 0 0 $rawline =~ /^\s*[!^]/ and not $$self{'disable_history_expansion'}
929 0 0 0 $save_to_history and $str ne $$self{'prevcmd'}
1377 0 0 0 exists $$cset{$name} and exists $$cset{$name}{'syn'}
1388 0 0 0 $cmd and exists $$cmd{'cmds'}
0 0 0 $cmd and exists $$cmd{'cmds'} and $curtok < $#$tokens
1523 0 0 0 exists $$cmd{'maxargs'} and $$cmpl{'argno'} >= $$cmd{'maxargs'}
1824 0 0 0 $$self{'history_file'} and $$self{'history_max'} > 0
1852 0 0 0 $$self{'history_file'} and $$self{'history_max'} > 0
1935 0 0 0 exists $$parms{'cset'}{''} and exists $$parms{'cset'}{''}{'proc'} || exists $$parms{'cset'}{''}{'meth'}
1954 0 0 0 exists $$cmd{'minargs'} and @{$$parms{'args'};} < $$cmd{'minargs'}
1958 0 0 0 exists $$cmd{'maxargs'} and @{$$parms{'args'};} > $$cmd{'maxargs'}

or 2 conditions

line l !l condition
403 0 0 $$cmpl{'str'} || '.'
817 1 0 $$self{'term'}->OUT || \*STDOUT
1009 0 0 $self->commands || {}
1369 0 0 shift() || 0
1693 0 0 $self->get_field($cmd, 'desc', $args) || '(no description)'
1757 0 0 $$cat{'desc'} || '(no description)'

or 3 conditions

line l !l&&r !l&&!r condition
606 0 0 0 $num == -1 or $num > @history
799 0 0 0 $ENV{'HOME'} || $ENV{'LOGDIR'} || (getpwuid $>)[7]
808 1 0 0 $$self{'term'} ||= 'Term::ReadLine'->new($args{'app'})
1289 0 0 0 $try eq '"' or $try eq q[']
1511 0 0 0 $cr or not defined $cmd
1678 0 0 0 shift() || $self->commands
1708 0 0 0 shift() || $self->commands
1935 0 0 0 exists $$parms{'cset'}{''}{'proc'} || exists $$parms{'cset'}{''}{'meth'}