blib/lib/Astro/App/Satpass2/Format/Template.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 14 | 27 | 51.8 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
344 | 0 | 3 | 0 | defined($tplt_text = __localize("text", "+template", "default", $value[0])) and $value[0] eq $tplt_text |
434 | 174 | 3 | 272 | not ref $tplt and defined($tplt_text = $self->template($tplt)) |
line | l | !l | condition |
---|---|---|---|
459 | 241 | 276 | $data ||= {} |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
190 | 0 | 61 | 0 | $data{'default'} ||= $self->__default |
198 | 0 | 61 | 0 | $data{'provider'} ||= $self->provider |
344 | 0 | 0 | 3 | not defined $value[0] or defined($tplt_text = __localize("text", "+template", "default", $value[0])) and $value[0] eq $tplt_text |
460 | 276 | 241 | 0 | $default ||= $self->__default |
462 | 0 | 449 | 68 | not defined $data or "HASH" eq ref $data |
line | l&&r | l&&!r | !l&&r | !l&&!r | condition |
---|---|---|---|---|---|
327 | 0 | 0 | 1 | 0 | $self->{'permissive'} xor $args[0] |