Branch Coverage

blib/lib/StateML/Object.pm
Criterion Covered Total %
branch 17 32 53.1


line true false branch
67 1 9 if @_
68 6 4 unless $$self{'CLASS_IDS'}
86 1 31 if @_
87 1 31 unless defined wantarray
88 1 30 unless defined $$self{'ID'}
89 0 31 unless length $$self{'ID'}
110 0 0 if @_
111 0 0 defined $$self{'NAME'} ? :
130 6 0 if /^[^a-zA-Z_]/
148 13 9 if @_
176 0 0 if (@_ == 3)
177 0 0 if (defined $value) { }
184 0 0 if exists $$a{$key} and defined $$a{$key}
188 0 0 if defined $attr
217 0 3 unless $base_class
222 3 6 unless (defined $namespace_uri)