Branch Coverage

blib/lib/MooX/Emulate/Class/Accessor/Fast.pm
Criterion Covered Total %
branch 25 28 89.2


line true false branch
206 2 0 if @values == 1
213 6 23 unless (do { no strict 'refs'; defined &{"${class}::has";} })
216 0 6 unless $ok
222 26 3 unless ($class->can($private_reader))
235 0 7 unless @_
236 1 6 @_ > 1 ? :
246 8 21 if $type eq 'wo'
247 8 21 if $type eq 'ro'
251 10 19 if ($reader and $writer and $reader eq $writer) { }
256 4 4 unless @_
259 8 2 unless $stash->has_symbol('&' . $reader)
265 10 9 if $reader and not $stash->has_symbol('&' . $reader)
270 10 9 if $writer and not $stash->has_symbol('&' . $writer)
275 3 1 unless @_ and $type ne 'wo'