Branch Coverage

blib/lib/Net/BGP/RIBEntry.pm
Criterion Covered Total %
branch 6 38 15.7


line true false branch
42 1 0 if ($arg =~ /prefix/i) { }
58 1 1 unless ref $proto
65 0 0 defined $_ ? :
69 0 2 defined $$proto{'_local'} ? :
81 0 0 $dir =~ /in/i ? :
83 0 0 if $dir eq '_out'
89 0 0 $dir =~ /in/i ? :
97 1 2 @_ ? :
128 0 0 unless not defined $policy or blessed $policy and $policy->isa('Net::BGP::Policy')
133 0 0 defined $policy ? :
140 0 0 $old eq $$this{'_local'} ? :
148 0 0 if (defined $policy) { }
150 0 0 unless blessed $policy and $policy->isa('Net::BGP::Policy')
170 0 0 unless defined $$this{'_out'}{$peer} or defined $$newout_hr{$peer}
174 0 0 if defined $$this{'_out'}{$peer} and defined $$newout_hr{$peer} and $$this{'_out'}{$peer} eq $$newout_hr{$peer}
189 0 0 unless $this->update_local($policy) or $$this{'_force'}
195 0 0 defined $$changes_hr{$to_peer} ? :
211 0 0 defined $n ? :
217 0 0 defined $n ? :