blib/lib/URI/GoogleChart.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 51 | 73 | 69.8 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
99 | 0 | 0 | 22 | $width and $height |
105 | 19 | 0 | 3 | $param{'cht'} eq 't' and $type ne 't' |
276 | 5 | 5 | 1 | $k eq 'min' and $h{$k} < $rv |
5 | 3 | 2 | $k eq 'max' and $h{$k} > $rv | |
307 | 0 | 3 | 1 | $min > 0 and $min / $range < 0.4 |
368 | 1 | 0 | 135 | defined $_ and $_ >= $min |
1 | 0 | 135 | defined $_ and $_ >= $min and $_ <= $max | |
0 | 0 | 135 | defined $_ and $_ >= $min and $_ <= $max and $min != $max |
line | l | !l | condition |
---|---|---|---|
188 | 176 | 22 | $o{$a} ||= 99 |
170 | 28 | $o{$b} ||= 99 | |
227 | 2 | 23 | $$set{'range'} ||= '' |
228 | 15 | 10 | $$range{$r} ||= {} |
238 | 0 | 22 | $$rh{'stacked'}{'min'}[$i] ||= 0 |
239 | 5 | 17 | $$rh{'stacked'}{'max'}[$i] ||= 0 |
390 | 2 | 18 | $$param{'chxt'} || '' |
391 | 1 | 19 | $$param{'chxr'} || '' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
101 | 20 | 2 | 0 | $TYPE_ALIAS{$type} || $type |
130 | 0 | 0 | 4 | defined $color or defined $size |
182 | 15 | 0 | 4 | $COLOR_ALIAS{$_} || (/^[\da-fA-F]{3}\z/ ? join('', map("$_$_", split(//, $_, 0))) : $_) |
234 | 13 | 10 | 112 | not defined $min or $_ < $min |
235 | 23 | 38 | 74 | not defined $max or $_ > $max |
276 | 37 | 0 | 11 | not defined $rv or $k eq 'min' and $h{$k} < $rv |
1 | 0 | 10 | not defined $rv or $k eq 'min' and $h{$k} < $rv or $k eq 'max' and $h{$k} > $rv | |
316 | 0 | 4 | 15 | $ENCODING_ALIAS{$$opt{'encoding'} or ''} || $$opt{'encoding'} |
323 | 0 | 2 | 0 | $vcount > 256 or $res < 60000 |
362 | 19 | 0 | 0 | $enc{$e} || croak("unsupported encoding $e") |
397 | 7 | 0 | 0 | $AXIS_ALIAS{$rshow} || $rshow |