Branch Coverage

blib/lib/Mock/Data/Plugin/Text.pm
Criterion Covered Total %
branch 17 26 65.3


line true false branch
31 3 0 @_ && ref $_[0] eq 'HASH' ? :
35 3 0 $opts ? :
36 3 0 $opts ? :
38 0 3 ref $source eq 'ARRAY' ? :
41 2 1 if (defined $len) { }
51 1 2 if defined $max_len and length $buf > $max_len
65 1 2 @_ && ref $_[0] eq 'HASH' ? :
66 2 1 if (@_)
67 1 1 ref $_[0] eq 'ARRAY' ? :
85 0 0 ref $_[0] eq 'HASH' ? :
1 0 !ref($_[0]) ? :
0 1 @_ > 1 ? :
86 0 1 unless defined $len