Condition Coverage

blib/lib/Net/BGP/Update.pm
Criterion Covered Total %
condition 22 34 64.7


and 2 conditions

line l !l condition
888 0 12 defined $$this{'_nlri'} and scalar @{$$this{'_nlri'};}

and 3 conditions

line !l l&&!r l&&r condition
605 1 0 2 $flagmasked & $BGP_PATH_ATTR_FLAG_OPTIONAL and $flagmasked & $BGP_PATH_ATTR_FLAG_TRANSITIVE
1 0 2 $flagmasked & $BGP_PATH_ATTR_FLAG_OPTIONAL and $flagmasked & $BGP_PATH_ATTR_FLAG_TRANSITIVE and $Net::BGP::Update::BGP_PATH_ATTR_FLAGS[$type] == ($flagmasked & ~$BGP_PATH_ATTR_FLAG_PARTIAL)

or 2 conditions

line l !l condition
199 4 12 $$options{'as4'} ||= 0
235 4 12 $$options{'as4'} ||= 0
293 4 13 $$options{'as4'} ||= 0
422 0 0 $$options{'as4'} ||= 0
471 0 0 $$options{'as4'} ||= 0
535 4 11 $$options{'as4'} ||= 0
723 4 8 $$options{'as4'} ||= 0
785 4 7 $$options{'as4'} ||= 0
832 0 0 $$options{'as4'} ||= 0
881 4 8 $$options{'as4'} ||= 0

or 3 conditions

line l !l&&r !l&&!r condition
98 0 19 0 ref $proto || $proto
142 4 1 0 ref $proto || $proto