Condition Coverage

blib/lib/Matplotlib/Simple.pm
Criterion Covered Total %
condition 0 284 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"
0 0 0 $c eq "color" and $plot_type eq "grouped" and ref $plot->{$c} ne ""
518 0 0 0 defined $plot->{'color'} and ref $plot->{'color'} eq "HASH"
891 0 0 0 $plot->{$opt} ne "log" and $plot->{$opt} ne "linear"
898 0 0 0 defined $plot->{'marginals'} and $plot->{'marginals'} > 0
920 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 ""
1575 0 0 0 ref $plot->{'set.options'} eq "HASH" and defined $plot->{'set.options'}{$set}
1663 0 0 0 $n_keys != 2 and $n_keys != 3
1682 0 0 0 defined $plot->{'set.options'} and ref $plot->{'set.options'} eq ""
1730 0 0 0 $n_keys != 2 and $n_keys != 3
1747 0 0 0 not defined $color_key and $n_keys == 3
2027 0 0 0 $str =~ /,/ and not $str =~ /[\]\[]/
2117 0 0 0 defined $args->{'plot.type'} and defined $args->{'data'}
2120 0 0 0 $single_plot == 1 and not defined $args->{'plot.type'}
2125 0 0 0 $single_plot == 0 and not defined $args->{'plots'}
2129 0 0 0 $single_plot == 0 and ref $args->{'plots'} ne "ARRAY"
2133 0 0 0 $single_plot == 0 and scalar @{$args->{'plots'};} == 0
2143 0 0 0 $single_plot == 0 and $args->{'nrows'} * $args->{'ncols'} < scalar @{$args->{'plots'};}
2171 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
2193 0 0 0 defined $args->{'shared.colorbar'} and $single_plot == 1
2304 0 0 0 defined $args->{'shared.colorbar'} and grep {$_ == $ax;} @{$$args{"shared.colorbar"};}
2455 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
531 0 0 $plot->{'data'}{$k}[$i] // 0
535 0 0 $plot->{'width'} // "0.8"
536 0 0 $plot->{'stacked'} // 0
612 0 0 $plot->{'orientation'} // "vertical"
627 0 0 $args->{'ax'} // ""
629 0 0 $plot->{'notch'} // "False"
630 0 0 $plot->{'showcaps'} // "True"
631 0 0 $plot->{'showfliers'} // "True"
632 0 0 $plot->{'showmeans'} // "True"
720 0 0 $plot->{'default_undefined'} // 0
721 0 0 $plot->{'mirror'} // 0
755 0 0 $plot->{'cmap'} // "gist_rainbow"
756 0 0 $plot->{'cb_logscale'} // 0
757 0 0 $args->{'ax'} // ""
759 0 0 $plot->{'undef.color'} // "gray"
782 0 0 $plot->{'colorbar.on'} // 1
789 0 0 $plot->{'show.numbers'} // 0
846 0 0 $plot->{'cb_logscale'} // 0
847 0 0 $plot->{'marginals'} // 0
848 0 0 $plot->{'xbins'} // 15
849 0 0 $plot->{'ybins'} // 15
876 0 0 $plot->{'cmap'} // "gist_rainbow"
905 0 0 $args->{'ax'} // ""
919 0 0 $plot->{'colorbar.on'} // 1
975 0 0 $plot->{'alpha'} // "0.5"
1004 0 0 $plot->{'show.legend'} // 1
1006 0 0 $plot->{'show.legend'} // 0
1061 0 0 $plot->{'cb_logscale'} // 0
1062 0 0 $plot->{'show.colorbar'} // 1
1063 0 0 $plot->{'xbins'} // 15
1064 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"
1801 0 0 $plot->{'orientation'} // "vertical"
1815 0 0 $args->{'ax'} // ""
1816 0 0 $plot->{'medians'} // 1
1817 0 0 $plot->{'whiskers'} // 1
1818 0 0 $plot->{'edgecolor'} // "black"
1942 0 0 $plot->{'show.legend'} // 1
1953 0 0 $args->{'ax'} // ""
1957 0 0 $plot->{'color'}{$group} // "b"
1988 0 0 $plot->{'color'} // "b"
2114 0 0 $args->{'nrows'} // 1
2115 0 0 $args->{'ncols'} // 1
2229 0 0 $args->{'sharex'} // 0
2230 0 0 $args->{'sharey'} // 0
2428 0 0 $args->{'execute'} // 1

or 3 conditions

line l !l&&r !l&&!r condition
461 0 0 0 $plot->{'log'} or $plot->{'logscale'}
753 0 0 0 $plot->{'cb_min'} // $min
754 0 0 0 $plot->{'cb_max'} // $max
852 0 0 0 $plot->{'xbins'} == 0 or $plot->{'ybins'} == 0
874 0 0 0 $plot->{'xlabel'} // $keys[0]
875 0 0 0 $plot->{'ylabel'} // $keys[1]
1065 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
1705 0 0 0 $plot->{'xlabel'} // $keys[0]
1706 0 0 0 $plot->{'ylabel'} // $keys[1]
1768 0 0 0 $plot->{'xlabel'} // $keys[0]
1769 0 0 0 $plot->{'ylabel'} // $keys[1]
2091 0 0 0 defined $args->{'plot.type'} or defined $args->{'plots'}
2265 0 0 0 $graph->{'plot.type'} // $args->{'plot.type'}
2323 0 0 0 $graph->{'plot.type'} // $plot->{'plot.type'}