Branch Coverage

blib/lib/Rose/HTML/Object/Error.pm
Criterion Covered Total %
branch 18 40 45.0


line true false branch
51 140 506 if @_
60 187 0 if (my $class = ref $invocant) { }
62 0 187 if (@_)
69 187 0 unless ($localizer)
71 187 0 if (my $parent = $invocant->parent) { }
73 187 0 if (my $localizer = $parent->localizer)
85 0 0 if (@_)
98 0 0 if (@_)
103 0 0 if (my $localizer = $class->_default_localizer)
116 187 0 if (my $class = ref $invocant) { }
118 0 187 if (@_)
125 187 0 unless ($locale)
127 187 0 if (my $parent = $invocant->parent) { }
129 187 0 if (my $locale = $parent->locale)
141 0 0 if (@_)
162 107 70 if (@_)
169 55 15 if defined $id
172 15 0 if $msg and $msg->is_custom
182 0 3 unless (defined $id)
186 0 0 if $msg and $msg->is_custom