Condition Coverage

blib/lib/Graph/Easy/Weighted.pm
Criterion Covered Total %
condition 18 27 66.6


or 2 conditions

line l !l condition
114 22 0 $v->get_custom_attributes->{"x-$attr"} || 0
117 10 4 $self->get_vertex_attribute($v->name, "x-$attr") || 0
199 0 0 shift() || 'weight'

or 3 conditions

line l !l&&r !l&&!r condition
22 0 6 0 $attr ||= $WEIGHT
27 6 0 0 $data_ref eq 'ARRAY' or $data_ref eq 'Math::Matrix'
111 18 18 0 $attr ||= $WEIGHT
132 1 1 3 not defined $smallest or $smallest > $current
135 1 1 3 not defined $biggest or $biggest < $current
161 1 0 6 not defined $smallest or $smallest > $current
164 1 2 4 not defined $biggest or $biggest < $current