Branch Coverage

blib/lib/Class/Meta/AccessorBuilder/Affordance.pm
Criterion Covered Total %
branch 34 42 80.9


line true false branch
222 36 0 if $get
223 35 1 if $set
232 12 52 if $attr->required
235 6 58 if $attr->once
238 1 63 if ($attr->context == 1) { }
243 1 0 if ($create >= 2)
248 1 0 if ($create >= 3)
250 1 0 if (@checks) { }
268 63 0 if ($create >= 2)
273 62 1 if ($create >= 3)
275 59 3 if (@checks) { }
292 2 62 if ($attr->view == 2) { }
2 60 elsif ($attr->view == 1) { }
2 58 elsif ($attr->view == 3) { }
294 0 4 unless my $real_sub = $_
301 24 40 unless UNIVERSAL::isa($caller, $pkg)
309 0 4 unless my $real_sub = $_
316 36 20 unless $caller eq $pkg
324 0 4 unless my $real_sub = $_
331 20 52 if $caller eq $pkg
333 32 20 if UNIVERSAL::isa($caller, $pack)