Condition Coverage

blib/lib/DBIx/POS/Template.pm
Criterion Covered Total %
condition 13 28 46.4


and 3 conditions

line !l l&&!r l&&r condition
74 0 0 2 $arg{'template'} and %{$arg{'template'};}
136 0 0 5 defined $info->{'name'} and defined $info->{'sql'}

or 2 conditions

line l !l condition
38 0 1 $arg{'TT'} || $arg{'tt'} || {}
39 1 0 $arg{'template'} || {}
77 1 1 $instance ||= bless(\%sql, $class)
108 3 0 $paragraph || ''
246 1 0 $self->{'param'} ||= {}

or 3 conditions

line l !l&&r !l&&!r condition
68 0 0 2 $arg{'TT'} || $arg{'tt'}
205 0 5 0 ref $proto || $proto
208 0 0 5 $arg{'TT'} || $arg{'tt'}
277 18 5 0 $self->{'_template'} ||= 'Text::Template'->new('TYPE', 'STRING', 'SOURCE', $self->sql, %{$$self{'_TT'};})