Branch Coverage

blib/lib/Pod/CopyrightYears.pm
Criterion Covered Total %
branch 16 20 80.0


line true false branch
30 1 12 unless (defined $self->{'pod_file'})
41 0 4 unless (defined $year)
58 4 3 if (defined $pod_node)
72 6 2 if ($pod =~ /=cut\s+$/ms) { }
85 8 0 if (defined $pod_node->children)
87 4 6 if ($child->type eq ':text') { }
102 1 3 if ($text =~ /^(.*)(\d{4})-(\d{4})(.*)$/ms) { }
1 2 elsif ($text =~ /^(.*)(\d{4})(.*)$/ms) { }
107 1 0 if ($last_year != $year)
115 1 0 if ($first_year != $year)