Branch Coverage

blib/lib/Time/FFI/tm.pm
Criterion Covered Total %
branch 15 34 44.1


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')) { }
95 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')) { }
96 2 1 $islocal ? :
97 2 1 $islocal ? :
101 0 0 if $islocal
110 0 0 $islocal ? :
113 0 0 if $islocal
114 0 0 $islocal ? :
134 0 0 $islocal ? :
153 0 0 $islocal ? :
184 6 0 if $year >= 0