Condition Coverage

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


and 3 conditions

line !l l&&!r l&&r condition
353 0 0 0 $ref ne "ARRAY" and $ref ne ""
373 0 0 0 defined $args->{'args'}{'plot.type'} and $args->{'args'}{'plot.type'} eq "pie"
448 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
466 0 0 0 $c eq "color" and $plot_type eq "grouped"
520 0 0 0 defined $plot->{'color'} and ref $plot->{'color'} eq "HASH"
861 0 0 0 $plot->{$opt} ne "log" and $plot->{$opt} ne "linear"
868 0 0 0 defined $plot->{'marginals'} and $plot->{'marginals'} > 0
890 0 0 0 $plot->{'colorbar.on'} and defined $plot->{'shared.colorbar'}
945 0 0 0 defined $plot->{'log'} and $plot->{'log'} > 0
1139 0 0 0 $plot->{'colorbar.on'} and defined $plot->{'shared.colorbar'}
1192 0 0 0 $non_numeric_data and not defined $plot->{'stringmap'}
1257 0 0 0 $plot->{'colorbar.on'} and defined $plot->{'shared.colorbar'}
1262 0 0 0 $non_numeric_data and $plot->{'colorbar.on'}
1425 0 0 0 defined $plot->{'set.options'} and ref $plot->{'set.options'} eq ""
1457 0 0 0 defined $plot->{'set.options'} and ref $plot->{'set.options'} eq "HASH"
1523 0 0 0 defined $plot->{'set.options'} and ref $plot->{'set.options'} eq ""
1615 0 0 0 $n_keys != 2 and $n_keys != 3
1635 0 0 0 defined $plot->{'set.options'} and ref $plot->{'set.options'} eq ""
1673 0 0 0 $n_keys != 2 and $n_keys != 3
1677 0 0 0 not defined $color_key and $n_keys == 3
1949 0 0 0 $str =~ /,/ and not $str =~ /[\]\[]/
2033 0 0 0 defined $args->{'plot.type'} and defined $args->{'data'}
2036 0 0 0 $single_plot == 1 and not defined $args->{'plot.type'}
2041 0 0 0 $single_plot == 0 and not defined $args->{'plots'}
2045 0 0 0 $single_plot == 0 and ref $args->{'plots'} ne "ARRAY"
2049 0 0 0 $single_plot == 0 and scalar @{$args->{'plots'};} == 0
2061 0 0 0 $single_plot == 0 and $args->{'nrows'} * $args->{'ncols'} < scalar @{$args->{'plots'};}
2087 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
2109 0 0 0 defined $args->{'shared.colorbar'} and $single_plot == 1
2213 0 0 0 defined $args->{'shared.colorbar'} and grep {$_ == $ax;} @{$$args{"shared.colorbar"};}
2353 0 0 0 defined $args->{'plot.type'} and $args->{'plot.type'} ne $sub_name

or 2 conditions

line l !l condition
336 0 0 $args->{'ax'} // "ax"
371 0 0 $args->{'args'}{'legend'} // ""
407 0 0 $args->{'ax'} // ""
447 0 0 $plot->{'stacked'} // 0
536 0 0 $plot->{'width'} // "0.8"
537 0 0 $plot->{'stacked'} // 0
612 0 0 $plot->{'orientation'} // "vertical"
623 0 0 $args->{'ax'} // ""
625 0 0 $plot->{'notch'} // "False"
626 0 0 $plot->{'showcaps'} // "True"
627 0 0 $plot->{'showfliers'} // "True"
628 0 0 $plot->{'showmeans'} // "True"
705 0 0 $plot->{'default_undefined'} // 0
706 0 0 $plot->{'mirror'} // 0
741 0 0 $plot->{'cmap'} // "gist_rainbow"
742 0 0 $plot->{'cblogscale'} // 0
743 0 0 $args->{'ax'} // ""
745 0 0 $plot->{'undef.color'} // "gray"
754 0 0 $plot->{'colorbar.on'} // 1
761 0 0 $plot->{'show.numbers'} // 0
816 0 0 $plot->{'cb_logscale'} // 0
817 0 0 $plot->{'marginals'} // 0
818 0 0 $plot->{'xbins'} // 15
819 0 0 $plot->{'ybins'} // 15
846 0 0 $plot->{'cmap'} // "gist_rainbow"
875 0 0 $args->{'ax'} // ""
889 0 0 $plot->{'colorbar.on'} // 1
948 0 0 $plot->{'alpha'} // "0.5"
1013 0 0 $plot->{'cb_logscale'} // 0
1014 0 0 $plot->{'show.colorbar'} // 1
1015 0 0 $plot->{'xbins'} // 15
1016 0 0 $plot->{'ybins'} // 15
1048 0 0 $plot->{'cmap'} // "gist_rainbow"
1096 0 0 $args->{'ax'} // ""
1138 0 0 $plot->{'colorbar.on'} // 1
1231 0 0 $args->{'ax'} // ""
1256 0 0 $plot->{'colorbar.on'} // 1
1302 0 0 $plot->{'autopct'} // ""
1319 0 0 $args->{'ax'} // ""
1351 0 0 $plot->{'show.legend'} // 1
1605 0 0 $plot->{'cmap'} // "gist_rainbow"
1728 0 0 $plot->{'orientation'} // "vertical"
1732 0 0 $args->{'whiskers'} // 1
1739 0 0 $args->{'ax'} // ""
1740 0 0 $plot->{'medians'} // 1
1741 0 0 $plot->{'whiskers'} // 1
1742 0 0 $plot->{'edgecolor'} // "black"
1867 0 0 $plot->{'show.legend'} // 1
1878 0 0 $args->{'ax'} // ""
1882 0 0 $plot->{'color'}{$group} // "b"
1913 0 0 $plot->{'color'} // "b"
2059 0 0 $args->{'nrows'} // 1
2060 0 0 $args->{'ncols'} // 1
2139 0 0 $args->{'sharex'} // 0
2140 0 0 $args->{'sharey'} // 0
2327 0 0 $args->{'execute'} // 1

or 3 conditions

line l !l&&r !l&&!r condition
739 0 0 0 $args->{'cb_min'} // $min
740 0 0 0 $args->{'cb_max'} // $max
822 0 0 0 $plot->{'xbins'} == 0 or $plot->{'ybins'} == 0
844 0 0 0 $plot->{'xlabel'} // $keys[0]
845 0 0 0 $plot->{'ylabel'} // $keys[1]
1017 0 0 0 $plot->{'xbins'} == 0 or $plot->{'ybins'} == 0
1021 0 0 0 $plot->{'xbins'} == 0 or $plot->{'ybins'} == 0
1046 0 0 0 $plot->{'xlabel'} // $keys[0]
1047 0 0 0 $plot->{'ylabel'} // $keys[1]
1090 0 0 0 $plot->{'xmin'} // &min(@{$plot->{'data'}{$keys[0]};})
1091 0 0 0 $plot->{'xmax'} // &max(@{$plot->{'data'}{$keys[0]};})
1094 0 0 0 $plot->{'ymin'} // &min(@{$plot->{'data'}{$keys[1]};})
1095 0 0 0 $plot->{'ymax'} // &max(@{$plot->{'data'}{$keys[1]};})
1232 0 0 0 $plot->{'vmax'} // $max_val
1233 0 0 0 $plot->{'vmin'} // $min_val
1649 0 0 0 $plot->{'xlabel'} // $keys[0]
1650 0 0 0 $plot->{'ylabel'} // $keys[1]
1695 0 0 0 $plot->{'xlabel'} // $keys[0]
1696 0 0 0 $plot->{'ylabel'} // $keys[1]
2011 0 0 0 defined $args->{'plot.type'} or defined $args->{'plots'}
2175 0 0 0 $graph->{'plot.type'} // $args->{'plot.type'}