Branch Coverage

blib/lib/Chart/ECharts.pm
Criterion Covered Total %
branch 0 48 0.0


line true false branch
185 0 0 if (@{$self->dataset;})
186 0 0 if (scalar @{$self->dataset;} == 1) { }
204 0 0 if ($self->{'vertical'})
227 0 0 unless $chart_id =~ /^[a-zA-Z0-9_-]*$/
228 0 0 unless $charts_object =~ /^[a-zA-Z0-9_-]*$/
229 0 0 unless $theme =~ /^[a-zA-Z0-9_-]*$/
230 0 0 unless $container =~ /^[a-zA-Z0-9_-]*$/
231 0 0 unless $locale =~ /^[a-zA-Z_-]*$/
232 0 0 unless $renderer =~ /^(svg|canvas)$/
233 0 0 unless $init_event =~ /^[a-zA-Z\_\-\:]*$/
234 0 0 unless $init_method =~ /^(event|iife)$/
273 0 0 if ($self->{'responsive'})
279 0 0 if ($self->{'init_method'} eq "iife")
311 0 0 if $wrap
324 0 0 if $self->{'width'}
325 0 0 if $self->{'height'}
360 0 0 unless ($format)
364 0 0 unless $suffix
370 0 0 if ($format ne "png" and $format ne "svg")
374 0 0 unless ($node_bin =~ /(node|node.exe)$/i)
378 0 0 unless (-e $node_bin or -x _)
382 0 0 if $node_path
386 0 0 if $width
387 0 0 if $height