Condition Coverage

blib/lib/Template/Caribou/Tags.pm
Criterion Covered Total %
condition 17 28 60.7


and 3 conditions

line !l l&&!r l&&r condition
133 86 0 25 !!$Template::Caribou::TAG_INDENT_LEVEL && "\n" . ' ' x $Template::Caribou::TAG_INDENT_LEVEL

or 2 conditions

line l !l condition
57 133 1 $arg->{'tag'} || 'div'
67 0 0 $_{'class'}{$_} //= 1
70 0 1 $_{'class'}{$_} //= 1
81 11 72 $arg->{'indent'} // 1
89 83 28 $indent //= 1

or 3 conditions

line l !l&&r !l&&!r condition
55 132 2 0 $arg->{'-as'} ||= $arg->{'tag'}
63 0 0 83 $arg->{'classes'} || $arg->{'class'}
74 0 1 0 $_{$_} ||= $arg->{'attr'}{$_}
96 53 58 0 $Template::Caribou::TEMPLATE || 'Moose::Meta::Class'->create_anon_class('roles', ['Template::Caribou::Role'])->new_object
105 62 49 0 $Template::Caribou::TAG_INDENT_LEVEL // $bou->indent