Condition Coverage

blib/lib/Net/Telnet/Options.pm
Criterion Covered Total %
condition 26 82 31.7


and 3 conditions

line !l l&&!r l&&r condition
606 0 0 0 $commposs{ord $nextchar} and $$mod{'telnetopts'}{$commposs{ord $nextchar}}
0 0 0 $commposs{ord $nextchar} and $$mod{'telnetopts'}{$commposs{ord $nextchar}} and my $coderef = $$mod{'telnetopts'}{$commposs{ord $nextchar}}{'RAW'}
630 0 0 1 exists $$mod{'telnetopts'}{$optposs{$opt}} and $$mod{'telnetopts'}{$optposs{$opt}}{'DO'}
650 0 0 1 exists $$mod{'telnetopts'}{$optposs{$opt}} and $$mod{'telnetopts'}{$optposs{$opt}}{'WILL'}
670 0 0 0 exists $$mod{'telnetopts'}{$optposs{$opt}} and $$mod{'telnetopts'}{$optposs{$opt}}{'WONT'}
690 0 0 0 exists $$mod{'telnetopts'}{$optposs{$opt}} and $$mod{'telnetopts'}{$optposs{$opt}}{'DONT'}
774 0 0 0 $$mod{'telnetopts'}{$opt}{'STATUS_ME'} ne 'WILL' and $$mod{'telnetopts'}{$opt}{'STATUS_ME'} ne 'ASKING'
796 0 0 0 $$mod{'telnetopts'}{$opt}{'STATUS_YOU'} ne 'WILL' and $$mod{'telnetopts'}{$opt}{'STATUS_YOU'} ne 'ASKING'
808 1 0 0 $$mod{'telnetopts'}{$opt}{'STATUS_YOU'} eq 'WILL' and $subopt1 eq 'SEND'
0 0 1 $$mod{'telnetopts'}{$opt}{'STATUS_ME'} eq 'WILL' and $subopt1 eq 'IS'
0 0 0 $$mod{'telnetopts'}{$opt} and $$mod{'telnetopts'}{$opt}{'STATUS_YOU'} eq 'WILL' || $$mod{'telnetopts'}{$opt}{'STATUS_ME'} eq 'WILL'

or 2 conditions

line l !l condition
753 1 1 $subopt1 ||= ''
754 1 1 $subopt2 ||= ''

or 3 conditions

line l !l&&r !l&&!r condition
355 0 4 0 ref $class || $class
386 3 1 0 defined $possoptions{uc $opt} or defined($opt = $optposs{$opt})
412 1 0 0 defined $possoptions{uc $opt} or defined($opt = $optposs{$opt})
431 0 0 0 defined $possoptions{uc $opt} or defined($opt = $optposs{$opt})
450 1 0 0 defined $possoptions{uc $opt} or defined($opt = $optposs{$opt})
470 0 0 0 defined $possoptions{uc $opt} or defined($opt = $optposs{$opt})
486 0 1 0 defined $possoptions{uc $opt} or defined($opt = $optposs{$opt})
561 0 1 3 $nextchar eq $chDONT or $nextchar eq $chDO
1 0 3 $nextchar eq $chDONT or $nextchar eq $chDO or $nextchar eq $chWONT
1 1 2 $nextchar eq $chDONT or $nextchar eq $chDO or $nextchar eq $chWONT or $nextchar eq $chWILL
723 1 1 0 $$mod{'telnetopts'}{$optposs{ord $option}}{'STATUS_ME'} eq 'WILL' or $$mod{'telnetopts'}{$optposs{ord $option}}{'STATUS_YOU'} eq 'WILL'
757 1 1 0 defined $possoptions{uc $opt} or $opt = $optposs{$opt}
763 0 0 0 $$mod{'telnetopts'}{$opt}{'STATUS_ME'} eq 'ASKING' or $$mod{'telnetopts'}{$opt}{'STATUS_ME'} eq 'WILL'
785 0 0 1 $$mod{'telnetopts'}{$opt}{'STATUS_YOU'} eq 'WILL' or $$mod{'telnetopts'}{$opt}{'STATUS_YOU'} eq 'ASKING'
808 0 0 0 $$mod{'telnetopts'}{$opt}{'STATUS_YOU'} eq 'WILL' || $$mod{'telnetopts'}{$opt}{'STATUS_ME'} eq 'WILL'