blib/lib/Language/FormulaEngine/Namespace.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 12 | 31 | 38.7 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
20 | 0 | 0 | 0 | @_ == 1 && ref $_[0] eq 'HASH' |
29 | 130 | 0 | 0 | @_ == 1 && ref $_[0] eq 'HASH' |
126 | 7 | 11 | 9 | $same &&= $s == $_ |
127 | 5 | 9 | 13 | $const &&= $s->is_constant |
133 | 2 | 4 | 0 | $const and $info->{'is_pure_function'} |
154 | 0 | 0 | 11 | &Scalar::Util::looks_like_number($val) and 0 + $val eq $val |
168 | 0 | 0 | 0 | $_ =~ /$pattern/ && defined $stash->{$_}{'CODE'} && !$seen{$_}++ |
line | l | !l | condition |
---|---|---|---|
21 | 0 | 0 | $attrs{'variables'} ||= {%{$self->variables;}} |
22 | 0 | 0 | $attrs{'constants'} ||= {%{$self->constants;}} |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
71 | 23 | 233 | 0 | $self->{'_function_cache'}{$name} ||= do { |
164 | 0 | 0 | 0 | ref $self || $self |