Branch Coverage

blib/lib/Siebel/Srvrmgr/ListParser.pm
Criterion Covered Total %
branch 31 44 70.4


line true false branch
309 12933 50 if (defined $line) { }
314 12913 20 if (scalar @{$buffer_ref;} >= 1) { }
323 12913 0 if ($last_buffer->get_type eq $type) { }
325 12514 399 if ($line ne '') { }
339 0 0 if ($logger->is_fatal)
378 135 0 if ('Siebel::Srvrmgr::ListParser::OutputFactory'->can_create($type)) { }
389 0 135 if ($logger->is_debug)
471 78 45 if ($self->has_tree) { }
509 0 50 if (defined $buffer) { }
521 0 0 if ($output->isa('Siebel::Srvrmgr::ListParser::Output::Enterprise')) { }
550 12 123 if ($output->isa('Siebel::Srvrmgr::ListParser::Output::Enterprise')) { }
598 0 50 unless defined $data_ref and ref $data_ref eq 'ARRAY' and scalar @{$data_ref;} > 0
600 4 46 if (string_has_bom($data_ref->[0]))
607 50 0 unless $self->get_fsa->curr_state
617 286 12848 if (defined $state) { }
632 123 163 if ($self->get_fsa->prev_state->name eq 'command_submission')
640 151 12 if ($state->notes('is_cmd_changed'))
642 0 151 if $logger->is_debug
652 12 0 if ($state->notes('create_greetings'))
663 135 151 if ($state->notes('is_data_wanted'))
665 0 135 if $logger->is_debug
692 2 48 unless $found_prompt