Branch Coverage

blib/lib/Dancer2/Plugin/Interchange6/Routes.pm
Criterion Covered Total %
branch 24 26 92.3


line true false branch
341 29 76 if ($user)
380 1 1 if ($plugin->cart_active)
395 1 1 if ($plugin->checkout_active)
425 15 7 unless ($product)
431 3 12 if ($product and $product->uri)
443 8 11 if ($product)
463 1 10 if ($path =~ s[/([1-9][0-9]*)$][]) { }
474 6 5 if (defined $nav)
481 5 1 if (my $attr_value = $nav->find_attribute_value('template'))
505 6 0 if (defined $plugin->navigation_records)
520 6 0 unless ($plugin->object_autodetect)
535 2 3 if ($redirect)
556 1 1 if ($plugin->navigation_records == 0)