Branch Coverage

lib/Asterisk/LCR/Locale.pm
Criterion Covered Total %
branch 22 34 64.7


line true false branch
36 0 0 $prefix =~ /^\d*$/ ? :
0 119 if $num =~ s/^_$prefix/_$val/
37 7 3 $prefix =~ /^\d*$/ ? :
10 109 if $num =~ s/^$prefix/$$map{$prefix}/
58 0 0 $prefix =~ /^\d*$/ ? :
0 24 if $num =~ s/^_$prefix/_$val/
59 6 0 $prefix =~ /^\d*$/ ? :
6 18 if $num =~ s/^$prefix/$$map{$prefix}/
72 0 1 unless (my $id = $self->id)
77 0 1 unless ($self->path)
111 8 18 unless defined $local and defined $global
112 18 0 if $local =~ /^\d*$/
113 10 8 if $global =~ /^\d*$/
122 5 18 if $line =~ /^\s*\#/
125 0 18 unless defined $one and defined $two
150 2 0 unless $path =~ m[/.*\.txt$]
154 2 4 if -e "$_/$path"