Branch Coverage

lib/Asterisk/Manager.pm
Criterion Covered Total %
branch 0 64 0.0


line true false branch
68 0 0 if ($user)
78 0 0 if ($secret)
88 0 0 if ($host)
98 0 0 if ($port)
108 0 0 if (defined $connected)
118 0 0 if ($error)
128 0 0 if ($debug)
138 0 0 if ($connfd)
150 0 0 unless ($connfd)
155 0 0 if $line eq $EOL
157 0 0 if (wantarray) { }
159 0 0 if $line
166 0 0 wantarray ? :
182 0 0 unless ($conn)
194 0 0 unless ($manager =~ /Asterisk Call Manager/)
206 0 0 if ($authresp{'Response'} eq 'Success') { }
226 0 0 if ($resp{'Response'} ne 'Success' and $resp{'Message'} ne 'Authentication accepted')
254 0 0 if ($line =~ /(\w*):\s*(\w*)/)
270 0 0 if (scalar(@rest) % 2 == 1) { }
282 0 0 if ($want == 1)
289 0 0 if ($want == 2) { }
299 0 0 if (defined $function and ref $function eq 'CODE')
310 0 0 unless $event
312 0 0 if (defined $self->{'_EVENTCB'}{$event}) { }
0 0 elsif (defined $self->{'_EVENTCB'}{'DEFAULT'}) { }
343 0 0 unless $command
350 0 0 if ($wanthash) { }
0 0 elsif (wantarray) { }
362 0 0 unless $command
376 0 0 if (defined $resp{'Response'} and $resp{'Response'} eq 'Goodbye')
390 0 0 if defined $1
391 0 0 if defined $2