Branch Coverage

blib/lib/Chart/Kaleido.pm
Criterion Covered Total %
branch 14 32 43.7


line true false branch
89 0 5 unless ($self->disable_gpu)
96 5 15 if (defined $val) { }
101 0 5 if (ref($val) =~ /^(JSON::.*::Boolean|boolean)$/ and $val) { }
120 1 2 unless ($self->_h and $self->_h->pumpable)
133 1 0 if (exists $resp->{'code'} and $resp->{'code'} == 0) { }
145 0 0 if ($self->_h)
147 0 0 if ($@)
168 0 0 if ($class->_check_alien($force_check)) { }
173 0 0 if (not $version or $force_check)
187 4 15 unless @lines
192 11 4 if $@
205 1 0 if (not defined $has_alien or $force_check)
208 1 0 if (not $@ and "Alien::Plotly::Kaleido"->install_type eq "share")
224 1 0 if (not defined $available or $force_check)
226 0 0 unless ($class->_check_alien($force_check) or which("kaleido"))
243 0 0 if ($kaleido)