Branch Coverage

blib/lib/Tie/Scalar/Decay.pm
Criterion Covered Total %
branch 6 8 75.0


line true false branch
22 0 2 unless $$self{'PERIOD'} =~ /^([0-9.]+)([smhd]?)$/
32 2 3 if time < $$self{'CREATION_TIME'} + $self->_get_period
35 1 4 if (ref $$self{'FUNCTION'} eq 'CODE') { }
52 1 0 if ($value =~ /^-?[0-9\.]+$/) { }