blib/lib/Dancer2/Plugin/Menu.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 8 | 15 | 53.3 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
75 | 10 | 0 | 4 | not @segments and $s->tree->{$segment} || !$tree->{$segment}{'children'} |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
70 | 14 | 0 | 0 | $xt_data->{'title'} //= $title |
72 | 14 | 0 | 0 | $xt_data->{'weight'} //= $weight |
75 | 0 | 4 | 0 | $s->tree->{$segment} || !$tree->{$segment}{'children'} |
4 | 2 | 4 | $s->tree->{$segment} || $tree->{$segment}{'children'} |