Condition Coverage

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


and 3 conditions

line !l l&&!r l&&r condition
352 0 0 0 $ref ne "ARRAY" and $ref ne ""
372 0 0 0 defined $args->{'args'}{'plot.type'} and $args->{'args'}{'plot.type'} eq "pie"
447 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
465 0 0 0 $c eq "color" and $plot_type eq "grouped"
518 0 0 0 defined $plot->{'color'} and ref $plot->{'color'} eq "HASH"
888 0 0 0 $plot->{$opt} ne "log" and $plot->{$opt} ne "linear"
895 0 0 0 defined $plot->{'marginals'} and $plot->{'marginals'} > 0
917 0 0 0 $plot->{'colorbar.on'} and defined $plot->{'shared.colorbar'}
1184 0 0 0 $plot->{'colorbar.on'} and defined $plot->{'shared.colorbar'}
1237 0 0 0 $non_numeric_data and not defined $plot->{'stringmap'}
1302 0 0 0 $plot->{'colorbar.on'} and defined $plot->{'shared.colorbar'}
1307 0 0 0 $non_numeric_data and $plot->{'colorbar.on'}
1474 0 0 0 defined $plot->{'set.options'} and ref $plot->{'set.options'} eq ""
1506 0 0 0 defined $plot->{'set.options'} and ref $plot->{'set.options'} eq "HASH"
1570 0 0 0 defined $plot->{'set.options'} and ref $plot->{'set.options'} eq ""
1663 0 0 0 $n_keys != 2 and $n_keys != 3
1675 0 0 0 defined $plot->{'set.options'} and ref $plot->{'set.options'} eq ""
1714 0 0 0 $n_keys != 2 and $n_keys != 3
1725 0 0 0 not defined $color_key and $n_keys == 3
2003 0 0 0 $str =~ /,/ and not $str =~ /[\]\[]/
2093 0 0 0 defined $args->{'plot.type'} and defined $args->{'data'}
2096 0 0 0 $single_plot == 1 and not defined $args->{'plot.type'}
2101 0 0 0 $single_plot == 0 and not defined $args->{'plots'}
2105 0 0 0 $single_plot == 0 and ref $args->{'plots'} ne "ARRAY"
2109 0 0 0 $single_plot == 0 and scalar @{$args->{'plots'};} == 0
2119 0 0 0 $single_plot == 0 and $args->{'nrows'} * $args->{'ncols'} < scalar @{$args->{'plots'};}
2147 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
2172 0 0 0 defined $args->{'shared.colorbar'} and $single_plot == 1
2282 0 0 0 defined $args->{'shared.colorbar'} and grep {$_ == $ax;} @{$$args{"shared.colorbar"};}
2428 0 0 0 defined $args->{'plot.type'} and $args->{'plot.type'} ne $sub_name

or 2 conditions

line l !l condition
335 0 0 $args->{'ax'} // "ax"
370 0 0 $args->{'args'}{'legend'} // ""
406 0 0 $args->{'ax'} // ""
446 0 0 $plot->{'stacked'} // 0
534 0 0 $plot->{'width'} // "0.8"
535 0 0 $plot->{'stacked'} // 0
610 0 0 $plot->{'orientation'} // "vertical"
625 0 0 $args->{'ax'} // ""
627 0 0 $plot->{'notch'} // "False"
628 0 0 $plot->{'showcaps'} // "True"
629 0 0 $plot->{'showfliers'} // "True"
630 0 0 $plot->{'showmeans'} // "True"
718 0 0 $plot->{'default_undefined'} // 0
719 0 0 $plot->{'mirror'} // 0
754 0 0 $plot->{'cmap'} // "gist_rainbow"
755 0 0 $plot->{'cb_logscale'} // 0
756 0 0 $args->{'ax'} // ""
758 0 0 $plot->{'undef.color'} // "gray"
779 0 0 $plot->{'colorbar.on'} // 1
786 0 0 $plot->{'show.numbers'} // 0
843 0 0 $plot->{'cb_logscale'} // 0
844 0 0 $plot->{'marginals'} // 0
845 0 0 $plot->{'xbins'} // 15
846 0 0 $plot->{'ybins'} // 15
873 0 0 $plot->{'cmap'} // "gist_rainbow"
902 0 0 $args->{'ax'} // ""
916 0 0 $plot->{'colorbar.on'} // 1
972 0 0 $plot->{'alpha'} // "0.5"
1001 0 0 $plot->{'show.legend'} // 1
1003 0 0 $plot->{'show.legend'} // 0
1058 0 0 $plot->{'cb_logscale'} // 0
1059 0 0 $plot->{'show.colorbar'} // 1
1060 0 0 $plot->{'xbins'} // 15
1061 0 0 $plot->{'ybins'} // 15
1089 0 0 $plot->{'cmap'} // "gist_rainbow"
1137 0 0 $args->{'ax'} // ""
1183 0 0 $plot->{'colorbar.on'} // 1
1276 0 0 $args->{'ax'} // ""
1301 0 0 $plot->{'colorbar.on'} // 1
1347 0 0 $plot->{'autopct'} // ""
1362 0 0 $args->{'ax'} // ""
1393 0 0 $plot->{'show.legend'} // 1
1650 0 0 $plot->{'cmap'} // "gist_rainbow"
1776 0 0 $plot->{'orientation'} // "vertical"
1780 0 0 $args->{'whiskers'} // 1
1791 0 0 $args->{'ax'} // ""
1792 0 0 $plot->{'medians'} // 1
1793 0 0 $plot->{'whiskers'} // 1
1794 0 0 $plot->{'edgecolor'} // "black"
1921 0 0 $plot->{'show.legend'} // 1
1932 0 0 $args->{'ax'} // ""
1936 0 0 $plot->{'color'}{$group} // "b"
1967 0 0 $plot->{'color'} // "b"
2090 0 0 $args->{'nrows'} // 1
2091 0 0 $args->{'ncols'} // 1
2208 0 0 $args->{'sharex'} // 0
2209 0 0 $args->{'sharey'} // 0
2401 0 0 $args->{'execute'} // 1

or 3 conditions

line l !l&&r !l&&!r condition
461 0 0 0 $plot->{'log'} or $plot->{'logscale'}
752 0 0 0 $args->{'cb_min'} // $min
753 0 0 0 $args->{'cb_max'} // $max
849 0 0 0 $plot->{'xbins'} == 0 or $plot->{'ybins'} == 0
871 0 0 0 $plot->{'xlabel'} // $keys[0]
872 0 0 0 $plot->{'ylabel'} // $keys[1]
1062 0 0 0 $plot->{'xbins'} == 0 or $plot->{'ybins'} == 0
1087 0 0 0 $plot->{'xlabel'} // $keys[0]
1088 0 0 0 $plot->{'ylabel'} // $keys[1]
1131 0 0 0 $plot->{'xmin'} // &min(@{$plot->{'data'}{$keys[0]};})
1132 0 0 0 $plot->{'xmax'} // &max(@{$plot->{'data'}{$keys[0]};})
1135 0 0 0 $plot->{'ymin'} // &min(@{$plot->{'data'}{$keys[1]};})
1136 0 0 0 $plot->{'ymax'} // &max(@{$plot->{'data'}{$keys[1]};})
1277 0 0 0 $plot->{'vmax'} // $max_val
1278 0 0 0 $plot->{'vmin'} // $min_val
1689 0 0 0 $plot->{'xlabel'} // $keys[0]
1690 0 0 0 $plot->{'ylabel'} // $keys[1]
1743 0 0 0 $plot->{'xlabel'} // $keys[0]
1744 0 0 0 $plot->{'ylabel'} // $keys[1]
2067 0 0 0 defined $args->{'plot.type'} or defined $args->{'plots'}
2244 0 0 0 $graph->{'plot.type'} // $args->{'plot.type'}