Condition Coverage

blib/lib/Graph/Weighted.pm
Criterion Covered Total %
condition 19 25 76.0


or 2 conditions

line l !l condition
22 0 8 $attr ||= 'weight'
118 9 27 $attr ||= 'weight'
121 22 0 $self->get_edge_attribute(@$v, $attr) || 0
124 10 4 $self->get_vertex_attribute($v, $attr) || 0
211 0 0 shift() || 'weight'

or 3 conditions

line l !l&&r !l&&!r condition
27 6 0 2 $data_ref eq 'ARRAY' or $data_ref eq 'Math::Matrix'
141 1 1 3 not defined $smallest or $smallest > $current
144 1 3 1 not defined $biggest or $biggest < $current
173 1 0 6 not defined $smallest or $smallest > $current
176 1 1 5 not defined $biggest or $biggest < $current