Condition Coverage

blib/lib/Time/PT.pm
Criterion Covered Total %
condition 7 213 3.2


and 3 conditions

line !l l&&!r l&&r condition
638 0 0 0 ref $rarg and $rarg->isa('Time::PT')
673 0 0 0 ref $rarg and $rarg->isa('Time::Frame')
701 0 0 0 ref $rarg and $rarg->isa('Time::PT')
704 0 0 0 ref $rarg and $rarg->isa('Time::Frame')
752 0 0 0 defined $$self{'_month'} and $$self{'_month'}
795 0 0 0 0 < length $numb and length $numb <= 7
0 0 0 7 < length $numb and length $numb <= 12
819 0 0 0 $i < @prtb and $i == @prta || b10($prta[$i]) < b10($prtb[$i])
0 0 0 $i < @prta and $i == @prtb || b10($prta[$i]) > b10($prtb[$i])
834 0 0 0 not @parm and -p STDIN
837 0 0 0 defined $tout and $tout =~ s/^-+//
844 0 0 0 length $tout and -r $tout
0 0 0 length $dayv and -r $dayv
858 0 0 0 defined $tout and defined $dayv
0 0 0 defined $tout and defined $dayv and exists $dmap{lc $tout}
0 0 0 defined $tout and defined $dayv and exists $dmap{lc $tout} and exists $mmap{lc $dayv} || $dayv =~ /^\d\d?$/
867 0 0 0 defined $yerv and defined $horv
0 0 0 defined $yerv and defined $horv and $yerv =~ /^\d+:\d+(:\d+)?(:\d+)?$/
870 0 0 0 defined $dayv and defined $yerv
0 0 0 defined $dayv and defined $yerv and $dayv =~ /^c(mp)?$/i || $yerv =~ /^c(mp)?$/i
875 0 0 0 defined $dayv and defined $yerv
0 0 0 defined $dayv and defined $yerv and $dayv =~ /^[+-]$/
878 0 0 0 defined $minv and $horv =~ /^[+-]$/
907 0 0 0 defined $tout and $tout =~ /^(\w+)([+-].+)$/
958 0 0 0 defined $dayv and $dayv =~ /^(-e|d)$/
964 0 0 0 defined $dayv and $dayv eq '-e'
0 0 0 defined $dayv and length $dayv
0 0 0 defined $dayv and length $dayv and length $tout
0 0 0 defined $dayv and length $dayv and length $tout and defined $yerv
0 0 0 defined $dayv and length $dayv and length $tout and defined $yerv and $yerv eq 'c'
1125 2 5 0 defined $ityp and $ityp =~ /::/
1145 2 0 5 defined $ityp and not $ityp =~ /::/
1150 2 2 0 $ityp =~ /^s/i and length $idat <= 9

or 2 conditions

line l !l condition
794 0 0 shift() || (return 0)
815 0 0 shift() || (return 'ne')
0 0 shift() || (return 'ne')
1032 0 0 shift() || 0
1067 0 0 shift() || ' '
1068 0 0 shift() || 'ANSI'

or 3 conditions

line l !l&&r !l&&!r condition
620 0 0 0 $i < 4 or $i == $#fdat
639 0 0 0 $larg->C < $rarg->C or $larg->Y < $rarg->Y
0 0 0 $larg->C < $rarg->C or $larg->Y < $rarg->Y or $larg->O < $rarg->O
0 0 0 $larg->C < $rarg->C or $larg->Y < $rarg->Y or $larg->O < $rarg->O or $larg->D < $rarg->D
0 0 0 $larg->C < $rarg->C or $larg->Y < $rarg->Y or $larg->O < $rarg->O or $larg->D < $rarg->D or $larg->h < $rarg->h
0 0 0 $larg->C < $rarg->C or $larg->Y < $rarg->Y or $larg->O < $rarg->O or $larg->D < $rarg->D or $larg->h < $rarg->h or $larg->i < $rarg->i
0 0 0 $larg->C < $rarg->C or $larg->Y < $rarg->Y or $larg->O < $rarg->O or $larg->D < $rarg->D or $larg->h < $rarg->h or $larg->i < $rarg->i or $larg->s < $rarg->s
0 0 0 $larg->C < $rarg->C or $larg->Y < $rarg->Y or $larg->O < $rarg->O or $larg->D < $rarg->D or $larg->h < $rarg->h or $larg->i < $rarg->i or $larg->s < $rarg->s or $larg->f < $rarg->f
0 0 0 $larg->C < $rarg->C or $larg->Y < $rarg->Y or $larg->O < $rarg->O or $larg->D < $rarg->D or $larg->h < $rarg->h or $larg->i < $rarg->i or $larg->s < $rarg->s or $larg->f < $rarg->f or $larg->j < $rarg->j
0 0 0 $larg->C > $rarg->C or $larg->Y > $rarg->Y
0 0 0 $larg->C > $rarg->C or $larg->Y > $rarg->Y or $larg->O > $rarg->O
0 0 0 $larg->C > $rarg->C or $larg->Y > $rarg->Y or $larg->O > $rarg->O or $larg->D > $rarg->D
0 0 0 $larg->C > $rarg->C or $larg->Y > $rarg->Y or $larg->O > $rarg->O or $larg->D > $rarg->D or $larg->h > $rarg->h
0 0 0 $larg->C > $rarg->C or $larg->Y > $rarg->Y or $larg->O > $rarg->O or $larg->D > $rarg->D or $larg->h > $rarg->h or $larg->i > $rarg->i
0 0 0 $larg->C > $rarg->C or $larg->Y > $rarg->Y or $larg->O > $rarg->O or $larg->D > $rarg->D or $larg->h > $rarg->h or $larg->i > $rarg->i or $larg->s > $rarg->s
0 0 0 $larg->C > $rarg->C or $larg->Y > $rarg->Y or $larg->O > $rarg->O or $larg->D > $rarg->D or $larg->h > $rarg->h or $larg->i > $rarg->i or $larg->s > $rarg->s or $larg->f > $rarg->f
0 0 0 $larg->C > $rarg->C or $larg->Y > $rarg->Y or $larg->O > $rarg->O or $larg->D > $rarg->D or $larg->h > $rarg->h or $larg->i > $rarg->i or $larg->s > $rarg->s or $larg->f > $rarg->f or $larg->j > $rarg->j
727 0 0 0 $$self{'_jink'} >= $$self{'__jpf'} or 0 > $$self{'_jink'}
732 0 0 0 $$self{'_frame'} >= $$self{'__fps'} or 0 > $$self{'_frame'}
737 0 0 0 $$self{'_second'} >= 60 or 0 > $$self{'_second'}
742 0 0 0 $$self{'_minute'} >= 60 or 0 > $$self{'_minute'}
747 0 0 0 $$self{'_hour'} >= 24 or 0 > $$self{'_hour'}
754 0 0 0 $$self{'_day'} > days_in($self->Y, $self->M) or 0 > $$self{'_day'}
773 0 0 0 $$self{'_month'} > 12 or 0 >= $$self{'_month'}
819 0 0 0 $i == @prta || b10($prta[$i]) < b10($prtb[$i])
0 0 0 $i == @prtb || b10($prta[$i]) > b10($prtb[$i])
858 0 0 0 exists $mmap{lc $dayv} || $dayv =~ /^\d\d?$/
870 0 0 0 $dayv =~ /^c(mp)?$/i || $yerv =~ /^c(mp)?$/i
926 0 0 0 $stim[3] != 29 or $stim[4] != 1
0 0 0 $stim[3] != 29 or $stim[4] != 1 or $stim[5] % 4 != 0
944 0 0 0 $stim[4] != 2 or $stim[5] % 4 != 0
964 0 0 0 $tout eq '-e' or defined $dayv and $dayv eq '-e'
966 0 0 0 $tout eq 'pt' or $tout eq '-e'
1125 0 7 0 $nobj || $nvkr