Condition Coverage

blib/lib/Template/Caribou/Tags.pm
Criterion Covered Total %
condition 18 28 64.2


and 3 conditions

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

or 2 conditions

line l !l condition
56 176 1 $arg->{'tag'} || 'div'
66 0 0 $_{'class'}{$_} //= 1
69 0 1 $_{'class'}{$_} //= 1
80 11 72 $arg->{'indent'} // 1
88 83 28 $indent //= 1

or 3 conditions

line l !l&&r !l&&!r condition
54 175 2 0 $arg->{'-as'} ||= $arg->{'tag'}
62 0 1 82 $arg->{'classes'} || $arg->{'class'}
73 0 1 0 $_{$_} ||= $arg->{'attr'}{$_}
95 53 58 0 $Template::Caribou::TEMPLATE || 'Moose::Meta::Class'->create_anon_class('roles', ['Template::Caribou::Role'])->new_object
104 62 49 0 $Template::Caribou::TAG_INDENT_LEVEL // $bou->indent