Condition Coverage

blib/lib/DBIx/POS/Template.pm
Criterion Covered Total %
condition 15 34 44.1


and 3 conditions

line !l l&&!r l&&r condition
40 1 0 0 exists $CACHE{$file} and ref $CACHE{$file}
82 0 0 2 $arg{'template'} and %{$arg{'template'};}
159 0 0 5 defined $info->{'name'} and defined $info->{'sql'}

or 2 conditions

line l !l condition
44 0 1 $arg{'TT'} || $arg{'tt'} || {}
45 1 0 $arg{'template'} || {}
61 1 1 $instance ||= bless({}, ref $class || $class)
131 3 0 $paragraph || ''
269 1 0 $self->{'param'} ||= {}

or 3 conditions

line l !l&&r !l&&!r condition
61 0 1 0 ref $class || $class
76 0 0 2 $arg{'TT'} || $arg{'tt'}
232 0 5 0 ref $proto || $proto
235 0 0 5 $arg{'TT'} || $arg{'tt'}
300 18 5 0 $self->{'_template'} ||= 'Text::Template'->new('TYPE', 'STRING', 'SOURCE', $self->sql, %{$$self{'_TT'};})