Condition Coverage

blib/lib/Pod/Usage.pm
Criterion Covered Total %
condition 38 71 53.5


and 3 conditions

line !l l&&!r l&&r condition
107 0 0 1 -e $_ and $opts{'-input'} = $_
113 0 11 4 $opts{'-verbose'} >= 2 and $opts{'-verbose'} != 99
137 26 0 0 $Pod::Usage::Config{'versiononly'} and $Pod::Usage::Config{'startperl'} =~ /\Q$version\E$/
143 3 19 4 not $opts{'-noperldoc'} and $opts{'-verbose'} >= 2
22 1 3 not $opts{'-noperldoc'} and $opts{'-verbose'} >= 2 and not ref $opts{'-input'}
20 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 61 0 53 defined $regexs[$i] and length $regexs[$i]
267 26 0 0 $add and $self->{'USAGE_SELECT'}
298 569 52 0 $element =~ /^head(\d+)$/ and $1
312 0 0 143 $self->{'USAGE_SELECT'} && @{$self->{'USAGE_SELECT'};}
343 181 201 330 $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 28 $Pod::Usage::Formatter ||= "Pod::Text"

or 3 conditions

line l !l&&r !l&&!r condition
78 21 3 2 defined $opts{'-exitval'} || defined $opts{'-verbose'}
87 0 1 1 lc $opts{'-exitval'} eq 'noexit' || $opts{'-exitval'} < 2
93 1 18 6 lc $opts{'-exitval'} eq 'noexit' || $opts{'-exitval'} < 2
98 1 24 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 26 0 0 $Pod::Usage::Config{'scriptdirexp'} || $Pod::Usage::Config{'scriptdir'}
165 0 0 0 $ENV{'PAGER'} || $Pod::Usage::Config{'pager'}
193 0 26 0 ref $this || $this