Condition Coverage

blib/lib/Time/Piece.pm
Criterion Covered Total %
condition 39 54 72.2


and 3 conditions

line !l l&&!r l&&r condition
75 317 4 8 &blessed($_[1]) and $_[1]->isa('Time::Piece')
87 2 0 1 ref $class and $class->isa('Time::Piece')
604 1 0 4 ref $_[0] and $_[0]->isa('Time::Piece')
614 1 0 3 ref $_[0] and $_[0]->isa('Time::Piece')
624 1 0 4 ref $_[0] and $_[0]->isa('Time::Piece')
633 1 0 4 ref $_[0] and $_[0]->isa('Time::Piece')
658 0 0 5 &blessed($rhs) and $rhs->isa('Time::Piece')
683 201 1 1 &blessed($rhs) and $rhs->isa('Time::Piece')
704 3 0 19 &blessed($rhs) and $rhs->isa('Time::Piece')
728 2 2 2 $final_month < 0 and $final_month % 12 == 0
810 0 0 1 $locales->{'PM'} && $locales->{'AM'}

or 3 conditions

line l !l&&r !l&&!r condition
100 4 9 0 ref $class || $class
105 1 2 1 ref $proto || $proto
124 366 71 0 &blessed($class) || $class
461 1 2 3 $year % 4 == 0 && !($year % 100 == 0) || $year % 400 == 0
596 65 3 0 $LOCALE || &_default_locale()
725 2 4 28 $final_month > 11 or $final_month < 0
810 0 0 1 not $locales->{'PM'} && $locales->{'AM'} or $locales->{'PM'} eq $locales->{'AM'}