Branch Coverage

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


line true false branch
298 50189 62 if (defined $line) { }
302 50169 20 if (scalar @{$buffer_ref;} >= 1) { }
308 50169 0 if ($last_buffer->get_type eq $type) { }
310 49681 488 if ($line ne '') { }
322 0 0 if ($logger->is_fatal)
354 188 0 if ('Siebel::Srvrmgr::ListParser::OutputFactory'->can_create($type)) { }
363 0 188 if ($logger->is_debug)
428 115 57 if ($self->has_tree) { }
459 0 62 if (defined $buffer) { }
470 0 0 if ($output->isa('Siebel::Srvrmgr::ListParser::Output::Enterprise')) { }
494 16 172 if ($output->isa('Siebel::Srvrmgr::ListParser::Output::Enterprise')) { }
534 0 62 unless defined $data_ref and ref $data_ref eq 'ARRAY' and scalar @{$data_ref;} > 0
536 6 56 if (string_has_bom($data_ref->[0]))
541 62 0 unless $self->get_fsa->curr_state
550 396 50063 if (defined $state) { }
564 172 224 if ($self->get_fsa->prev_state->name eq 'command_submission')
572 208 16 if ($state->notes('is_cmd_changed'))
574 0 208 if $logger->is_debug
584 16 0 if ($state->notes('create_greetings'))
595 188 208 if ($state->notes('is_data_wanted'))
597 0 188 if $logger->is_debug
624 2 60 unless $found_prompt