Branch Coverage

blib/lib/Siebel/Srvrmgr/ListParser/FSA.pm
Criterion Covered Total %
branch 34 46 73.9


line true false branch
72 0 77 unless defined $map_ref and ref $map_ref eq 'HASH'
82 13084 50 if (defined $curr_line) { }
84 0 13084 if (defined $self->notes('last_command') and $self->notes('last_command') eq 'exit') { }
116 0 50 if ($logger->is_debug)
130 66 50 if (defined $line) { }
147 54 50 if (defined $line) { }
170 12 0 unless $state->notes('greetings_created')
442 0 151 if ($logger->is_debug)
445 0 0 if defined $line
453 124 27 if (defined $cmd and $cmd ne '') { }
459 0 124 if $logger->is_debug
468 0 27 if ($logger->is_debug)
485 0 125 if ($state->notes('last_command') =~ /$map_ref->{'set_delimiter'}/) { }
503 32 93 if ($state->notes('last_command') =~ /$map_ref->{'list_comp'}/) { }
521 13 80 if ($state->notes('last_command') =~ /$map_ref->{'list_comp_types'}/) { }
539 14 66 if ($state->notes('last_command') =~ /$map_ref->{'list_params'}/) { }
557 14 52 if ($state->notes('last_command') =~ /$map_ref->{'list_tasks'}/) { }
575 0 52 if ($state->notes('last_command') =~ /$map_ref->{'list_procs'}/) { }
593 7 45 if ($state->notes('last_command') =~ /$map_ref->{'list_servers'}/) { }
611 6 39 if ($state->notes('last_command') =~ /$map_ref->{'list_sessions'}/) { }
629 25 14 if ($state->notes('last_command') =~ /$map_ref->{'list_comp_def'}/) { }
647 12 2 if ($state->notes('last_command') =~ /$map_ref->{'load_preferences'}/) { }
665 0 2 if ($state->notes('last_command') eq '') { }