Branch Coverage

blib/lib/File/Rename/Options.pm
Criterion Covered Total %
branch 10 16 62.5


line true false branch
11 0 21 if ($IMPORTED++)
44 0 31 unless &Getopt::Long::GetOptions("-v|verbose", \my $verbose, "-0|null", \my $null, "-n|nono", \my $nono, "-f|force", \my $force, "-h|?|help", \my $help, "-m|man", \my $man, "-V|version", \my $version, "-d|filename", sub { undef $fullpath; } , "-path|fullpath!", \$fullpath, "-e=s", \@expression, "-E=s", sub { my(undef, $e) = @_; $e .= ';'; push @expression, $e; } , "-u|unicode:s", \my $unicode)
59 6 25 if $no_code
60 2 23 if $help or $man or $version
62 9 14 if (@expression) { }
66 0 14 unless @ARGV
75 23 0 unless $encoding
76 0 0 unless $encoding =~ /[^\s\w.-]/u