Branch Coverage

blib/lib/Chart/Kaleido/Plotly.pm
Criterion Covered Total %
branch 8 12 66.6


line true false branch
100 1 2 $arg->plot->$Chart::Kaleido::Plotly::_isa('Chart::Plotly::Plot') ? :
106 0 3 unless (grep {$_ eq $format;} @{$self->all_formats;})
121 0 3 if ($resp->{'code'} != 0)
125 1 2 grep({$_ eq $format;} @text_formats) ? :
146 2 0 unless ($format)
147 2 0 if ($file =~ /\.([^\.]+)$/)