blib/lib/DBIx/POS/Template.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 14 | 31 | 45.1 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
75 | 0 | 0 | 2 | $arg{'template'} and %{$arg{'template'};} |
139 | 0 | 0 | 5 | defined $info->{'name'} and defined $info->{'sql'} |
line | l | !l | condition |
---|---|---|---|
36 | 0 | 1 | $arg{'TT'} || $arg{'tt'} || {} |
37 | 1 | 0 | $arg{'template'} || {} |
66 | 1 | 1 | $instance ||= bless({}, ref $class || $class) |
111 | 3 | 0 | $paragraph || '' |
249 | 1 | 0 | $self->{'param'} ||= {} |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
66 | 0 | 1 | 0 | ref $class || $class |
69 | 0 | 0 | 2 | $arg{'TT'} || $arg{'tt'} |
208 | 0 | 5 | 0 | ref $proto || $proto |
211 | 0 | 0 | 5 | $arg{'TT'} || $arg{'tt'} |
280 | 18 | 5 | 0 | $self->{'_template'} ||= 'Text::Template'->new('TYPE', 'STRING', 'SOURCE', $self->sql, %{$$self{'_TT'};}) |