Branch Coverage

blib/lib/Test/MockTime.pm
Criterion Covered Total %
branch 13 16 81.2


line true false branch
27 0 3 if ($relative eq 'Test::MockTime' or UNIVERSAL::isa($relative, 'Test::MockTime'))
38 8 7 unless ($time =~ /\A -? \d+ \z/msx)
41 8 7 if ($spec)
50 0 4 if ($time eq 'Test::MockTime' or UNIVERSAL::isa($time, 'Test::MockTime'))
61 0 11 if ($time eq 'Test::MockTime' or UNIVERSAL::isa($time, 'Test::MockTime'))
71 19 17 if (defined $fixed) { }
81 12 18 unless (defined $time)
89 6 4 unless (defined $time)