Branch Coverage

blib/lib/Enbld/Condition.pm
Criterion Covered Total %
branch 22 24 91.6


line true false branch
52 204 60 unless $self->{$key}
63 3 9 unless _is_equal($self->{'version'}, $condition->version)
64 2 7 unless _is_equal($self->{'make_test'}, $condition->make_test)
65 0 7 unless _is_equal($self->{'arguments'}, $condition->arguments)
66 0 7 unless _is_equal($self->{'annotation'}, $condition->annotation)
67 3 4 unless _is_equal_hash($self->{'modules'}, $condition->modules)
75 20 1 unless defined $val1 or defined $val2
76 10 4 if defined $val1 and defined $val2 and $val1 eq $val2
84 3 1 unless defined $val1 or defined $val2
86 3 1 if defined $val1
87 3 1 if defined $val2
89 1 2 if defined $val1 and defined $val2 and $str1 eq $str2