blib/lib/Graph/Weighted.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 20 | 25 | 80.0 |
line | l | !l | condition |
---|---|---|---|
22 | 0 | 8 | $attr ||= 'weight' |
116 | 9 | 27 | $attr ||= 'weight' |
119 | 22 | 0 | $self->get_edge_attribute(@$v, $attr) || 0 |
122 | 10 | 4 | $self->get_vertex_attribute($v, $attr) || 0 |
225 | 0 | 0 | shift() || 'weight' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
27 | 6 | 0 | 2 | $data_ref eq 'ARRAY' or $data_ref eq 'Math::Matrix' |
139 | 1 | 1 | 3 | not defined $smallest or $smallest > $current |
142 | 1 | 2 | 2 | not defined $biggest or $biggest < $current |
171 | 1 | 1 | 5 | not defined $smallest or $smallest > $current |
174 | 1 | 1 | 5 | not defined $biggest or $biggest < $current |