| blib/lib/Graph/Easy/Weighted.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 19 | 25 | 76.0 |
| line | l | !l | condition |
|---|---|---|---|
| 22 | 0 | 6 | $attr ||= "weight" |
| 111 | 18 | 18 | $attr ||= "weight" |
| 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' |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 27 | 6 | 0 | 0 | $data_ref eq "ARRAY" or $data_ref eq "Math::Matrix" |
| 132 | 1 | 1 | 3 | not defined $smallest or $smallest > $current |
| 135 | 1 | 1 | 3 | not defined $biggest or $biggest < $current |
| 161 | 1 | 1 | 5 | not defined $smallest or $smallest > $current |
| 164 | 1 | 1 | 5 | not defined $biggest or $biggest < $current |