Branch Coverage

blib/lib/Chart/Kaleido/Plotly.pm
Criterion Covered Total %
branch 7 12 58.3


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