Branch Coverage

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


line true false branch
29 0 3 if ($relative eq 'Test::MockTime' or UNIVERSAL::isa($relative, 'Test::MockTime'))
37 8 7 unless ($time =~ /\A -? \d+ \z/msx)
40 8 7 if ($spec)
49 0 4 if ($time eq 'Test::MockTime' or UNIVERSAL::isa($time, 'Test::MockTime'))
58 0 11 if ($time eq 'Test::MockTime' or UNIVERSAL::isa($time, 'Test::MockTime'))
66 19 17 if (defined $fixed) { }
75 12 18 unless (defined $time)
83 6 4 unless (defined $time)