| blib/lib/Graph/Easy/Weighted.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % | 
| condition | 17 | 25 | 68.0 | 
| 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 | 
| 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 | 2 | 2 | not defined $smallest or $smallest > $current | 
| 135 | 1 | 0 | 4 | not defined $biggest or $biggest < $current | 
| 161 | 1 | 1 | 5 | not defined $smallest or $smallest > $current | 
| 164 | 1 | 0 | 6 | not defined $biggest or $biggest < $current |