Branch Coverage

blib/lib/Class/Tiny.pm
Criterion Covered Total %
branch 43 54 79.6


line true false branch
21 16 0 if @_
26 9 7 unless @{"${pkg}::ISA";}
32 4 26 ref $_ eq 'HASH' ? :
33 0 34 unless defined $_ and not ref $_ and /^[^\W\d]\w*$/s
39 0 16 if $@
47 4 29 if (defined $outer_default and ref $outer_default eq 'CODE') { }
4 25 elsif (defined $outer_default) { }
56 38 1 if (@_ == 1) { }
53 3 if (@_ == 1) { }
21 8 if (@_ == 1) { }
10 1 unless (exists $_[0]{'wibble'})
3 1 if (@_ == 1) { }
4 0 unless (exists $_[0]{'wobble'})
0 0 if (@_ == 1) { }
0 0 if (@_ == 1) { }
57 0 33 if $@
63 4 9 unless $CLASS_ATTRIBUTES{$_}
72 2 14 unless $CLASS_ATTRIBUTES{$p}
105 10 34 if (@_ == 1 and ref $_[0]) { }
33 1 elsif (@_ % 2 == 0) { }
107 1 9 if $@
120 80 17 unless my $builder = $BUILD_CACHE{$s}
127 4 71 unless $CAN_CACHE{$class}{$k} ||= $self->can($k)
130 4 36 if @bad
141 42 0 defined ${^GLOBAL_PHASE} ? :
146 80 18 unless my $demolisher = $DEMOLISH_CACHE{$s}
153 0 18 if $e