Branch Coverage

blib/lib/Cisco/CopyConfig.pm
Criterion Covered Total %
branch 4 34 11.7


line true false branch
39 0 1 unless (defined $$self{'host'} and defined $$self{'comm'})
71 0 0 unless ($self->_cktftp($addr, $file))
93 0 0 unless ($self->_cktftp($addr, $file))
113 0 0 defined $$self{'err'} ? :
124 1 1 if /^Host$/io
125 1 0 if /^Comm$/io
126 0 0 if /^tmout$/io
127 0 0 if /^Retry$/io
139 0 0 unless ($addr =~ /^[\d\.]+$/ and defined inet_aton($addr))
157 0 0 if ($snmp->error)
164 0 0 if ($status == 3)
167 0 0 if ($status == 4)
171 0 0 if $status == 1
172 0 0 if $status == 2
173 0 0 if $status == 3
174 0 0 if $status == 4
175 0 0 if $status == 5