Branch Coverage

blib/lib/Exception/Chain.pm
Criterion Covered Total %
branch 28 30 93.3


line true false branch
6 1 9 unless $_[0]->to_string
37 29 30 unless ($caller[0] =~ /^Exception::Chain/)
48 0 30 if (scalar @info == 0) { }
4 26 elsif (scalar @info == 1) { }
52 1 3 if ($class->_is_my_instance($info[0])) { }
79 2 27 if (defined $value and ref $value)
94 20 6 if (not defined $$builded_args{'error'}) { }
5 1 elsif ($class->_is_my_instance($$builded_args{'error'})) { }
143 28 1 if (%{$args;}) { }
144 10 18 if (my $tags = $$args{'tag'})
145 5 5 unless ref $tags
150 24 4 if (my $message = $$args{'message'})
153 5 23 if (my $delivery = $$args{'delivery'})
154 1 4 if ($self->delivery) { }
155 1 0 unless ($self->is_delivery_duplicated)