Condition Coverage

blib/lib/Pod/Usage.pm
Criterion Covered Total %
condition 35 71 49.3


and 3 conditions

line !l l&&!r l&&r condition
107 0 0 1 -e $_ and $opts{'-input'} = $_
113 0 6 3 $opts{'-verbose'} >= 2 and $opts{'-verbose'} != 99
137 20 0 0 $Pod::Usage::Config{'versiononly'} and $Pod::Usage::Config{'startperl'} =~ /\Q$version\E$/
143 0 17 3 not $opts{'-noperldoc'} and $opts{'-verbose'} >= 2
17 0 3 not $opts{'-noperldoc'} and $opts{'-verbose'} >= 2 and not ref $opts{'-input'}
17 1 2 not $opts{'-noperldoc'} and $opts{'-verbose'} >= 2 and not ref $opts{'-input'} and $opts{'-output'} == \*STDOUT
150 0 0 2 defined $opts{'-input'} and $opts{'-input'} =~ /^\s*(\S.*?)\s*$/
166 0 0 0 defined $pager and length $pager
229 52 0 38 defined $regexs[$i] and length $regexs[$i]
267 20 0 0 $add and $self->{'USAGE_SELECT'}
298 506 29 0 $element =~ /^head(\d+)$/ and $1
312 0 0 104 $self->{'USAGE_SELECT'} && @{$self->{'USAGE_SELECT'};}
343 141 197 272 $self->{'USAGE_SKIPPING'} and not $element =~ /^over-|^[BCFILSZ]$/
373 0 0 0 $self->{'USAGE_OPTIONS'}{'-verbose'} < 2 and /^=head/

or 2 conditions

line l !l condition
26 0 22 $Pod::Usage::Formatter ||= "Pod::Text"

or 3 conditions

line l !l&&r !l&&!r condition
78 15 3 2 defined $opts{'-exitval'} || defined $opts{'-verbose'}
87 0 1 1 lc $opts{'-exitval'} eq 'noexit' || $opts{'-exitval'} < 2
93 1 13 5 lc $opts{'-exitval'} eq 'noexit' || $opts{'-exitval'} < 2
98 0 19 1 ref $opts{'-input'} or -e $opts{'-input'}
100 0 0 1 $^O eq 'MacOS' || $^O eq 'VMS'
102 0 0 0 $opts{'-pathlist'} || $ENV{'PATH'} || $ENV{'PERL5LIB'}
134 20 0 0 $Pod::Usage::Config{'scriptdirexp'} || $Pod::Usage::Config{'scriptdir'}
165 0 0 0 $ENV{'PAGER'} || $Pod::Usage::Config{'pager'}
193 0 20 0 ref $this || $this