Branch Coverage

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


line true false branch
34 33 0 @_ && ref $_[0] eq 'HASH' ? :
38 33 0 $opts ? :
39 33 0 $opts ? :
41 0 33 ref $source eq 'ARRAY' ? :
44 32 1 if (defined $len) { }
54 10 23 if defined $max_len and length $buf > $max_len
62 1 2 @_ && ref $_[0] eq 'HASH' ? :
63 2 1 if (@_)
64 1 1 ref $_[0] eq 'ARRAY' ? :
82 0 0 ref $_[0] eq 'HASH' ? :
1 0 !ref($_[0]) ? :
0 1 @_ > 1 ? :
83 0 1 unless defined $len