Branch Coverage

blib/lib/Getopt/Config/FromPod.pm
Criterion Covered Total %
branch 20 26 76.9


line true false branch
30 16 276 if ($element_name eq 'Document')
33 49 243 if ($element_name eq 'for' || $element_name eq 'begin' and $attr->{'target'} eq $parser->{'_TAG'})
41 49 243 if ($element_name eq 'for' or $element_name eq 'end' and $attr->{'target'} eq $parser->{'_TAG'})
49 49 133 if $parser->{'_IN_TARGET'}
70 8 8 unless (defined $file)
74 8 14 if ($caller[0] eq $args{'-package'})
79 0 8 unless defined $file
81 0 8 unless (-f $file)
83 0 0 if (-f "$inc/$file")
90 0 16 if ref $file eq '' and not -f $file
100 24 6 if ref $ref->[0]
101 0 6 unless eval { do { $ref->[0]->isa('Getopt::Config::FromPod') } }
109 1 5 exists $args{'-separator'} ? :