Condition Coverage

lib/Doxygen/Filter/Perl.pm
Criterion Covered Total %
condition 4 75 5.3


and 3 conditions

line !l l&&!r l&&r condition
216 7 0 0 $line =~ /^\s*sub\s+([\w]+)/ and $line =~ /^\s*sub\s+([\D][\w]*)/
243 0 0 0 $line =~ /^\s*sub\s+([\w]+)/ and $line =~ /^\s*sub\s+([\D][\w]*)/
330 0 0 0 $scope eq 'our' and $fullName =~ /^(\@ISA|\@EXPORT|\@EXPORT_OK|\$VERSION)$/
332 0 0 0 $fullName eq '@ISA' and defined $expr
394 0 0 0 $class eq 'main' and @{$classDef->{'attributeorder'};} == 0
0 0 0 $class eq 'main' and @{$classDef->{'attributeorder'};} == 0 and @{$classDef->{'subroutineorder'};} == 0
0 0 0 $class eq 'main' and @{$classDef->{'attributeorder'};} == 0 and @{$classDef->{'subroutineorder'};} == 0 and not defined $classDef->{'details'}
0 0 0 $class eq 'main' and @{$classDef->{'attributeorder'};} == 0 and @{$classDef->{'subroutineorder'};} == 0 and not defined $classDef->{'details'} and not defined $classDef->{'comments'}
494 0 0 1 defined $state and exists $hValidStates->{$state}
498 1 0 0 defined $self->{'_sState'} and $self->{'_sState'} eq $state
706 0 0 0 $line =~ /^\s*sub\s+([\w]+)/ and $line =~ /^\s*sub\s+([\D][\w]*)/
782 0 0 0 $self->{'_iOpenBrace'} > 0 and $self->{'_iOpenBrace'} == $self->{'_iCloseBrace'}
1009 0 0 0 $sSubState eq 'DOXYFUNCTION' and not grep(/^static$/, @aOptions)

or 2 conditions

line l !l condition
411 0 0 $attrDef->{'state'} || 'public'
631 0 0 $methodDef->{'parameters'} || ''
632 0 0 $methodDef->{'prototype'} || ''
717 0 0 $method || ''
720 0 0 $proto || ''
956 0 0 $self->{'_hData'}{'class'}{$sClassName}{'attributes'}{$sAttrName} ||= {}

or 3 conditions

line l !l&&r !l&&!r condition
70 0 1 0 ref $pkg || $pkg
414 0 0 0 defined $sComments or defined $sDetails
575 0 0 0 $2 || $sFullClass
630 0 0 0 $methodDef->{'returntype'} || $type
913 0 0 0 $sSubState eq 'DOXYFUNCTION' or $sSubState eq 'DOXYMETHOD'
924 0 0 0 $sOptions || $sClassName
1002 0 0 0 $aOptions[0] eq 'public' or $aOptions[0] eq 'private'
0 0 0 $aOptions[0] eq 'public' or $aOptions[0] eq 'private' or $aOptions[0] eq 'protected'