Branch Coverage

blib/lib/Class/Meta/AccessorBuilder.pm
Criterion Covered Total %
branch 36 48 75.0


line true false branch
218 8 35 if $attr->required
221 3 40 if $attr->once
224 1 42 if ($attr->context == 1) { }
229 0 1 if ($create == 2) { }
0 1 elsif ($create == 3) { }
1 0 elsif ($create == 4) { }
235 0 0 if (@checks) { }
255 1 0 if (@checks) { }
258 8 3 unless @_
269 0 0 unless @_
279 2 40 if ($create == 2) { }
0 40 elsif ($create == 3) { }
40 0 elsif ($create == 4) { }
285 0 0 if (@checks) { }
303 35 5 if (@checks) { }
306 145 139 unless @_
315 12 8 unless @_
326 1 42 if ($attr->view == 2) { }
1 41 elsif ($attr->view == 1) { }
1 40 elsif ($attr->view == 3) { }
335 13 36 unless UNIVERSAL::isa($caller, $pkg)
349 23 22 unless $caller eq $pkg
363 22 28 if $caller eq $pkg
365 20 8 if UNIVERSAL::isa($caller, $pack)