Condition Coverage

blib/lib/Matplotlib/Simple.pm
Criterion Covered Total %
condition 0 271 0.0


and 3 conditions

line !l l&&!r l&&r condition
351 0 0 0 $ref ne "ARRAY" and $ref ne ""
371 0 0 0 defined $args->{'args'}{'plot.type'} and $args->{'args'}{'plot.type'} eq "pie"
446 0 0 0 $plot_type eq "grouped" and defined $plot->{'width'}
0 0 0 $plot_type eq "grouped" and defined $plot->{'width'} and $plot->{'stacked'} == 0
464 0 0 0 $c eq "color" and $plot_type eq "grouped"
517 0 0 0 defined $plot->{'color'} and ref $plot->{'color'} eq "HASH"
876 0 0 0 $plot->{$opt} ne "log" and $plot->{$opt} ne "linear"
883 0 0 0 defined $plot->{'marginals'} and $plot->{'marginals'} > 0
905 0 0 0 $plot->{'colorbar.on'} and defined $plot->{'shared.colorbar'}
1158 0 0 0 $plot->{'colorbar.on'} and defined $plot->{'shared.colorbar'}
1211 0 0 0 $non_numeric_data and not defined $plot->{'stringmap'}
1276 0 0 0 $plot->{'colorbar.on'} and defined $plot->{'shared.colorbar'}
1281 0 0 0 $non_numeric_data and $plot->{'colorbar.on'}
1448 0 0 0 defined $plot->{'set.options'} and ref $plot->{'set.options'} eq ""
1480 0 0 0 defined $plot->{'set.options'} and ref $plot->{'set.options'} eq "HASH"
1544 0 0 0 defined $plot->{'set.options'} and ref $plot->{'set.options'} eq ""
1637 0 0 0 $n_keys != 2 and $n_keys != 3
1649 0 0 0 defined $plot->{'set.options'} and ref $plot->{'set.options'} eq ""
1688 0 0 0 $n_keys != 2 and $n_keys != 3
1699 0 0 0 not defined $color_key and $n_keys == 3
1977 0 0 0 $str =~ /,/ and not $str =~ /[\]\[]/
2061 0 0 0 defined $args->{'plot.type'} and defined $args->{'data'}
2064 0 0 0 $single_plot == 1 and not defined $args->{'plot.type'}
2069 0 0 0 $single_plot == 0 and not defined $args->{'plots'}
2073 0 0 0 $single_plot == 0 and ref $args->{'plots'} ne "ARRAY"
2077 0 0 0 $single_plot == 0 and scalar @{$args->{'plots'};} == 0
2089 0 0 0 $single_plot == 0 and $args->{'nrows'} * $args->{'ncols'} < scalar @{$args->{'plots'};}
2117 0 0 0 $single_plot == 1 and ref $args->{'data'} eq "HASH"
0 0 0 $single_plot == 1 and ref $args->{'data'} eq "HASH" and scalar keys %{$$args{"data"};} == 0
2139 0 0 0 defined $args->{'shared.colorbar'} and $single_plot == 1
2249 0 0 0 defined $args->{'shared.colorbar'} and grep {$_ == $ax;} @{$$args{"shared.colorbar"};}
2396 0 0 0 defined $args->{'plot.type'} and $args->{'plot.type'} ne $sub_name

or 2 conditions

line l !l condition
334 0 0 $args->{'ax'} // "ax"
369 0 0 $args->{'args'}{'legend'} // ""
405 0 0 $args->{'ax'} // ""
445 0 0 $plot->{'stacked'} // 0
533 0 0 $plot->{'width'} // "0.8"
534 0 0 $plot->{'stacked'} // 0
609 0 0 $plot->{'orientation'} // "vertical"
620 0 0 $args->{'ax'} // ""
622 0 0 $plot->{'notch'} // "False"
623 0 0 $plot->{'showcaps'} // "True"
624 0 0 $plot->{'showfliers'} // "True"
625 0 0 $plot->{'showmeans'} // "True"
709 0 0 $plot->{'default_undefined'} // 0
710 0 0 $plot->{'mirror'} // 0
745 0 0 $plot->{'cmap'} // "gist_rainbow"
746 0 0 $plot->{'cb_logscale'} // 0
747 0 0 $args->{'ax'} // ""
749 0 0 $plot->{'undef.color'} // "gray"
767 0 0 $plot->{'colorbar.on'} // 1
774 0 0 $plot->{'show.numbers'} // 0
831 0 0 $plot->{'cb_logscale'} // 0
832 0 0 $plot->{'marginals'} // 0
833 0 0 $plot->{'xbins'} // 15
834 0 0 $plot->{'ybins'} // 15
861 0 0 $plot->{'cmap'} // "gist_rainbow"
890 0 0 $args->{'ax'} // ""
904 0 0 $plot->{'colorbar.on'} // 1
960 0 0 $plot->{'alpha'} // "0.5"
1032 0 0 $plot->{'cb_logscale'} // 0
1033 0 0 $plot->{'show.colorbar'} // 1
1034 0 0 $plot->{'xbins'} // 15
1035 0 0 $plot->{'ybins'} // 15
1063 0 0 $plot->{'cmap'} // "gist_rainbow"
1111 0 0 $args->{'ax'} // ""
1157 0 0 $plot->{'colorbar.on'} // 1
1250 0 0 $args->{'ax'} // ""
1275 0 0 $plot->{'colorbar.on'} // 1
1321 0 0 $plot->{'autopct'} // ""
1336 0 0 $args->{'ax'} // ""
1367 0 0 $plot->{'show.legend'} // 1
1624 0 0 $plot->{'cmap'} // "gist_rainbow"
1750 0 0 $plot->{'orientation'} // "vertical"
1754 0 0 $args->{'whiskers'} // 1
1761 0 0 $args->{'ax'} // ""
1762 0 0 $plot->{'medians'} // 1
1763 0 0 $plot->{'whiskers'} // 1
1764 0 0 $plot->{'edgecolor'} // "black"
1895 0 0 $plot->{'show.legend'} // 1
1906 0 0 $args->{'ax'} // ""
1910 0 0 $plot->{'color'}{$group} // "b"
1941 0 0 $plot->{'color'} // "b"
2087 0 0 $args->{'nrows'} // 1
2088 0 0 $args->{'ncols'} // 1
2175 0 0 $args->{'sharex'} // 0
2176 0 0 $args->{'sharey'} // 0
2369 0 0 $args->{'execute'} // 1

or 3 conditions

line l !l&&r !l&&!r condition
460 0 0 0 $plot->{'log'} or $plot->{'logscale'}
743 0 0 0 $args->{'cb_min'} // $min
744 0 0 0 $args->{'cb_max'} // $max
837 0 0 0 $plot->{'xbins'} == 0 or $plot->{'ybins'} == 0
859 0 0 0 $plot->{'xlabel'} // $keys[0]
860 0 0 0 $plot->{'ylabel'} // $keys[1]
1036 0 0 0 $plot->{'xbins'} == 0 or $plot->{'ybins'} == 0
1061 0 0 0 $plot->{'xlabel'} // $keys[0]
1062 0 0 0 $plot->{'ylabel'} // $keys[1]
1105 0 0 0 $plot->{'xmin'} // &min(@{$plot->{'data'}{$keys[0]};})
1106 0 0 0 $plot->{'xmax'} // &max(@{$plot->{'data'}{$keys[0]};})
1109 0 0 0 $plot->{'ymin'} // &min(@{$plot->{'data'}{$keys[1]};})
1110 0 0 0 $plot->{'ymax'} // &max(@{$plot->{'data'}{$keys[1]};})
1251 0 0 0 $plot->{'vmax'} // $max_val
1252 0 0 0 $plot->{'vmin'} // $min_val
1663 0 0 0 $plot->{'xlabel'} // $keys[0]
1664 0 0 0 $plot->{'ylabel'} // $keys[1]
1717 0 0 0 $plot->{'xlabel'} // $keys[0]
1718 0 0 0 $plot->{'ylabel'} // $keys[1]
2039 0 0 0 defined $args->{'plot.type'} or defined $args->{'plots'}
2211 0 0 0 $graph->{'plot.type'} // $args->{'plot.type'}