Branch Coverage

blib/lib/Language/FormulaEngine/Error.pm
Criterion Covered Total %
branch 11 18 61.1


line true false branch
11 10 4 @_ ? :
30 1 11 if @_ == 1 and ref $_[0] eq "HASH"
32 8 3 if @_ & 1 and not ref $_[0]
42 0 1 if @_ and not ref $_[0] and $_[0]->isa("Language::FormulaEngine::Error")
45 0 1 if (ref $msg)
46 0 0 if ref($msg)->can("disarm")
47 0 0 if ref($msg)->can("message")
50 1 0 if (defined $msg) { }
54 1 1 if $msg =~ /$err_patterns{$_}/