web/cgi-bin/yatt.lib/YATT/Util.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 22 | 38 | 57.8 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
141 | 1 | 174 | 1 | wantarray and not @_ |
167 | 0 | 0 | 0 | defined $_[0] && $_[0] ne '' |
224 | 0 | 1 | 4 | defined $value and $value ne '' |
275 | 1 | 1 | 1 | defined $args->[0] && $args->[0] ne '' |
1 | 1 | 1 | defined $args->[1] && $args->[1] ne '' | |
1 | 0 | 0 | defined $args->[0] && $args->[0] ne '' | |
1 | 0 | 0 | defined $args->[1] && $args->[1] ne '' | |
1 | 0 | 0 | defined $args->[1] && $args->[1] ne '' | |
0 | 1 | 1 | defined $args->[1] && $args->[1] ne '' |
line | l | !l | condition | |
---|---|---|---|---|
76 | 739 | 0 | $method || 'new' | |
300 | 417 | 14 | 1 | $_[0] ||= {} |
301 | 246 | 186 | 0 | $_[1] ||= [] |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
242 | 0 | 0 | 0 | $CGI->{'.RESUME_CACHE'}{$name} ||= do { my %cache; $cache{$_} = 1 foreach ($CGI->param($name)); \%cache } |