Branch Coverage

blib/lib/Time/FFI/tm.pm
Criterion Covered Total %
branch 17 28 60.7


line true false branch
33 2 2 if ($obj->isa('Time::Piece')) { }
0 2 elsif ($obj->isa('Time::Moment')) { }
0 2 elsif ($obj->isa('DateTime')) { }
2 0 elsif ($obj->isa('Time::FFI::tm') or $obj->isa('Time::tm')) { }
80 3 2 if ($class->isa('Time::Piece')) { }
0 2 elsif ($class->isa('Time::Moment')) { }
0 2 elsif ($class->isa('DateTime')) { }
2 0 elsif ($class->isa('Time::FFI::tm') or $class->isa('Time::tm')) { }
82 2 1 $islocal ? :
93 0 0 $islocal ? :
96 0 0 $islocal ? :
122 1 1 unless ($islocal)
133 7 6 if ($islocal) { }
141 6 0 if $year >= 0