Branch Coverage

blib/lib/Chart/Kaleido.pm
Criterion Covered Total %
branch 12 32 37.5


line true false branch
89 0 4 unless ($self->disable_gpu)
96 0 16 if (defined $val) { }
101 0 0 if (ref($val) =~ /^(JSON::.*::Boolean|boolean)$/ and $val) { }
120 1 1 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 10 unless @lines
192 7 3 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)