Branch Coverage

blib/lib/Test/CPAN/Changes/ReallyStrict/Object.pm
Criterion Covered Total %
branch 42 70 60.0


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, '<:raw', $self->filename)
58 0 10 unless close $fh
76 0 10 unless $self->loads_ok
77 0 10 unless $self->has_releases
78 0 10 unless $self->valid_releases
79 4 6 unless $self->compare_lines
85 4 6 unless $exi
108 10 0 if (not $error and $success)
128 10 0 if (@releases)
146 2 242 if (not defined $release->date and defined $self->next_token)
150 242 0 if ($release->date =~ /\A$CPAN::Changes::W3CDTF_REGEX\s*\z/msx)
169 0 244 if (not defined $release->version and defined $self->next_token)
173 2 242 if (defined $self->next_token and $release->version =~ $self->next_token)
177 242 0 if ($release->version =~ /$version_re/msx)
206 0 244 unless $self->valid_release_date($release, $id)
207 0 244 unless $self->valid_release_version($release, $id)
211 0 244 unless $sub_exit
215 10 0 if $top_exit
229 0 0 unless (defined $source or defined $normalised)
233 0 2214 if (defined $source and not defined $normalised)
237 0 2214 if (not defined $source and defined $normalised)
241 2214 0 if ($] > 5.008)
243 0 2214 if ($ENV{'AUTHOR_TESTING'})
245 0 0 if ($utf8ness[0] != $utf8ness[1])
249 2214 0 if utf8::is_utf8($source)
250 2214 0 if utf8::is_utf8($normalised)
252 1638 576 if ($source eq $normalised)
256 4 572 unless ($failed_before)
287 576 1638 unless ($line_passed)
290 2 574 unless ($self->keep_comparing)
297 6 4 if $all_lines_passed