Branch Coverage

blib/lib/Class/Tiny.pm
Criterion Covered Total %
branch 38 50 76.0


line true false branch
22 16 1 if @_
27 9 8 unless @{"${pkg}::ISA";}
33 5 26 ref $_ eq 'HASH' ? :
35 0 35 unless defined $_ and not ref $_ and /^[^\W\d]\w*$/s
40 0 16 if $@
51 33 0 @_ == 1 ? :
47 3 @_ == 1 ? :
18 9 @_ == 1 ? :
7 3 @_ == 2 ? :
0 3 @_ == 1 && exists $_[0]{'wibble'} ? :
1 3 @_ == 2 ? :
0 0 @_ == 1 && exists $_[0]{'wobble'} ? :
0 0 @_ == 1 ? :
52 0 33 if $@
65 4 29 if ($has_default and $default_type eq 'CODE') { }
4 25 elsif ($has_default) { }
100 13 24 unless $CLASS_ATTRIBUTES{$_}
108 3 18 unless $CLASS_ATTRIBUTES{$p}
148 0 41 if ($HAS_BUILDARGS{$class}) { }
152 11 30 if (@_ == 1 and ref $_[0]) { }
29 1 elsif (@_ % 2 == 0) { }
154 1 10 if $@
169 10 29 if not delete $args->{'__no_BUILD__'} and @{$BUILD_CACHE{$class};}
182 39 0 defined ${^GLOBAL_PHASE} ? :
193 0 16 if $e