Condition Coverage

lib/Term/RouterCLI.pm
Criterion Covered Total %
condition 0 69 0.0


and 3 conditions

line !l l&&!r l&&r condition
380 0 0 0 $$self{'backslash_continues_command'} == 1 and $$self{'_iNumberOfContinuedLines'} > 0
396 0 0 0 $$self{'blank_repeats_cmd'} and $$self{'_sPreviousCommand'} ne ''
403 0 0 0 defined $$self{'_sCompleteRawline'} and not $$self{'_sCompleteRawline'} =~ /^\s*$/
426 0 0 0 $iSaveToHistory == 1 and $sCommandString ne $$self{'_sPreviousCommand'}
0 0 0 $iSaveToHistory == 1 and $sCommandString ne $$self{'_sPreviousCommand'} and $$self{'_oHistory'}{'_bEnabled'} == 1
583 0 0 0 $iNumberOfCommandMatches == 1 and not exists $$hCommandTree{$aCommandsAtThisLevel[0]}{'exclude_from_completion'}
0 0 0 $iNumberOfCommandMatches == 1 and not exists $$hCommandTree{$aCommandsAtThisLevel[0]}{'exclude_from_completion'} and not exists $$hCommandTree{$aCommandsAtThisLevel[0]}{'hidden'}
591 0 0 0 exists $$hCommandTree{$sToken} and exists $$hCommandTree{$sToken}{'alias'}
623 0 0 0 not defined $hCommandDirectives and exists $$hCommandTree{''}
0 0 0 not defined $hCommandDirectives and exists $$hCommandTree{''} and $iNumberOfCommandMatches < 1
714 0 0 0 exists $$self{'_hCommandTreeAtLevel'}{''} and exists $$self{'_hCommandTreeAtLevel'}{''}{'code'}
730 0 0 0 exists $$self{'_hCommandDirectives'}{'minargs'} and @{$$self{'_aCommandArguments'};} < $$self{'_hCommandDirectives'}{'minargs'}
735 0 0 0 exists $$self{'_hCommandDirectives'}{'maxargs'} and @{$$self{'_aCommandArguments'};} > $$self{'_hCommandDirectives'}{'maxargs'}
742 0 0 0 exists $$self{'_hCommandDirectives'}{'auth'} and $$self{'_hCommandDirectives'}{'auth'} == 1
1034 0 0 0 exists $$self{'_hCommandDirectives'}{'args'} and not exists $$self{'_hCommandDirectives'}{'minargs'}
0 0 0 exists $$self{'_hCommandDirectives'}{'minargs'} and $$self{'_hCommandDirectives'}{'minargs'} > 0
0 0 0 not exists $$self{'_hCommandDirectives'}{'args'} and (exists $$self{'_hCommandDirectives'}{'minargs'} and $$self{'_hCommandDirectives'}{'minargs'} > 0)
1102 0 0 0 $$self{'_sStringToComplete'} eq '' and $iNumberOfCommands > 0

or 2 conditions

line l !l condition
233 0 0 shift() || ''
234 0 0 $$self{'_oTerm'}->OUT || \*STDOUT
676 0 0 $hCommandDirectives || {}

or 3 conditions

line l !l&&r !l&&!r condition
340 0 0 0 not exists $$self{'_aFullCommandName'}[0] or $$self{'_aFullCommandName'}[0] eq ''
419 0 0 0 exists $$self{'_hCommandDirectives'}{'exclude_from_history'} or exists $$self{'_hCommandDirectives'}{'hidden'}
1066 0 0 0 not exists $$self{'_aFullCommandName'}[0] or $$self{'_aFullCommandName'}[0] eq ''