Branch Coverage

blib/lib/Moonshine/Bootstrap/Component/Navbar.pm
Criterion Covered Total %
branch 17 20 85.0


line true false branch
44 8 42 if (my $class = join_class($$build_args{$_ . '_base'}, $build_args->{$_}))
58 7 20 if (do { smartmatch($_, 'header') }) { }
2 18 elsif (smartmatch($_, 'collapse')) { }
0 18 elsif (smartmatch($_, 'nav')) { }
2 16 elsif (smartmatch($_, 'button')) { }
2 14 elsif (smartmatch($_, 'form')) { }
2 12 elsif (smartmatch($_, 'text')) { }
12 0 elsif (smartmatch($_, 'text_link')) { }
60 4 3 if $build_args->{'mid'}
64 2 0 if $build_args->{'mid'}