Branch Coverage

blib/lib/OTRS/OPM/Maker/Command/changes.pm
Criterion Covered Total %
branch 7 16 43.7


line true false branch
41 0 1 unless ($opt->{'dir'})
45 0 1 unless ($opt->{'dir'})
50 1 0 if (not $opt->{'file'})
52 0 1 if (-d $opt->{'dir'} . '/doc')
74 0 1 if (-f $changes_file->stringify)
100 0 0 if ($version)
115 0 1 $lines ? :
117 0 1 unless my $fh = 'IO::File'->new($changes_file->stringify, 'w')