Branch Coverage

blib/lib/Config/Model/Exception.pm
Criterion Covered Total %
branch 36 68 52.9


line true false branch
59 136 7 if defined $self->object
82 3 140 $trace ? :
106 9 4 defined $obj ? :
108 9 4 if $location
111 1 12 if $self->info
169 0 0 defined $obj ? :
173 0 0 if $location
174 0 0 if $obj->get_type eq "node"
197 0 2 if ($obj->isa('Config::Model::Node')) { }
208 2 0 if $location
229 7 2 defined $self->object ? :
233 0 0 defined $cmd ? :
8 0 $cmd ? :
1 8 ref $cmd ? :
238 7 2 if $location
270 0 2 if defined $function
271 2 0 if $unavail->can("warp_error")
273 2 0 if defined $self->info
306 0 0 if defined $self->info
326 0 2 unless ref $obj and $obj->isa('Config::Model::Node') || $obj->isa('Config::Model::WarpedNode')
334 2 0 if defined $class_name
339 0 2 if defined $self->where
342 2 0 if defined $self->function
345 0 2 unless $msg
356 2 0 if (@elements) { }
363 2 0 $obj->can('accept_regexp') ? :
364 0 2 if (@match_keys)
369 0 2 if (defined $obj->parent)
373 0 0 if ($parent->element_type($element_name) eq "warped_node")
382 2 0 if defined $self->info
420 1 0 if defined $self->function
423 0 1 if defined $self->where
460 1 0 if defined $self->function
465 0 1 ref $type ? :