Branch Coverage

blib/lib/Mock/Data/Util.pm
Criterion Covered Total %
branch 31 38 81.5


line true false branch
37 13 17 if index($tpl, '{') == -1
41 13 2 ref $cmp->{'_compiled'} ? :
2 15 !$cmp ? :
47 0 0 ref $spec eq 'Regexp' ? :
6 0 ref($spec)->can('generate') ? :
13 6 ref $spec eq 'CODE' ? :
0 19 ref $spec eq 'HASH' ? :
13 19 ref $spec eq 'ARRAY' ? :
40 32 !ref($spec) ? :
56 1 2 ref $_ eq 'ARRAY' ? :
11 3 !ref($_) ? :
67 0 13 unless @to_add
70 0 13 defined $Mock::Data::auto_subclasses{$class} ? :
74 2 24 if grep $_->isa($next_class), @new_isa
81 3 10 if (@new_isa == 1) { }
86 8 2 unless ($Mock::Data::auto_subclasses{$new_class})
92 1 12 ref $self ? :
124 75 23 unless $_escape_common{$1}
128 0 2 defined $_[0] ? :