Branch Coverage

lib/Test/CPAN/Changes/ReallyStrict/Object.pm
Criterion Covered Total %
branch 38 60 63.3


line true false branch
24 7 0 unless defined $_[0]->next_style
25 0 0 if 'dzil' eq $_[0]->next_style
33 3 7 if defined $self->next_token
38 0 10 if ($self->delete_empty_groups)
49 0 10 unless (open $fh, '<', $self->filename)
58 0 10 unless close $fh
74 0 10 unless $self->loads_ok
75 0 10 unless $self->has_releases
76 0 10 unless $self->valid_releases
77 4 6 unless $self->compare_lines
83 4 6 unless $exi
106 10 0 if (not $error and $success)
126 10 0 if (@releases)
144 2 236 if (not defined $release->date and defined $self->next_token)
148 236 0 if ($release->date =~ /\A$CPAN::Changes::W3CDTF_REGEX\s*\z/msx)
167 0 238 if (not defined $release->version and defined $self->next_token)
171 2 236 if (defined $self->next_token and $release->version =~ $self->next_token)
175 236 0 if ($release->version =~ /$version_re/msx)
204 0 238 unless $self->valid_release_date($release, $id)
205 0 238 unless $self->valid_release_version($release, $id)
209 0 238 unless $sub_exit
213 10 0 if $top_exit
227 0 0 unless (defined $source or defined $normalised)
231 0 2150 if (defined $source and not defined $normalised)
235 0 2150 if (not defined $source and defined $normalised)
239 1574 576 if ($source eq $normalised)
243 4 572 unless ($failed_before)
274 576 1574 unless ($line_passed)
277 2 574 unless ($self->keep_comparing)
284 6 4 if $all_lines_passed