Branch Coverage

blib/lib/Chart/Clicker.pm
Criterion Covered Total %
branch 10 26 38.4


line true false branch
234 0 2 if (defined $self->get_context($ctx->name))
244 0 0 unless (ref $graph and $graph->isa('Chart::Clicker'))
273 0 0 if ($ds->context eq $name)
285 0 10 if (ref $data eq 'ARRAY') { }
0 10 elsif (ref $data eq 'HASH') { }
287 0 0 if ref $self->_data->{$name} eq 'HASH'
288 0 0 unless defined $self->_data->{$name}
291 0 0 if (not defined $self->_data->{$name}) { }
0 0 elsif (ref $self->_data->{$name} eq 'ARRAY') { }
305 0 10 if ref $self->_data->{$name} eq 'HASH'
306 1 9 unless defined $self->_data->{$name}
515 1 2 unless defined $context
518 1 2 unless defined $ctx