Branch Coverage

blib/lib/Data/Rx/CoreType/str.pm
Criterion Covered Total %
branch 16 20 80.0


line true false branch
13 0 18 unless 'Data::Rx::Util'->_x_subset_keys_y($arg, {'length', 1, 'value', 1})
17 2 16 if (exists $$arg{'value'})
19 0 2 if (not defined $val or ref $val)
23 0 0 defined $val ? :
32 1 17 if $$arg{'length'}
35 2 16 if defined $$arg{'value'}
43 6 229 unless (defined $value)
54 112 117 if (ref $value)
62 15 102 if ($$self{'length_check'} and not $$self{'length_check'}(length $value))
70 44 58 if (defined $$self{'value'} and $$self{'value'} ne $value)