Branch Coverage

blib/lib/Net/Appliance/Session/Engine.pm
Criterion Covered Total %
branch 0 74 0.0


line true false branch
25 0 0 unless $self->do_paging
26 0 0 unless $self->logged_in
29 0 0 if $self->privileged_paging
31 0 0 $self->nci->phrasebook->has_macro('enable_paging') ? :
38 0 0 if $self->privileged_paging and not $privstate
45 0 0 unless $self->do_paging
46 0 0 unless $self->logged_in
49 0 0 if $self->privileged_paging
51 0 0 $self->nci->phrasebook->has_macro('disable_paging') ? :
58 0 0 if $self->privileged_paging and not $privstate
71 0 0 unless $self->do_privileged_mode
72 0 0 if $self->in_privileged_mode
74 0 0 unless $self->logged_in
78 0 0 if ($self->prompt_looks_like('privileged'))
84 0 0 $options->has_username ? :
87 0 0 $self->has_privileged_password ? :
0 0 $options->has_password ? :
94 0 0 if ($self->prompt_looks_like('user'))
95 0 0 unless $username
101 0 0 if ($self->prompt_looks_like('pass'))
102 0 0 unless $password
109 0 0 unless $self->prompt_looks_like('privileged')
117 0 0 unless $self->do_privileged_mode
118 0 0 unless $self->in_privileged_mode
120 0 0 if $self->in_configure_mode
125 0 0 if $self->prompt_looks_like('privileged')
133 0 0 unless $self->do_configure_mode
134 0 0 if $self->in_configure_mode
136 0 0 unless $self->in_privileged_mode
140 0 0 if ($self->prompt_looks_like('configure'))
147 0 0 unless $self->prompt_looks_like('configure')
155 0 0 unless $self->do_configure_mode
156 0 0 unless $self->in_configure_mode
161 0 0 if ($self->prompt_looks_like('configure'))
165 0 0 if ($caller3 and $caller3 =~ /end_configure$/) { }
176 0 0 if (defined $caller1 and $caller1 =~ /end_configure$/)
180 0 0 if $self->prompt_looks_like('configure')